ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   category_id and "new" views
Date:   2007-07-09 14:26:28
From:   comopasta
Hi, is there anybody around?


I have a problem category_id, I can define that in the database but the new recipe form won't display a field for it. However if we just call it category it will show automatically in the form for a new recipe. Any hints how to fix?


I guess I could define a new "new" view for it.


Another question where is the new.rhtml stored???


Thanks