I’m wondering what the proper way to do these two things is, if there is any.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ActiveRecord isn’t really designed with views and stored procs in mind. It works best with fresh databases and it really expects the logic to stay in Ruby. If you have to work against an older database, then you can Google using Rails with legacy databases. In addition, one of the other ORMs (DataMapper, maybe something else) may work better with legacy databases