search for: staff_memb

Displaying 2 results from an estimated 2 matches for "staff_memb".

Did you mean: staff_member
2006 Jul 03
1
Model Relations, Creating, Errors and stuff
...k and tried google etc. but my main problem is not being able to think of keywords. I''m trying to save something with user info, and then further info if they are staff in a one-to-one relationship. I can do this all fine and good. def create @user = User.new(params[:user]) @staff_member = StaffMember.new(params[:staff_member]) @user.staff_member = @staff_member if @user.save and @staff_member.save flash[:notice] = ''StaffMember was successfully created.'' redirect_to :action => ''list'' else render :action => ...
2006 Jan 09
2
First Rails project: input welcomed
...roblems in our elementary schools (students aged 5-12) is that teachers in different schools don''t have an easy way to send quick little messages (via email) to colleagues in other buildings who may teach the same subject. A first run at this app would have three tables: messages, staff_members, and a join table staff_members_messages to fix the many-to-many relationship. I''ve posted my preliminary SQL schema at: http://homepage.mac.com/tdwilson/.Public/ideablaster_sql.html (If you take a look at the SQL, you''ll notice that I am envisioning adding attachments an...