Displaying 3 results from an estimated 3 matches for "rigart".
Did you mean:
gart
2008 May 19
4
REST urls and Authenticity Token
Hi,
I have a few questions regarding REST and the Authenticity Token. I''m
using a RESTful aproach for my small project and everything worked fine
untill I wanted to destroy a record.
Lets say we have a listing of folder (a folder is just a record) and I
want to destroy one by using this link:
<%= link_to image_tag(''icons/folder_delete.png''), {:url =>
2008 Jul 12
3
calculations on nested resources
Hi,
I can''t seem to find a solution to the folowing problem.
I have 3 resources that are all bound to eachother like this:
class Item < ActiveRecord::Base
belongs_to :item_category
// has a date and amount attr
end
class ItemCategory < ActiveRecord::Base
has_many :items
has_many :item_tops
// groups the items in categories
end
class ItemTop < ActiveRecord::Base
2010 May 22
3
Rails 3: link_to with "data-confirm"
Hi,
has anyone experienced any problems with the new link_to and
data-confirm in Rails3? It seems when you create a link with instead of
link text, an image, the confirm message isn''t shown.
<%=
link_to(
image_tag("delete.png", :alt =>
t("helpers.label.destroy")),