rubyonrailsin

A Ruby and Rails talk

Friday, April 2, 2010


[Rails] "new" form as partial?

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Hi!

I think I'm trying to accomplish something very common, but I can't
find a way to do it.

Creating a certain type of database record is a very frequent task in
my application (or at least it should be ;-)). So I want to be able to
place the form for creating that database record in practically any
view, not just the /mymodel/new view.

I figured that this might be done using a partial, but since I'm
pretty new to rails, I don't get it one.

Can anybody point me to a tutorial for this problem?

I'm using rails 2.3.5.

Thank you!
Marian

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive