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)

In the Rails 3 timeframe, I would like Rails to...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can vote and comment on it.

If it doesn't exist, you can post your idea so others can vote on it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. has_many :through polymorphic associations

    Actually, if one tries to have an has_many :through association, and one of the sides is polymorphical, the association finders only work one way. This is a long-time issue.
    This has been partially solved with has_many_polymorphs plugin, but this plugin doesn't support :include in the finders. It would be great for Rails to have perfect associations.

    37 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
    • better gem dependency management

      config.gem / rake gems:install / rake gems:unpack has been a headache in Rails 2.2 I don't have a brilliant idea for a better way, but there's got to be something. How does Merb do it?

      33 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        2 comments  ·  Flag idea as inappropriate…  ·  Admin →
      • Support asset minification

        Assets (JS and CSS files) are already being bundled and cached. Why not just minify the content right there? I hear there is a plugin to do that (ahem ... Smurf ... ahem)

        29 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          1 comment  ·  Flag idea as inappropriate…  ·  Admin →
        • ExtJS integration for views

          "Web 2.0" application are more and more present. Is it possible to provide ExtJS integration for rails (helpers...) and make it easy to use as scriptaculous and prototype ?

          27 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            3 comments  ·  Flag idea as inappropriate…  ·  Admin →
          • have official authentication&authorization plugin

            authentication and authorization are the first steps for almost all the web applications. even though there are a few plugins out there I think there should be some official ready to go rails components/generators for this purpose, configurable with a few options, like login :with=>email or name ... and may be
            allow: open_id ..,
            :have=>control_panel ...

            now all "frequently rails application coders" are doing their own ready to go startups with a lot of steps (that they do each time) done like authorization ..

            and since authentication and authorization are almost the first and must have codes for almost each…

            26 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              2 comments  ·  Flag idea as inappropriate…  ·  Admin →
            • Support Multi-Table Inheritance

              The current Single-Table Inheritance model inherently does not scale well to large and complex class structures, and can prove troublesome to work with when the required structure and functionality of a child-class greatly extends that of a parent class.

              Moving data for child-classes into a separate table for each class would allow for far more efficient (i.e. normalised) database structures. Each entry in a child table would also maintain an entry in all parent table(s), allowing us to keep the ease of use we currently experience, since retrieving all data for members of a class, or a specific sub-class, is…

              25 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
              • Improve writing pure Ruby conditions in AR

                I would like to get rid of the need for most cases to write SQL statements myself. Right now, you can do something like

                Post.all(:conditions => {:author => "iGEL", :categorie => ["rails", "active_record"]})

                which becomes "SELECT * FROM posts WHERE author = 'iGEL' AND categories IN ('rails', 'active_record')"

                But you can't write queries with OR, NOT, >=, < or LIKE.

                In DataMapper, you can do this:
                :age.gte => 30
                :name.like => 'S%'
                :name.not => 'bob'

                I also could think about something like
                :or => {:author => 'bob', :is_admin => true}

                24 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                • RDF represenataions of resources

                  Lets steal a march on the python community and get some Rails apps producing RDF. A to_rdf method in respond_with

                  22 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                  • Thor support

                    Provide Thor scripts instead of Rake, since Rake is a lovely DSL... but not true Ruby class based.

                    20 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      4 comments  ·  Flag idea as inappropriate…  ·  Admin →
                    • 19 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                      • Have better oracle support.

                        Maybe pull in the oracle enhanced adapter and make that the normal adapter. Oracle support is important for legacy database users, and for many people in selling rails to the industry.

                        19 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                        • Better support for Windows

                          Better support for Windows Development and Deployment.

                          18 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                          • ActiveRecord default values

                            Ability to set default values for any field on an AR model cleanly and declaritively.

                            http://github.com/aussiegeek/active_record_defaults/tree/master provides the right syntax. This is a common enough use case to warrant inclusion in core.

                            18 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                            • appoint an official Rails Feminist

                              DHH says he wants edginess and diversity, but sexism is about as edgy as bell bottoms and arranged marriage. DHH should appoint an official Rails Feminist--someone with credentials. *That* would be edgy.

                              17 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                3 comments  ·  Flag idea as inappropriate…  ·  Admin →
                              • Improve form and error display helpers

                                Error display is amongst the oldest pieces of code in Rails 2.x, it went almost untouched from the old days of Rails 0.x. They insert html and you can barely customize the ouput messages. The code is spread between templates, models and helpers. With the form input helpers the story is similar, they wrap your input (a inline element) around a div (a block element), and if you want to change this, you must have an initializer overwriting a ActionView class variable...

                                With the new Nested model forms just around the coner I think it is the time to make…

                                17 votes
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  3 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                • Ability to call a controller action directly

                                  Like in Merb, it would be great to be able to call a controller action directly, instead of using something like render_component.

                                  16 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                  • create web service that support REST, SOAP & XML-RPC

                                    ActiveResource is great, but not everyone out there support RESTful web service, it would be nice if we can create web service that support SOAP and XML-RPC as easy as developing web app with Rails

                                    16 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                    • ActiveRecord callbacks after the transaction closes

                                      Right now, after_save and its kin all run inside of the same transaction. While correct in some cases, it is a pain in others. We need another callback that happens after the transaction gets closed. A great example of this is imagine an after_create on object X that calls into an async process to perform a task that pulls some info from object X. There is a race condition right now where if you send the request before the transaction closes, so the other process might not be able to get the new record from the DB since the creation…

                                      16 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                      • WAI-ARIA support

                                        Support for the W3C WAI-ARIA spec could be added to Rails. WAI-ARIA defines a way to make Web apps more accessible to people with disabilities. It's especially aimed at making dynamic content (AJAX, JavaScript, etc) accessible without the need for the site to work when JavaScript is turned off.

                                        http://www.w3.org/WAI/intro/aria

                                        Rails could have support for ARIA in form_for and related tags inside the view. More information about implementing it is available in the following article on Opera's website:

                                        http://dev.opera.com/articles/view/introduction-to-wai-aria/

                                        15 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Learning Rails 3.0 from Scratch... A New Site / Online Free

                                          Currently... No exact details are available for beginners to start with. Its really confusing whats coming in Rails 3.0 and what will be " Out ". What best features of Merb are planned in Rails 3.0.

                                          Once has to keep track of Merb as well as Rails books, leaving them in confused stage. whats going to finally come up.

                                          It would be a nice way.. to end up maintaining both sites of " Merb " and " Rails " and start with a new fresh site dedicated totally for Rails 3.0.

                                          The existing material can always be included from both…

                                          15 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Rails

                                          Feedback and Knowledge Base