Tell me what is the command to create a migration?
Answer / Ram Bhardwaj
In Rails, the command to create a new migration is `rails generate migration name_of_migration`. For example: `rails generate migration CreateUsersTable`.
| Is This Answer Correct ? | 0 Yes | 0 No |
In Ruby, it explains about the defined operator?
What is retry statement in ruby?
What is ruby class?
What is sysread method in Ruby?
How can you removed from array in ruby?
Tell me what is the role of sub-directory app/controllers and app/helpers?
In Ruby code, often it is observed that coder uses a short hand form of using an expression like array.map(&:method_name) instead of array.map { |element| element.method_name }. How this trick actually works?
Explain for loop in Ruby?
what is the role of sub-directory app/controllers and app/helpers?
What are Ruby arrays and how they can be created?
Explain about normal method class?
List some features of ruby?