i have a has_many app. Imagine Projects <> Tasks.
Creating a new tasks i can select from the dropdown the desired Project.
that works. Editing the taks , which means changing the project
association again via dropdown works as well. BUT and thats the
how do i display the project name in the tska/show view?
<%=h @task.title %>
<%=h @task.desc %>
<%=h @Project.title %> ???
<%=h render :text => Project.find_by_id(@task.project_id) %>
HOW is ths working?