diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2016-08-16 14:47:11 +0300 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2016-08-23 13:11:06 +0300 |
commit | 5b42628e79e85b8697a42f5f566f7cbfd1160847 (patch) | |
tree | 10639fdd2aaf84f4bfc382822350db03f5d1dc7d /actioncable/test/worker_test.rb | |
parent | 82ec6b36065e91fe0ec5a87f9419840618ce2c5d (diff) | |
download | rails-5b42628e79e85b8697a42f5f566f7cbfd1160847.tar.gz rails-5b42628e79e85b8697a42f5f566f7cbfd1160847.tar.bz2 rails-5b42628e79e85b8697a42f5f566f7cbfd1160847.zip |
Remove over meta programming in AR::Relation
Introduced low level methods #set_value and #get_value for setting query attributes:
relation.set_value(:where, {id: 1})
relation.get_value(:includes)
Used those internally when working with relation's attributes
at the abstract level
Diffstat (limited to 'actioncable/test/worker_test.rb')
0 files changed, 0 insertions, 0 deletions