search for: rajeevsharm

Displaying 4 results from an estimated 4 matches for "rajeevsharm".

2010 Sep 04
3
its easy but i forgot all
my models borrower ----- has_many :loans loan ----- belongs_to :borrower my loans _controller def new @borrower = Borrower.find(params[:borrower_id]) logger.debug '' @borrower.id'' logger.debug @borrower.id @loan = Loan.new respond_to do |format| format.html # new.html.erb format.xml { render :xml => @loan } end
2010 Jul 09
1
RoR Sphinx-search (on Windows Xp) Guidance Request
Hui all, i am trying to implement sphinx search (on Windows Xp) engine in my app. nut it fails in the several point i don''t know the actual procedure . Can anyone help me on this to implement sphinx-search (on Windows Xp). or any good tutorails you please inform me thanks in advance. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Jan 29
2
errors.add adds "is invalid" if validation fails
Rails, I have problem. I am validating fields of a class, if validation fails i use the method error.add "Say something" , but when I test my form by giving a invalid entry, I get error output as "Say something is invalid" and not as "Say something". I really dont know where from this "is invalid" pops in. Any help? Thanks in advance Karthikeyan A K --
2010 Mar 12
7
"We're sorry, but something went wrong." from RoR app
Hi All, "We''re sorry, but something went wrong." is the message I got when I started up an RoR app in the environment: Rails 2.3.5 Ruby 1.8.6 WinXP-Pro/SP3 Firefox 3.6 MySQL 5.0.37-community-nt Mongrel The app under development was working fine until I (stupidly) thought I needed to upgrade MySQL to 5.1.44. I took the precaution of MySQL-dumping the development db before