rails-generate Questions

4

According to the rails documentation http://guides.rubyonrails.org/migrations.html 2.3 Supported Type Modifiers says it should be possible to modify fields to allow or disallow NULL in the column...
Springspringboard asked 20/1, 2014 at 1:56

3

Solved

I'm integrating devise_invitable into my application and I had to write a custom controller - InvitationsController - to override a few methods in the gem. Now, I want to write tests to cover what ...
Autobus asked 7/6, 2011 at 21:44

17

Solved

I want to delete all the files it created and roll back any changes made, but not necessarily to the database, but more to the config files. I'd like to automatically delete all the resource mappi...
Hostile asked 12/11, 2010 at 3:23

2

Is it possible to configure Rails so that after running rails g migration name_of_migration, it automatically opens that file in TextMate?
Zachery asked 15/12, 2010 at 22:21

2

Solved

I just installed Rails 3 and created my first app. The install of Rails3 + ruby 1.9 went very smoothly but I am missing the generate script in script/generate. I have created a new app from scratc...
Swiercz asked 11/6, 2010 at 16:29
1

© 2022 - 2024 — McMap. All rights reserved.