- 05 4月, 2013 23 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
The implementation was using the source class foreign key field instead of the reflected primary key one to find the old record. For instance, for this scenario class Bulb < ActiveRecord::Base belongs_to :car, :touch => true end class Car < ActiveRecord::Base has_many :bulbs end the current implementation was trying to do this query: Car.where(car_id: X).first where we should be doing this query: Car.where(id: X).first This should hopefully fix the build.
-
由 Carlos Antonio da Silva 提交于
There's no need to use Hash#merge with a new hash just for setting the href option to pass it through. Since we're always dealing with a new html_options hash, we're free to just set the value instead.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Add block support for the mail_to helper
-
由 Carlos Antonio da Silva 提交于
Model generator USAGE doc improvement
-
由 Andrew White 提交于
If we don't use inspect inside the class_eval block then the foreign key is written without quotes causing us to fetch the foreign key value and not the column name.
-
由 Carlos Antonio da Silva 提交于
Collection of small fixes. Check individual commits for background.
-
由 Carlos Antonio da Silva 提交于
Exclude template files for rdoc API [ci skip]
-
由 Francesco Rodriguez 提交于
-
由 Neeraj Singh 提交于
since users just copy and paste and the class name is never changed
-
由 Neeraj Singh 提交于
thanks to @egilburg for suggestion
-
由 Rafael Mendonça França 提交于
This reverts commit c79c6980, reversing changes made to ba4c2747. This broke all the tests. See https://travis-ci.org/rails/rails/builds/6061839
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
Fixes skipping object callback filters
-
由 Neeraj Singh 提交于
-
由 Carlos Antonio da Silva 提交于
has_many through obeys order on through association
-
由 Neeraj Singh 提交于
fixes #10016
-
由 Jason King 提交于
* Added information about syntax for precision/scale of decimals * Removed incorrect information about being able to set `default` * Added more examples of usage
-
由 Steve Klabnik 提交于
fix private attribute warning
-
由 Ben McRedmond 提交于
This allows you to skip callbacks that are defined by objects, e.g. for `ActionController`: skip_after_filter MySpecialFilter Previously this didn't work due to a bug in how Rails compared callbacks in `Callback#matches?`. When a callback is compiled, if it's an object filter (i.e. not a method, proc, etc.), `Callback` now defines a method on `@klass` that is derived from the class name rather than `@callback_id`. So, when `skip_callback` tries to find the appropriate callback to remove, `Callback` can regenerate the method name for the filter object and return the correct value for `Callback#matches?`.
-
由 Vipul A M 提交于
-
- 04 4月, 2013 17 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Rafael Mendonça França 提交于
Removed unused comma after loop variable
-
由 Rafael Mendonça França 提交于
minor fixes including variable name change and expanded rdoc
-
由 Anupam Choudhury 提交于
-
由 Anupam Choudhury 提交于
-
由 Neeraj Singh 提交于
-
由 Steve Klabnik 提交于
fix warnings in railties test
-
由 Vipul A M 提交于
-
由 Carlos Antonio da Silva 提交于
Introduced in 2c22376f
-
由 Steve Klabnik 提交于
add require to suppress warning; remove variable
-
由 Vipul A M 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Fixed Typo
-
由 Prathamesh Sonpatki 提交于
-
由 Carlos Antonio da Silva 提交于
Fix some railties test warnings
-
由 Vipul A M 提交于
-
由 Carlos Antonio da Silva 提交于
-