1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib/active_model
Takashi Kokubun f3c866a743 Unify _read_attribute definition to use &block
Thanks to ko1, passing block parameter to another method is
significantly optimized in Ruby 2.5.
https://bugs.ruby-lang.org/issues/14045

Thus we no longer need to keep this ugly hack.
2018-12-20 10:37:15 +09:00
..
attribute Active Model: Use private attr_reader 2018-02-26 06:16:24 +09:00
attribute_set Active Model: Use private attr_reader 2018-02-26 06:16:24 +09:00
locale
serializers Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
type Fix user_input_in_time_zone to coerce non valid string into nil 2018-05-16 17:01:07 -04:00
validations Update validates_inclusion_of example 2018-04-17 21:16:33 -04:00
attribute.rb Active Model: Use private attr_reader 2018-02-26 06:16:24 +09:00
attribute_assignment.rb Alias assign_attributes to attributes= for AttributeAssignment 2018-02-28 19:58:45 +09:00
attribute_methods.rb Merge pull request #29788 from kamipo/remove_unused_mutex_m 2017-07-17 13:54:37 -04:00
attribute_mutation_tracker.rb Merge pull request #32498 from eugeneius/mutation_tracker_merge_changes 2018-04-10 13:18:34 +09:00
attribute_set.rb Unify _read_attribute definition to use &block 2018-12-20 10:37:15 +09:00
attributes.rb Ruby 2.4: take advantage of String#unpack1 2018-03-01 22:42:51 -08:00
callbacks.rb Use tt in doc for ActiveRecord [ci skip] 2017-08-27 14:01:29 +09:00
conversion.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
dirty.rb Don't call changes in changes_applied unless required 2018-03-06 15:11:23 -07:00
errors.rb fix bug on added? method 2017-11-13 17:27:47 +01:00
forbidden_attributes_protection.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
gem_version.rb Start Rails 6.0 development!!! 2018-01-30 18:51:17 -05:00
lint.rb Use respond_to test helpers 2018-01-25 23:32:58 -05:00
model.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
naming.rb Clarify intentions around method redefinitions 2017-09-01 14:27:13 +09:30
railtie.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
secure_password.rb Talk about bytes not characters 2017-07-31 17:42:43 -04:00
serialization.rb Merge pull request #28270 from mmangino/dont_ignore_seralization_options 2018-02-27 23:42:15 +09:00
translation.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
type.rb Fix doc typo [ci skip] 2017-12-12 16:34:19 -05:00
validations.rb Refactor to Array(options[:on]) only once in defining validations 2018-01-01 06:18:39 +09:00
validator.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
version.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00