- 07 1月, 2015 8 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Rafael Mendonça França 提交于
Add _mailer suffix to generated file names.
-
由 Carlos Antonio da Silva 提交于
The build has failed when running the date/time ext tests in isolation due to the missing extension, so better than adding a require is using just Ruby in this case. https://travis-ci.org/rails/rails/jobs/46107954#L1077
-
由 Carlos Antonio da Silva 提交于
fix `attribute` method scoping(i.e. private)
-
由 Guillermo Iguaran 提交于
Changing sets -> set [ci-skip]
-
由 Lindsey Bieda 提交于
Updating some minor grammar issue.
-
由 David Heinemeier Hansson 提交于
Add #weekend?, #next_weekday, and #prev_weekday methods to Date, Time, and DateTime
-
由 Kuldeep Aggarwal 提交于
ref #52f64126
-
- 06 1月, 2015 28 次提交
-
-
由 Carlos Souza 提交于
Following the same naming convention used in controllers and jobs.
-
由 Rafael Mendonça França 提交于
Add log_level options to configuration guide
-
由 Sammy Larbi 提交于
-
由 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.
-
由 George Claghorn 提交于
Add #prev_day and #next_day as counterparts to #yesterday and #tomorrow for Date, Time, and DateTime
-
由 George Claghorn 提交于
-
由 George Claghorn 提交于
`#on_weekend?` returns true if the receiving date/time falls on a Saturday or Sunday. `#next_weekday` returns a new date/time representing the next day that does not fall on a Saturday or Sunday. `#prev_weekday` returns a new date/time representing the previous day that does not fall on a Saturday or Sunday.
-
由 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 4 次提交
-
-
由 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 提交于
-