http://visionmasterdesigns.com/tutorial-create-blog-using-ruby-on-rails-2-relationship/2/
Do same as with yours Category and job
On Tue, Aug 24, 2010 at 4:49 PM, Mr. Winnymann wrote:
> I have 2 models Category and Job. How do I make the user select a
> category from a list of radio buttons in t
I have 2 models Category and Job. How do I make the user select a
category from a list of radio buttons in the view/jobs/new form. How
do I then associate the job with the selected Category. Please help.
On Aug 23, 8:35 pm, "Mr. Winnymann" wrote:
> There was a mistake while pasting
>
> I am a rai
There was a mistake while pasting
I am a rails newbie and am trying to build my first app. I have a jobs
and categories controller and models respectively.
CONTROLLER:
def new
@job = Job.new
@catergory = Catergory.all
respond_to do |format|
format.html # new.html.erb
fo
3 matches
Mail list logo