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
Dylan Thacker-Smith 99c87ad247 Improve model attribute accessor method names for backtraces
Ruby uses the original method name, so will show the __temp__ method
name in the backtrace. However, in the common case the method name
is compatible with the `def` keyword, so we can avoid the __temp__
method name in that case to improve the name shown in backtraces
or TracePoint#method_id.
2018-10-12 09:50:10 -07: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
type Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
validations Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
attribute.rb Active Model: Use private attr_reader 2018-02-26 06:16:24 +09:00
attribute_assignment.rb Improve error message when assign wrong attributes to model 2018-04-28 16:27:16 +05:00
attribute_methods.rb Improve model attribute accessor method names for backtraces 2018-10-12 09:50:10 -07: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
attributes.rb Improve model attribute accessor method names for backtraces 2018-10-12 09:50:10 -07:00
callbacks.rb Merge pull request #30919 from seanlinsley/17622-before_save_strict_arguments 2018-07-23 04:19:37 +09:00
conversion.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
dirty.rb Shorter code: remove unnecessary condition 2018-07-05 06:08:31 -07:00
errors.rb Call human_attribute_name with a string instead of a symbole 2018-08-16 11:50:13 -04:00
forbidden_attributes_protection.rb
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
naming.rb Fix call sites 2018-10-02 15:31:29 -04:00
railtie.rb Add global config for config.active_model.i18n_full_message 2018-06-05 13:25:24 -04:00
secure_password.rb has_secure_password: use recovery_password instead of activation_token 2018-07-08 14:12:27 +03:00
serialization.rb Merge pull request #28270 from mmangino/dont_ignore_seralization_options 2018-02-27 23:42:15 +09:00
translation.rb
type.rb
validations.rb
validator.rb
version.rb