Skip to content
Browse files

Changed: depencies updated for activesupport, activemodel

  • Loading branch information...
1 parent f756370 commit 90f91dd125371b274207eacfae2fb62898aafb5d @toriaezu toriaezu committed May 29, 2012
Showing with 8 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 Gemfile
  3. +5 −1 lib/simply_stored/instance_methods.rb
View
1 .gitignore
@@ -1,2 +1,3 @@
Gemfile.lock
*.swp
+.rvmrc
View
4 Gemfile
@@ -7,6 +7,6 @@ gem 'couch_potato', '0.6.0.1'
gem 'shoulda'
gem 'shoulda-addons'
gem 'mocha'
-gem 'activemodel', '~> 3.1.0'
-gem 'activesupport', '~> 3.1.0', :require => 'active_support'
+gem 'activemodel', '> 3.1.0'
+gem 'activesupport', '> 3.1.0', :require => 'active_support'
gem 'right_aws'
View
6 lib/simply_stored/instance_methods.rb
@@ -1,6 +1,10 @@
module SimplyStored
module InstanceMethods
-
+
+ def self.included(base) #:nodoc:
+ base.send :include, ActiveModel::Conversion
+ end
+
def initialize(attributes = {}, &blk)
super(_remove_protected_attributes(attributes))
blk.call(self) if blk

0 comments on commit 90f91dd

Please sign in to comment.
Something went wrong with that request. Please try again.