- 19 7月, 2011 4 次提交
-
-
由 Elliot Winkler 提交于
-
由 José Valim 提交于
Ensure that status codes are logged properly
-
由 Jesse Storimer 提交于
Needed to move AC::Metal::Instrumentation before AM::Metal::Rescue so that status codes rendered from rescue_from blocks are logged properly.
-
由 Santiago Pastorino 提交于
Fix Rails::Generators::Actions#environment when env is passed
-
- 18 7月, 2011 22 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 José Valim 提交于
ActiveModel support for the :include serialization option
-
由 José Valim 提交于
Optimization of ActiveModel's match_attribute_method?
-
由 Jon Leighton 提交于
Raise an ArgumentError if user passing less number of argument in the dynamic finder
-
由 Aaron Patterson 提交于
-
由 Prem Sichanugrist 提交于
-
由 Santiago Pastorino 提交于
Checking with to_s. As regexp fail with 1.8.7
-
由 Jon Leighton 提交于
Don't do remove_possible_method when delegate is used. Two reasons: 1) warnings should be shown, and fixed at the source and 2) the code is slow. Fixes #1937.
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
The previous behavior was unintentional, and some people was relying on it. Now the dynamic finder will always expecting the number of arguments to be equal or greater (so you can still pass the options to it.) So if you were doing this and expecting the second argument to be nil: User.find_by_username_and_group("sikachu") You'll now get `ArgumentError: wrong number of arguments (1 for 2).` You'll then have to do this: User.find_by_username_and_group("sikachu", nil)
-
由 Arun Agrawal 提交于
-
由 Santiago Pastorino 提交于
Fix a wrong assertion on url_helper_test, and add missing `#html_safe?` a
-
由 Prem Sichanugrist 提交于
-
由 Santiago Pastorino 提交于
Render partial invalid check
-
由 Jon Leighton 提交于
Revert "Fix failure in test_preserves_existing_fixture_data from test/cases/fixtures_test.rb when UTC and local time occur on different dates." I am pretty sure this was an incorrect fix, and it still failed in certain circumstances anyway. I am now unable to reproduce the original failure I was experiencing so will leave it for now and see if this pops up again. This reverts commit e4479b2f.
-
由 John Firebaugh 提交于
This commit moves support for the :include serialization option for serializing associated objects out of ActiveRecord in into ActiveModel. The following methods support the :include option: * serializable_hash * to_json * to_xml Instances must respond to methods named by the values of the :includes array (or keys of the :includes hash). If an association method returns an object that is_a?(Enumerable) (which AR has_many associations do), it is assumed to be a collection association, and its elements must respond to :serializable_hash. Otherwise it must respond to :serializable_hash itself. While here, fix #858, XmlSerializer should not singularize already singular association names.
-
由 John Firebaugh 提交于
One duplicate was eliminated: test_to_xml_including_methods/ test_methods_are_called_on_object.
-
由 John Firebaugh 提交于
-
由 John Firebaugh 提交于
-
由 John Firebaugh 提交于
-
由 John Firebaugh 提交于
-
由 Santiago Pastorino 提交于
As we are adding db folder in it. Required in test also.
-
- 17 7月, 2011 6 次提交
-
-
由 Arun Agrawal 提交于
-
由 Lawrence Pit 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Santiago Pastorino 提交于
Better formatting of rake routes (issue #1991)
-
由 Hendy Tanata 提交于
This route: match 'foo/:id' => RackApp, :id => /[A-Z]\d{5}/ is shown as: /foo/:id(.:format) RackApp {:id=>/[A-Z]\d{5}/}
-
- 16 7月, 2011 8 次提交
-
-
由 Santiago Pastorino 提交于
Adds gem helper rake tasks to engines generator
-
由 Jonathan Lozinski 提交于
-
由 Santiago Pastorino 提交于
-
由 José Valim 提交于
Added db to gemspec so migrations are packaged
-
由 Lawrence Pit 提交于
-
由 Jonathan Lozinski 提交于
-
由 Santiago Pastorino 提交于
Fix wildcard route code example in changelog
-
由 Hendy Tanata 提交于
-