What things we can define in the model?
Answer / Lata Singh
"In Ruby on Rails, you can define attributes (columns), associations, validations, callbacks, and scopes in a model."
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain me what is the difference between symbol and string?
Tell me how do you remove nil values in array using ruby?
What are the three levels of method access control for classes and what do they signify? What do they imply about the method?
what is a class library in Ruby?
What's the difference in scope for these two variables: @name and @@name?
What are the object-oriented programming features supported by ruby?
What is the use of load and require in ruby?
what is class libraries in Ruby?
What are the data types in ruby?
Interpolation is a very important process in Ruby, comment.
Explain about environment variables present in ruby?
What are blocks and procs?