Permalink
Switch branches/tags
Commits on Dec 16, 2010
  1. Failing test for #6114

    drogus committed Dec 16, 2010
  2. Fix various issues with the :primary_key option in :through associati…

    jonleighton authored and tenderlove committed Dec 15, 2010
    …ons [#2421 state:resolved]
  3. Fix problem with duplicated records when a :uniq :through association…

    jonleighton authored and tenderlove committed Dec 16, 2010
    … is preloaded [#2447 state:resolved]
Commits on Dec 15, 2010
  1. Replace rudimentary named_scope with scope. [#6052 state:resolved]

    pahanix authored and tenderlove committed Nov 24, 2010
    * rename method names (actually in tests)
    * rename instance variable @_named_scopes_cache to @_scopes_cache
    * rename references in doc comments
    * don't touch CHANGELOG :)
  2. Provide test for #4840: to_xml doesn't work in such case: Event.selec…

    franckverrot authored and tenderlove committed Nov 18, 2010
    …t('title as t').to_xml
  3. to_xml doesn't work in such case: Event.select('title as t').to_xml [#…

    knoopx authored and tenderlove committed Sep 30, 2010
    …4840 state:resolved]
    
    NilClass.type is no longer defined in Ruby 1.9 and causes ActiveRecord::Base.to_xml to fail with message: undefined method `type' for nil:NilClass
  4. removed info about deprecated rake tasks, documented the sandbox opti…

    vijaydev committed Dec 15, 2010
    …on for the rails console and minor corrections
  5. test for eager load of has_one association with condition on the thro…

    Pivotal Labs authored and vijaydev committed Jan 9, 2009
    …ugh table
  6. make sure that join nodes are uniq

    tenderlove authored and vijaydev committed Dec 15, 2010
  7. Verify that creating a has_many through record where there is a defau…

    jonleighton authored and vijaydev committed Dec 12, 2010
    …lt_scope on the join model works correctly (creates the join record with the default scope applied)
  8. Fix edge cases for domain :all option on cookie store

    brainopia authored and vijaydev committed Dec 9, 2010
    Dont set explicit domain for cookies if host is not a domain name
    
    [#6002 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  9. Kill whitespace!

    drogus authored and vijaydev committed Dec 15, 2010
  10. Fix generation of prototype files, it should work with --javascript p…

    drogus authored and vijaydev committed Dec 15, 2010
    …rototype, not --prototype
  11. Set proper engine's asset directories when assets are served from eng…

    drogus authored and vijaydev committed Dec 15, 2010
    …ine.
    
    When using stylesheet_link_tag(:all) or javascript_include_tag(:all),
    assets directories are searched for css or js files. When
    config.serve_static_assets is set to true, those files can be
    served directly from engine's directories. That's why assets paths
    should be set individually for controllers inside engine
    if we want to serve static assets with ActionDispatch::Static
  12. class names are already strings, so we do not need to call to_s on th…

    tenderlove authored and vijaydev committed Dec 14, 2010
    …e strings that are already strings
  13. just copy the joins to the list

    tenderlove authored and vijaydev committed Dec 14, 2010
  14. bucketing based on join type

    tenderlove authored and vijaydev committed Dec 14, 2010
  15. fixing whitespace errors

    tenderlove authored and vijaydev committed Dec 13, 2010