Displaying 4 results from an estimated 4 matches for "show_project".
2006 Jun 22
1
fade and appear effects
...te => ''project-info'',
:before => "new Effect.Fade(''project-info'')",
:success => "new Effect.Appear(''project-info'')",
:url => { :action => ''show_project'', :id =>
@project }) %>
but it doesn''t do what i want it to. it blinks several times and then
just disappears altogether. is there a simple way to accomplish this
type of effect?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 08
4
ID from child table not handled by AR
...;project''])
@project_contact = ProjectContact.new(@params[''id''])
@project.project_contact = @project_contact
#@project.project_contact.save
if @project.save
flash[:notice] = ''Project was successfully created.''
redirect_to :action => ''show_project'', :id => @project.id
else
render :action => ''edit_project''
end
end
Gerard -hope-my-mails-dont-feel-like-spam-yet- Petersen
--
"Who cares if it doesn''t do anything? It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS process ......
2006 Jan 09
2
catch id from form and copy between objects
Hi all,
Not completely sure what I''m doing, but I need to get data from another table
based on and id. Below is some breakpointer output:
irb> @params
=> {"project"=>{"project_description"=>"point2", "project_name"=>"break2"},
"action"=>"create_project",
2006 Jan 10
15
KISS and DRY? Not even close!
...#39;id''][''collect''])
@project.project_contact.first_name = contact.first_name
@project.project_contact.last_name = contact.last_name
if @project.save
flash[:notice] = ''Project was successfully created.''
redirect_to :action => ''show_project'', :id => @project.id
else
render :action => ''edit_project''
end
end
Should I have a clean go. Or shape up, go at it and simply continue?
Regards,
Gerard.
P.S. Thanks a lot for your time if you made it al the way down here!!
--
"Who cares if it doesn...