Important - very important questions in rails
what is ruby on rails
ruby : it is object oriented programming language inspired by PERL and Python.
rails : it is a framework used for building web application
what is class libraries in ruby
mention what is the naming convention in rails
variables :for declaring variables .all letters are lowercase and words are seperated by underscroes.
class and module : modules and classes uses mixed case and have no underscore , each words starts with a uppercase letter.
database table : the database table name
model :
controller :
what is yield in rails
what is object relationship model in rails
ORM or object relationship model in rails indicate that your classes are mapped to the table in the database , and objects are directly mapped to the rows in the table .
what the difference is between false and nil in ruby
in ruby false indicates a boolean datatype , while nil is not a datatype,it have an object_id 4
mention what are the positive aspects in rails
what is the role of sub-directory app/controllers and app/helpers
what is the difference between string and symbol
what is rails active record in rubyonrails ::
rails active record is the object /relational mapping - orm layer supplied with rails , it follows the standard orm model as :
table map to classes
rows map to objects
column map to object attributes
Comments
Post a Comment