Does rails 3.2.16 version have scaffoldind method? if it has then what to do to implement it ?
How do I edit database.yml
file to use mysql as adapter ?
Does rails 3.2.16 version have scaffoldind method? if it has then what to do to implement it ?
How do I edit database.yml
file to use mysql as adapter ?
Add to Gemfile:
gem 'mysql2'
Then in your database.yml for each env respectively
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: db_name
pool: 5
username: root
password: root
timeout: 5000
for scaffolding new rails project with mysql database:
rails new -d mysql
for more details run
rails new -h