datamapper/datamapper.github.com — Issue #32: templates incompatible with Rails 3.2.1
Author: jeroenvandijk
Created: 2012-02-20 08:58:50+00:00
State: open

As reported in https://github.com/datamapper/dm-rails/issues/34#issuecomment-3982275 the templates need to remove two ActiveRecord related configuration options in `config/development.rb` for Rails 3.2.X:

# Raise exception on mass assignment protection for Active Record models
# config.active_record.mass_assignment_sanitizer = :strict

# Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL)
# config.active_record.auto_explain_threshold_in_seconds = 0.5

Another issue is that the Gemfile currently requires an older version of Rails: `3.1.3` and not 3.2.1. This change would require an update of the dependencies of `dm-rails` and `dm-active_model` to `1.2.1`