Rails
Welcome to our official Rails feedback forum. Do you have an idea? Do you recognize a good idea when you see one? We want to hear from you! (check the other available forums)
-
improve performance
Rails should be faster and leaner, Rails must have a central page on the rubyonrails.org website dedciated to deployement, scalability and maintenance of rails applications, Rails should have tools to benchmark code and see what sections of the application should be improved to reduce request processing.
1,256 votes -
Api for creating admin interface easily (like django)
I hate creating dozens of CRUDS for admin areas for some of applications. In many applications it can be done in the frontend, but there are situations when you just can't do that.
873 votes -
657 votes
We are planing on making each app mountable in Rails 3.0 What that means is that slices/engines can be upgraded to normal standalone apps and just be mounted in the router.
-
have a public and plugin API
The public and plugin API should be defined and tested.
546 votes -
have an open source book available in multiple languages
It would be great to have a copyleft Rails 3.0 book explaining the various concepts of the framework. Instead of waiting that the book is finished to start the translation work, it could be done in parallel by the community.
521 votes -
extract validation from ActiveRecord
Sometimes I have forms with no obvious AR counter-part that I'd like to validate using AR's excellent validation module. It can be done but not without some hacking. It would be nice to be able to mix in validation support to any class.
464 votes -
have less overly clever code in the core
overused of metaprogramming and overly clever code in general in Rails is annoying: it is very hard to read
418 votes -
371 votes
-
Stop using plugins and just write gems
Plugins are really no different than gems. Why have both systems?
347 votes -
Support :dependent => :restrict and :dependent => :nullify
I would love the :dependent option of AR associations to be more flexible and support :restrict and :nullify values. The first meaning that a record may not be destroyed while dependent records still exist and the second meaning that the foreign key of the dependent record is set to nil when the record in question is destroyed.
:restrict has proven to be useful in many scenarios and is also supported in sql. Furthermore, this option may improve database compatibility if ever Rails will aim to utilize database consistency checking features based on model definitions
A case for the :nullify (or…
331 votes -
Make ActionMailer consistent with regular controllers
ActionMailer is currently decoupled from ActionController, so changes that have been made to ActionController since the early days of Rails have to be hacked onto AM in inconsistent ways.
Let's abstract a common superclass or mixin and use it in both ActionController and ActionMailer. This will bring ActionMailer up to par with ActionController in the short term, and will help avoid feature drift in the future.
307 votes -
Make using ActiveResource as easy as ActiveRecord
Currently, ActiveResource (ARes) is similar to ActiveRecord, but it doesn't have the same polish or ease of integration. For example, it is not possible to declare validations on an ActiveResource class or for ActiveResource objects to be part of an association.
Let's give ARes some love!
303 votes -
Have a unitifed messaging interface for mail, jabber, etc
How mail is really different from say XMPP notifications? Or AMQP, for non-human? Rails needs a unified messaging interface like merb-messenger.
297 votes -
Support for dynamic subdomains
I want an easy way to achieve the sort of dynamic subdomains you see on blogspot and even basecamp. I know there are ways to do it via plugins and such, but I'd like it to be significantly easier than it is now.
297 votes -
better support for non-relational databases
Rails ActiveRecord make easy to work with a relational SQL based database but there's a few support for the non-relational ones, like a document-oriented database. In many cases the non-relationals databases are a better choice.
273 votes -
Unbind the framework from Test::Unit and Prototype
Nowadays, more and more people (like me) are using alternative testing solutions like BDD, or alternative Javascript/Ajax approaches like jQuery. Rails is bound to Test::Unit and Prototype right now, and this should be an open decission by the programmer, not by the framework itself... what do you think?
211 votes -
Port the Merb parts to Rails
As part of the merge of Merb and Rails, it is very natural that parts will be ported also. It is very needed in some applications (including mine). Makes the app much more modular. I use now cells as a compromise (I use it for my widgets architecture), but it must be in rails core.
210 votes -
Add an identity map to ActiveRecord
Like in DataMapper.
151 votes -
add prepared statement support to ActiveRecord
In cases where bulk update type operations and/or repetitive queries are required, allowing for SQL statements to be prepared and then have variables bound to them can improve performance significantly.
145 votes -
Use DataObjects behind ActiveRecord
DataObjects provides a clean, ruby-like API into postgres, sqlite3 and mysql. Using it behind AR would greatly simplify the AR Adapter code.
139 votes
- Don't see your idea?