Displaying 3 results from an estimated 3 matches for "contributor_id".
2008 Jul 23
0
Link_to_remote object missing
...t;contributor.<%= contributor.id %>">
<% link_to_remote image_tag(''delete.png'', :size =>
''16x16'', :alt => ''Destroy''),
delete_contributor_project_path(@project),
:method => :put, :contributor_id =>
contributor.id %>
<%= contributor.user.name %>
</li>
<% end %>
</ul>
I get this error:
ActionView::TemplateError (You have a nil object when you didn''t
expect it!
You might have expected an instance of ActiveRecord::Base.
The error occur...
2006 Apr 09
4
Inheritance via Though Associations?
I posted something about this a week ago wihtout response, but have made some
progress since. However, I''m still not getting exactly what I want.
OK, three core tables:
create_table :reference_items do |t|
t.column :title, :string, :limit => 255
t.column :year, :integer, :limit => 4
t.column :type, :string
t.column
2008 Jul 24
1
How to add link_to_remote element with RJS?
...uot;>
<%= link_to_remote image_tag(''delete.png'', :size =>
''16x16'', :alt => ''Destroy''),
:url => {:action =>
"delete_contributor", :id => @project,
:contributor_id =>
contributor.id},
:method => :put %>
<%= contributor.user.name %>
</li>
How could I do this with RJS?, is it possible?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to...