diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-26 01:53:01 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-26 01:53:01 +0000 |
commit | 9b8399fb7f97c0b7f7f80ffc8bc2e74565fec642 (patch) | |
tree | 6ab89861f7a54e3d518659a833dd19764f7c4bcd /activeresource/lib/active_resource.rb | |
parent | ddd243a9c11b54fd13328a86a34ae997f63cb839 (diff) | |
download | rails-9b8399fb7f97c0b7f7f80ffc8bc2e74565fec642.tar.gz rails-9b8399fb7f97c0b7f7f80ffc8bc2e74565fec642.tar.bz2 rails-9b8399fb7f97c0b7f7f80ffc8bc2e74565fec642.zip |
Added support for calling custom methods #6979 [rwdaigle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/lib/active_resource.rb')
-rw-r--r-- | activeresource/lib/active_resource.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activeresource/lib/active_resource.rb b/activeresource/lib/active_resource.rb index a1af676086..83039606af 100644 --- a/activeresource/lib/active_resource.rb +++ b/activeresource/lib/active_resource.rb @@ -37,9 +37,11 @@ end require 'active_resource/base' require 'active_resource/struct' require 'active_resource/validations' +require 'active_resource/custom_methods' module ActiveResource Base.class_eval do include Validations + include CustomMethods end end
\ No newline at end of file |