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

Improve AR for complex queries accross multiple models

ActiveRecord does not allow anyone to perform complex searches across multiple models easily. Currently in rails you are expected to know what the table name of the relationship you want to use is going to be
aliased too.

There are several problems with this:
* It's not intuitive to the developer about which table name to use
in the sql conditions (without reading ar docs clearly)
* It makes it difficult to generate advanced search forms, which can dynamically include or exclude queries

For more detail see:
http://groups.google.com/group/rubyonrails-core/browse_thread/thread/9ce088de0a3532c3/e5900a6047b41adb

8 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…)
    anonymousanonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    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)
      Submitting...

      Feedback and Knowledge Base