Skip to content

Commit

Permalink
remove old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfrench committed Feb 24, 2012
1 parent 7210ee9 commit 30a7644
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions lib/generators/templates/formtastic.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# encoding: utf-8

# --------------------------------------------------------------------------------------------------
# Please note: If you're subclassing Formtastic::FormBuilder, Formtastic uses
# class_attribute for these configuration attributes instead of the deprecated
# class_inheritable_attribute. The behaviour is slightly different with subclasses (especially
# around attributes with Hash or Array) values, so make sure you understand what's happening.
# See the documentation for class_attribute in ActiveSupport for more information.
# --------------------------------------------------------------------------------------------------

# Set the default text field size when input is a string. Default is nil.
# Formtastic::FormBuilder.default_text_field_size = 50

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
describe 'config/initializers/formtastic.rb' do
subject { file('config/initializers/formtastic.rb') }
it { should exist }
it { should contain "# Please note: If you're subclassing Formtastic::FormBuilder" }
it { should contain "#" }
end

describe 'lib/templates/erb/scaffold/_form.html.erb' do
Expand Down

0 comments on commit 30a7644

Please sign in to comment.