examples/memory.rb in toystore-0.8.3 vs examples/memory.rb in toystore-0.9.0
- old
+ new
@@ -8,10 +8,10 @@
$:.unshift(lib_path)
require 'toystore'
class User
include Toy::Store
- store :memory, {}
+ adapter :memory, {}
attribute :name, String
end
user = User.create(:name => 'John')
\ No newline at end of file