search for: staffmember

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

Did you mean: staff_member
2006 Jul 03
1
Model Relations, Creating, Errors and stuff
...gle 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 => ''new'...
2006 Jan 09
2
First Rails project: input welcomed
...notice that I am envisioning adding attachments and comments to the messages.) You can see a screenshot of the current CGI version at my blog: http://technosavvy.org/?p=360 Here are some of the issues I''m pondering at this point: 1. I think I''ll need classes called Message, StaffMember, Comment, and Attachment. I''m not sure what kind of controllers I''ll need. I think I''ll need a management interface to modify staff member records, delete messages if necessary, edit comments, delete attachments, etc. Users will need to be able to send messages an...