GeekInterview.com
  I am new, Sign me up!
 

Ruby Interview Questions


Ruby Interview Questions

Questions: 22
Comments: 20
 Showing Questions 1-10 of 22 Questions
[1] 2 3 Next >>
 Sponsored Links

 
 Ruby Interview Questions
Sorting Options :  

How to use two databases to a single application? 
Latest Answer: This is for Ruby on Rails.1. Set the database at config/database.yml. ex mydb:    adapter: mysql    database: mydb    socket: /tmp/mysql.sock    username: login    password: password2. ...

Latest Answer: Class variable's are preceeded by @@ symbols. ...

Latest Answer: It is a method that alters the attribute of an object.myabcs = ['a', 'b', 'c']#myabcs is of type Array.myabcs.reverse!# this method altered the object.p myabcs#outputs:#["c", "b", "a"]For this to work ...

Latest Answer: A method that loads and processes the Ruby code from a separate file, including whatever classes, modules, methods, and constants are in that file into the current scope. load is similar, but rather than performing the inclusion operation once, it reprocesses ...

Latest Answer: A Global variable ($a) has a full scope in application. We can use any where in the application as you want. ...

Latest Answer: In Ruby nil is an Object for NilClass, You can directly check as nil.class it will return NilClass.Where as false is an object for FalseClass. ...

Latest Answer: By applying the access modifier : Public , Private and Protected acces Modifier ...
Read Answers (1) | Asked by : scott

View Question | Asked by : scott

View Question | Asked by : sripri

Latest Answer: Use the super keyword to call the superclass implementation of the current method. ...
Read Answers (1) | Asked by : sripri

View page [1] 2 3 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape