Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How many types of associations relationships does a model has?



How many types of associations relationships does a model has?..

Answer / Renu Paras

"A model in Ruby on Rails can have four basic types of association relationships: belongs_to, has_one, has_many, and has_many :through."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Please explain each of the following operators and how and when they should be used: ==, ===, eql?, Equal?

1 Answers  


Mention what is the difference between procs and blocks?

1 Answers  


What is ruby software and where and when it is usefull.

1 Answers  


Explain ruby ranges. What are the ways to define ranges?

1 Answers  


Tell me how would you freeze an object in ruby? Can you provide a simple example?

1 Answers  


what is the difference between a single quote and double quote?

1 Answers  


Explain about the defined operator?

1 Answers  


Name different methods for io console in ruby?

1 Answers  


Describe class libraries in Ruby?

1 Answers  


what is the Notation used for denoting class variables in Ruby?

1 Answers  


What's the difference in scope for these two variables: @name and @@name?

1 Answers  


Are ruby strings are mutable?

1 Answers  


Categories