- 06 1月, 2015 23 次提交
-
-
由 Carlos Souza 提交于
Following the same naming convention used in controllers and jobs.
-
由 Rafael Mendonça França 提交于
replacing 'attribute' method with an alias
-
由 Abdelkader Boudih 提交于
Fixed typos and wording in ActiveRecord CHANGELOG [ci skip]
-
由 Prathamesh Sonpatki 提交于
-
由 Yves Senn 提交于
Fix lookup of fixtures with non-string(like Fixnum) label
-
由 George Millo 提交于
-
由 Prathamesh Sonpatki 提交于
- Fixtures with non-string labels such as integers should be accessed using integer label as key. For eg. pirates(1) or pirates(42). - But this results in NotFound error because the label is converted into string before looking up into the fixtures hash. - After this commit, the label is converted into string only if its a symbol. - This issue was fount out while adding a test case for https://github.com/rails/rails/commit/7b910917.
-
由 David Heinemeier Hansson 提交于
Improve protect_from_forgery documentation.
-
由 Rafael Mendonça França 提交于
removing unecessary default parameter in private method
-
由 Sean Griffin 提交于
Documenting 'remove_possible_method' and 'redefine_method' [ci skip]
-
由 George Millo 提交于
'_singularize' only ever gets called with one argument
-
由 Sean Griffin 提交于
Propagate bind_values from join in subquery
-
由 George Millo 提交于
-
由 Josef Šimánek 提交于
-
由 brainopia 提交于
-
由 Sean Griffin 提交于
`initialize_internals_callback` will attempt to assign attributes from the current scope, which will fail if something defined the method and calls super (meaning it won't hit `method_missing`). Fixes #18339
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
Fix rollback of primarykey-less tables
-
由 Jonathan del Strother 提交于
If you have a table without a primary key, and an `after_commit` callback on that table (ie `has_transactional_callbacks?` returns true), then trying to rollback a transaction involving that record would result in “ActiveModel::MissingAttributeError: can't write unknown attribute ``”
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Fix I18n regression introduced by #13832
-
由 Rafael Mendonça França 提交于
Add Firebird support to test suite
-
由 Ray Zane 提交于
-
- 05 1月, 2015 17 次提交
-
-
由 Rafael Mendonça França 提交于
Clean up secure_token_test
-
由 Rafael Mendonça França 提交于
Fix TypeError in Fixture creation
-
由 Matt Hogan 提交于
Ruby 4.2 started doing `value.gsub('$LABEL', label)` for fixture label interpolation, but you can have have valid YAML where `label` isn't a String. For example: ```YAML 0: name: John email: johndoe@gmail.com 1: name: Jane email: janedoe@gmail.com ``` This YAML will create a label that is a Fixnum, causing `TypeError: no implicit conversion of Fixnum into String.`
-
由 Jon Atack 提交于
-
由 Xavier Noria 提交于
-
由 Rafael Mendonça França 提交于
remove unneeded check since /_one_time_conditions/ is not present anymore.
-
由 Rafael Mendonça França 提交于
Reset template assertions without warnings
-
由 brainopia 提交于
-
由 Aditya Kapoor 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
-
由 Rafael Mendonça França 提交于
Include newer `find_by` syntax example in 4.2 release notes for Adequate Record
-
由 David Heinemeier Hansson 提交于
Document all options for protect_from_forgery.
-