Class: Bently::SimpleForm
- Inherits:
-
RailsRecipe
- Object
- Recipe
- RubyRecipe
- RailsRecipe
- Bently::SimpleForm
- Defined in:
- lib/bently/recipe/simple_form.rb
Constant Summary
Constants inherited from RubyRecipe
Instance Method Summary collapse
-
#initialize ⇒ SimpleForm
constructor
A new instance of SimpleForm.
Methods inherited from RailsRecipe
Methods inherited from RubyRecipe
Methods inherited from Recipe
#append, breakdown, category, #code, #create, description, homepage, #insert, #modify, #operate, #operations, #prepend, #remove, #requirement, #run, #say, title, #todo, #usage, version, #warn
Constructor Details
#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 |