Method: Bently::SimpleForm#initialize
- Defined in:
- lib/bently/recipe/simple_form.rb
#initialize ⇒ SimpleForm
Returns a new instance of SimpleForm.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/bently/recipe/simple_form.rb', line 9 def initialize gem 'simple_form' bundle generate 'simple_form:install' todo 'If you want to use the country select, you will need the country_select gem:' say 'gem \'country_select\'', '' todo 'SimpleForm can be easily integrated to the Twitter Bootstrap. To do that you have to use the bootstrap option in the install generator, like this:' say 'rails generate simple_form:install --bootstrap', '' say 'You have to be sure that you added a copy of the Twitter Bootstrap assets on your application.', '' end |