rails3 使用nifty
文章分类:Ruby编程1. 在Gemfile中添加:
gem 'nifty-generators'
2. rails g nifty:layout
3. rails g nifty:scaffold survey name:string
in railscast you'll see the blue background style scaffold file is done by this gem
rails3 使用nifty文章分类:Ruby编程1. 在Gemfile中添加: gem 'nifty-generators' 2. rails g nifty:layout 3. rails g nifty:scaffold survey name:string
in railscast you'll see the blue background style scaffold file is done by this gem ![]() |