search for: find_by_last_name

Displaying 3 results from an estimated 3 matches for "find_by_last_name".

2007 Jun 13
6
ActiveRecord query using association
Hello all, I apologize if the answer to this question is going to be rudimentary, but I am thus far stymied by the information I have found on the web. This seems like it should be simple, but I haven''t really found an example of how to do this yet. I have a model called Account which has a belongs_to reference to another model, User, as below: class Account < ActiveRecord::Base
2010 Feb 10
7
undefined method join
Hey all, I get an undefined method `join'' for #<String NoMethodError. student.rb has_one :student_fail attr_accessor :student_fail_attribute #controller def student_fail @student = @student.find params[:id] def update_student_fail @student.build_student_fail params[:student][:student_fail_attribute] if @student.save #view form_for @student do |f|
2007 Mar 13
5
Question on application/database design for a application port to rails
Hi all I am hoping that the experience and knowledge of this ''list'' will be able to help me out with some design decisions I have to make while porting a desktop app to rails. Here is the scoop: I am in the design process of porting a fairly large client/server app to rails. Average data set is about 200 MB per database/server. Altogether there are about 100 tables and about