Hello, just asking for first time here...

if you do in console: 

rails g migration *AddReferenceidToModel *type:*references* 

would you expect that Rails add index for reference_id field, cause it make 
sense always add index on field like that.

i did that on my fork and it makes me happy every time I scaffold and 
forgot some fields ...
:)

regards, Tino


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/zpRD_04wfZQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to