diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-02-11 23:09:15 -0800 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-02-11 23:09:15 -0800 |
commit | 0d70ce37e510c83d5fc42f88b04314f40d87fe96 (patch) | |
tree | 03183df1b69ebb31bd5148bc8a9443647348ff3a /lib/active_relation/extensions | |
parent | 82cd330dbac31d79e23cc06273321ecbac2b9077 (diff) | |
download | rails-0d70ce37e510c83d5fc42f88b04314f40d87fe96.tar.gz rails-0d70ce37e510c83d5fc42f88b04314f40d87fe96.tar.bz2 rails-0d70ce37e510c83d5fc42f88b04314f40d87fe96.zip |
rename substitute to bind since it 'binds' an object to a new relation.
Diffstat (limited to 'lib/active_relation/extensions')
-rw-r--r-- | lib/active_relation/extensions/object.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_relation/extensions/object.rb b/lib/active_relation/extensions/object.rb index 1db4c845be..35ffa9c661 100644 --- a/lib/active_relation/extensions/object.rb +++ b/lib/active_relation/extensions/object.rb @@ -3,7 +3,7 @@ class Object self end - def substitute(relation) + def bind(relation) self end |