Hello, i'm trying to upgrade to 1.1 from 1.0.1 in our project, but model always returns nil when getting it by id with SomeModel.get(id) method. In log i can see that it produces proper query. SomeModel.first(:id => id) returns object as expected. SomeModel.get! raise 'Could not find SomeModel with key [79]'
gemfile: RAILS_VERSION = '~> 3.0.9' DM_VERSION = '~> 1.1.0' gem 'rails', RAILS_VERSION gem 'activesupport', RAILS_VERSION, :require => 'active_support' gem 'actionpack', RAILS_VERSION, :require => 'action_pack' gem 'railties', RAILS_VERSION, :require => 'rails' gem 'dm-rails' , '~> 1.1.0' gem 'dm-oracle-adapter', DM_VERSION gem 'ruby-oci8' gem 'ruby-plsql' gem 'dm-validations', DM_VERSION gem 'dm-aggregates', DM_VERSION -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To view this discussion on the web visit https://groups.google.com/d/msg/datamapper/-/U49Ykvaf3TYJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.
