- 14 5月, 2014 30 次提交
-
-
由 Yves Senn 提交于
Fix reference to sanitize helper test suite [ci skip]
-
由 azul 提交于
-
由 Aaron Patterson 提交于
Refactor delete_records method
-
由 eileencodes 提交于
this change was unneccsary as nothing was gained from it
-
由 eileencodes 提交于
Rename delete_all_records because this name better describes what the method is doing. We can then remove :all from the hm:t version and pull out the unoptimized call to load_target in delete_records and pass it directly.
-
由 eileencodes 提交于
Refactor delete_count method to only handle delete_all or nullify/nil cases and not destroy and switch to if/else rather than case statement. This refactoring allows removal of :all symbol usage.
-
由 eileencodes 提交于
Refactor by creating two methods delete_all_records and delete_records to be called by delete_all and delete (or destroy) respectively. This reduces the number of conditionals required to handle _how_ records get deleted. The new delete_count method handles how scope is applied to which delete action. A delete_all_records method also has to be called in has_many_through association because of how the methods are chained. This will be refactored later on.
-
由 Godfrey Chan 提交于
remove deprecation warning
-
由 Aaron Patterson 提交于
Then we can avoid nil checks
-
由 Aaron Patterson 提交于
-
由 eileencodes 提交于
This deprecation was released in 4.1.0 and can be removed for 4.2.0, deprecation message / handling is no longer necessary.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
no need for redefine_method
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
[postgres] include PgArrayParser directly
-
由 Rafael Mendonça França 提交于
[ci skip] Fix two factual errors and highlight code in generators guide.
-
由 Juanito Fatas 提交于
-
由 Rafael Mendonça França 提交于
[Fixes #15064] Calling number_to_delimited on a ActiveSupport::SafeBuffer results in mangled output
-
由 Rafael Mendonça França 提交于
Update and add tests in array_ext_test.rb
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
Remove falsy deprecation note in AS guides [ci skip]
-
由 Genadi Samokovarov 提交于
This is no longer true as @jeremy removed the deprecation in 7a5601c4.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 kares 提交于
-
由 Andrew White 提交于
Do not check defined?(CGI) on every call #to_query
-
- 13 5月, 2014 10 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Aaron Patterson 提交于
Dup options hash to prevent modifications
-
由 Yves Senn 提交于
* by default composite types are mapped as `OID::Identity` and issue a warning * the user is advised to register his own `OID::Type` to make use of composite types Registering a new `OID::Type` does currently not allow to specify the type casting behavior when writing to the database. In order for it to work we need to use the values within `@attributes`. They are already being type casted and are ready to be written to the DB. See https://github.com/rails/rails/blob/57643c961feb24b662620d330e71103a830003e8/activerecord/lib/active_record/attribute_methods.rb#L460-L462
-
由 Yves Senn 提交于
-
由 printercu 提交于
-
由 Carlos Antonio da Silva 提交于
It's usage has been removed in 325c9d5e.
-
由 Josep Jaume Rey 提交于
`options[:default]` and `options[:raise]` can be mistakenly added to the `options` hash. This can be a problem if you're reusing the same object.
-
由 Carlos Antonio da Silva 提交于
-
由 Yves Senn 提交于
-
由 Andrew White 提交于
Fix regression on `assert_redirected_to`.
-