1. 17 1月, 2012 2 次提交
  2. 29 12月, 2011 1 次提交
  3. 28 11月, 2011 1 次提交
  4. 24 5月, 2011 1 次提交
  5. 17 3月, 2011 1 次提交
  6. 24 12月, 2010 2 次提交
  7. 16 12月, 2010 4 次提交
  8. 31 10月, 2010 1 次提交
  9. 20 10月, 2010 1 次提交
  10. 19 10月, 2010 4 次提交
  11. 14 10月, 2010 2 次提交
  12. 13 10月, 2010 1 次提交
  13. 03 10月, 2010 1 次提交
  14. 01 10月, 2010 1 次提交
    • J
      Prevent... · 14c4881f
      Jon Leighton 提交于
      Prevent test_has_many_through_a_has_many_through_association_on_through_reflection failing for me due to ordering of the results
      14c4881f
  15. 26 9月, 2010 1 次提交
  16. 14 8月, 2010 1 次提交
  17. 13 8月, 2010 1 次提交
  18. 14 7月, 2010 1 次提交
  19. 30 4月, 2010 1 次提交
  20. 09 3月, 2010 1 次提交
  21. 08 9月, 2009 1 次提交
  22. 10 8月, 2009 1 次提交
  23. 16 7月, 2009 1 次提交
  24. 21 4月, 2009 1 次提交
  25. 20 4月, 2009 1 次提交
  26. 02 12月, 2008 1 次提交
  27. 10 10月, 2008 1 次提交
  28. 11 9月, 2008 1 次提交
  29. 10 9月, 2008 1 次提交
  30. 17 8月, 2008 1 次提交
  31. 14 7月, 2008 1 次提交
    • D
      Add :accessible option to Associations for allowing mass assignments using... · e0750d6a
      David Dollar 提交于
      Add :accessible option to Associations for allowing mass assignments using hash. [#474 state:resolved]
      
      Allows nested Hashes (i.e. from nested forms) to hydrate the appropriate
      ActiveRecord models.
      
      class Post < ActiveRecord::Base
        belongs_to :author,   :accessible => true
        has_many   :comments, :accessible => true
      end
      
      post = Post.create({
        :title    => 'Accessible Attributes',
        :author   => { :name => 'David Dollar' },
        :comments => [
          { :body => 'First Post!' },
          { :body => 'Nested Hashes are great!' }
        ]
      })
      
      post.comments << { :body => 'Another Comment' }
      Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
      e0750d6a