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

templates incompatible with Rails 3.2.1 #32

Open
@jeroenvandijk

Description

@jeroenvandijk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions