simple form - rails gem Simple_form installation is not working -


i using rails 4.2.4 , trying use simple_form

right view gives error:

undefined method `simple_form_for' #<#<class:0xbbc2748>:0xbbc1460> 

gem list returns list of gems , includes simple_form. installed simple_form typing gem install simple_form

$gem list  

returns

simple_form (3.2.1) 

i have tried , got this:

rails generate simple_form:install --bootstrap not find generator 'simple_form:install'. maybe meant 'responders:install', 'rspec:install' or 'devise:install' run `rails generate --help` more options. 

does know how fix issue?

if installed via gem install didn't add rails application. instead, need add gemfile, @ the documentation.

gemfile:

gem 'simple_form'

then run bundle install , continue installation github page.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -