Un-Answered Questions { Scripts }

What do you mean by render and redirect_to?

485


How to find second max element from database ?

505


Explain Get and post method?

512


What is a ruby singleton method ?

495


Difference between argument and parameter in ruby on rails ?

457


If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?

445


How is visibility of methods changed in ruby (encapsulation) ?

466


What is the flash?

479


What is unit testing (in classical terms)? What is the primary technique when writing a test ?

528


What is Dynamic finders ?

505


What is the difference between Render vs. Redirect_to in ruby on rails ?

492


How you run your rails application without creating databases?

446


What is the difference between save and save?

515


How many types of relationships does a model has?

473


What are the various changes between the rails version 2 and 3?

449