- 07 7月, 2014 1 次提交
-
-
由 Gaurish Sharma 提交于
-
- 29 6月, 2014 9 次提交
-
-
由 schneems 提交于
-
由 schneems 提交于
The example showed is `except`, however the method "documented" is `unstop`. Fix to align the docs to the example.
-
由 schneems 提交于
Also use appropriate mailer syntax in the `find_each` block.
-
由 schneems 提交于
Put all options for overloading `find` in one section
-
由 schneems 提交于
Add docs on what happens when a numerical argument is provided to last. Since `last!` behaves exactly the same way but can raise an argument we can consolidate it in the `last` section.
-
由 schneems 提交于
Add docs on what happens when a numerical argument is provided to take. Since `take!` behaves exactly the same way but can raise an argument we can consolidate it in the `take` section.
-
由 schneems 提交于
Since `find_by!` behaves exactly the same way but can raise an argument we can consolidate it in the `find_by` section.
-
由 schneems 提交于
Add docs for `first` when provided a numerical argument. Since `first!` behaves exactly the same way but can raise an argument we can consolidate it in the `first` section.
-
由 schneems 提交于
-
- 28 6月, 2014 30 次提交
-
-
由 Vijay Dev 提交于
-
由 Guillermo Iguaran 提交于
Update the levenshtein distance method in guides.
-
由 Sean Griffin 提交于
Add missing period in Getting Started guide
-
由 Juanito Fatas 提交于
-
由 Rory O’Kane 提交于
Within section 5.10 Adding Some Validation
-
由 Godfrey Chan 提交于
MySQL doesn't work with foreign keys
-
由 Philippe Creux 提交于
This was previously fixed in e84799d9 but broken in 3f596f8a. This commit reintroduced the conditional that prevents the foreign keys from being added to MySQL databases.
-
由 Godfrey Chan 提交于
Fix test with `add_foreign_key` DSL
-
由 Philippe Creux 提交于
-
由 Rafael Mendonça França 提交于
rename primary key sequence only if it exists
-
由 Rafael Mendonça França 提交于
Always instrument ActiveSupport::Cache
-
由 Rafael Mendonça França 提交于
Add always permitted parameters as a configurable option. [Rafael Mendonça França + Gary S. Weaver]
-
由 Peter Wagenet 提交于
The current approach is broken because it uses a thread local value which means on multi-threaded environments it has to be turned on per thread. Secondly, ActiveSupport::Notifications does not instrument items when there are not subscribers so this flag is unnecessary.
-
由 Rafael Mendonça França 提交于
Update documentation for run_callbacks
-
由 Rafael Mendonça França 提交于
-
由 jamesprior 提交于
In some cases run_callbacks will return nil. I'm attempting to update the documentation for the method to clarify.
-
由 Rafael Chacón 提交于
* General style fixes. * Add changes to configuration guide. * Add missing tests.
-
由 Rafael Mendonça França 提交于
-
由 Abdelkader Boudih 提交于
-
由 Rafael Mendonça França 提交于
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
Leave the note for `ActiveModel`, since it can't yet detect mutations (hopefully we can change this in time for 4.2). However, we now detect mutations on all supported types in `ActiveRecord`, so we can note that `_will_change!` is no longer needed there.
-
由 Rafael Mendonça França 提交于
Closes #15942
-
由 Rafael Mendonça França 提交于
Fix bug, when ':dependent => :destroy' violates foreign key constraints Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/associations/builder/association.rb activerecord/lib/active_record/associations/builder/has_one.rb
-
由 Rafael Mendonça França 提交于
Detect in-place modifications on Strings
-
由 Rafael Mendonça França 提交于
Add AR::Base#valid! method
-
由 Rafael Mendonça França 提交于
databases.rake refactoring
-
由 Rafael Mendonça França 提交于
Stop using instance exec for type decorators
-
We are moving this behavior out to an object that we would like to keep separated from `ActiveRecord::Base`, which means not passing the class object to it. As such, we need to stop using `instance_exec`, and instead close over the subclass on global type decorators that are applied in `Base`.
-
由 Viktar Basharymau 提交于
-