Hi Ruby Group! I am new to ROR I ahave one doubt on Active record methods find method of the model class(i.e subclass of Active Record). when the find method get or morecord based oon the condtion no problem i.e id=1 Product.find(id) if this method get s the no problem. if the product table have no recodrs on the condtion. I am getting the error how can i solve this problem. how can i handele the find method if it returns null
on 2006-04-24 08:23
on 2006-04-24 10:08
Hi Sarala. As far as I can see this list is dedicated to developers of Engines. Engines is a system for writing software components. You should rather ask your questions on the list dedicated to Rails development: rails@lists.rubyonrails.org Regards, Manuel
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.