Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

templates incompatible with Rails 3.2.1 #32

Open
jeroenvandijk opened this issue Feb 20, 2012 · 0 comments
Open

templates incompatible with Rails 3.2.1 #32

jeroenvandijk opened this issue Feb 20, 2012 · 0 comments

Comments

@jeroenvandijk
Copy link

As reported in datamapper/dm-rails#34 (comment) 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant