Hi Rajesh, The intention of my post was to raise awareness about issues with Vista RC1 and specifically client side issues of IE7 RC1 on Vista RC1. Its not...
Hi guys which version of mysql do you people use? Older versions of mysql dont have concepts of views/ stored procedures. I have MySQL version 4.1.20 on...
hi I guess mysql 5.0 was released with the intentions of creating stored procedures, i am using mysql 5.0. But with instant rails, you have 4.1.9bundled with...
Hi Aditya, You are right Aditya, I had to shift to MySQL version 5 as views were not supported in version 4 Regards, NAYAK ... [Non-text portions of this...
Hello, Please pardon me if my question sounds really dumb. I am trying to figure out how to pass the id of the user at login to another controller. Here is a...
hi No question is dumb!! Assume you have a customer form, you click on a customer record, and customer id is sent to the http header you can fetch the value...
Hi Sukha !! u can easily pass id pr whatever parameter u want to pass as below.. redirect_to :controller=>"plan", :action => "list", :idtobePass => id try out...
Hello, I am passing the actual mySQL query in rails and i dont get any output. Neither is rails giving my any errors message. Please can some one point out...
Um... Actually, that's not the URL I meant to paste. Try this one instead: http://wiki.rubyonrails.com/rails/pages/HowtoWorkWithSessions RSL ... [Non-text...
Thanks Priyank and Himanshu. It worked i passed the id using Himanshu's idea and then i used Priyank method to send it to MySQL for query. Thanks again Divya ...
Thanks Russell. I am little lost if i declare model :user in the application.rb how can i access user information in different controller? Is there a script or...
Have you tried running the SQL statement directly in a MySQL tool outside of Rails to verify that it is actually returning the data you are expecting? I think...
... The above code contains syntax error. Try to figure it out on your own! Regards, Anil Wadghule [Non-text portions of this message have been removed]...
Hi everyone, Now that there's been a lot of questions about databases, I want to ask something too: I'm trying to develop a little Rails app for the invoicing...
Hi Gabriel, Traditionally SQL provides primary, unique, foreign,custom key relationships for data integrity. But in rails, the data integrity is being insured...
Indeed the code has sql syntax problem(Again, i will leave it to you...to figure it out..really silly thing) If you are not sure about sql, why don't you use...
You are using the ruby varaible @id directly in to the string, so plan_id is compared to "@id" not the value of @id. Instead put all ur ruby variables in #{}. ...
... Is following correct? Image.find_by_sql ("SELECT img_url FROM images WHERE plan_id = #{@id} AND img_type = '#{@imType}'") -- Business is made up of...
As it looks like for salesagent model, handphone is actually a Fixnum, whereas your validation code expects it to be a Array...which is not the case and hence...
Have you looked at the information RoR wiki? http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer I've used that info to good effect myself....
Sure its possible. If you want implement the referential integrity through Ruby code. Class LineItems < ActiveRecord::Base has_many :products ,:dependent =>...
Please have a look at at Chapter #24 of "Agile Web Development With Rails, 2nd edition". Step by step instructions are given there and worked as a charm for...
Hi ! Hemant thanks for having a look on my prob. u r right..i've found solution by converting handphone to string. Himanshu ! hemant <technix88@...>...