Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ruby On Rails 3

Adding A Column To An Existing Table In A Rails Migration

Answer : If you have already run your original migration (before editing it), then you need to g… Read more Adding A Column To An Existing Table In A Rails Migration

Active Admin Action Item/member Action

Answer : This can be done with the following: ActiveAdmin.register Post do index do colu… Read more Active Admin Action Item/member Action

Can I Use Font-awesome Icons On Emails

Answer : You can't use webfonts reliably in html emails. Some clients might respect and rend… Read more Can I Use Font-awesome Icons On Emails

Can I Pass Default Value To Rails Generate Migration?

Answer : You can't: https://guides.rubyonrails.org/active_record_migrations.html#column-modi… Read more Can I Pass Default Value To Rails Generate Migration?