78507/how-to-drop-columns-using-rails-migration
Hello @kartik,
Use this:
remove_column :table_name, :column_name
For instance:
remove_column :users, :hobby
Hope it helps!!
Thank You!!
Hello kartik, Just use ajax.abort(). For example you could ...READ MORE
Hello @kartik, You can try the sample code ...READ MORE
Hii @kartik, Here is the way to access ...READ MORE
You have to download the file with ...READ MORE
Hello @kartik, Try this: rake db:migrate:down VERSION=20100905201547 will roll back ...READ MORE
Hello @kartik, While Hash#has_key? gets the job done, as it has ...READ MORE
Hello @kartik, Use the pretty_generate() function, built into later versions ...READ MORE
Hello @kartik, In order to use local gem ...READ MORE
Hii @kartik, This is simple task to send single ...READ MORE
Hii @kartik, Using javascript <script> $("a[href='#top']").click(function() { ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.