From d08c573e7904af42fbc911d4d49035c7c4ffea9f Mon Sep 17 00:00:00 2001 From: Martin Linkhorst Date: Mon, 30 Jul 2012 18:25:14 +0200 Subject: [PATCH] added the safe_attributes gem to allow active record subclasses to have magic methods as column names, such as #changes (not to be confused with redmine's #safe_attributes method) --- Gemfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 170948d9fe..c258e71cdc 100644 --- a/Gemfile +++ b/Gemfile @@ -11,6 +11,9 @@ gem "fastercsv", "~> 1.5.0", :platforms => [:ruby_18, :jruby, :mingw_18] gem 'globalize3', :require => 'globalize' gem "delayed_job_active_record" # that's how delayed job's readme recommends it +# TODO: check that it doesn't break the functionality of acts_as_journalized +gem 'safe_attributes' # allows active record to have a #changes column + group :test do gem 'shoulda', '~> 2.10.3' gem 'edavis10-object_daddy', :require => 'object_daddy'