From 743d749d757761a71a55f59f45ab28c439f0d069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 19 Nov 2014 14:30:55 -0200 Subject: [PATCH] We are defining the deprecated writer so we only need the reader --- lib/simple_form.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simple_form.rb b/lib/simple_form.rb index 68754a48..8302605d 100644 --- a/lib/simple_form.rb +++ b/lib/simple_form.rb @@ -98,7 +98,7 @@ See https://github.com/plataformatec/simple_form/pull/997 for more information. # DEPRECATED: You can define the class to be used on all forms. Default is # simple_form. - mattr_accessor :form_class + mattr_reader :form_class @@form_class = :simple_form # You can define the default class to be used on all forms. Can be overriden