Displaying 3 results from an estimated 3 matches for "entry_path".
Did you mean:
entry_patch
2009 Feb 21
1
undefined method user_id
...hoto = Photo.find_by_user_id_and_id(@logged_in_user.id,
params[:photo_id],
:include =>
:user)
@comment = @photo.comments.find(params[:id])
@comment.destroy
redirect_to entry_path(:user_id => @photo.user.id,
:id => @photo.id)
end
end
It said that the user_id is undefined when creating a new comment. Any
kind soul can tell me how to solve?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~-...
2010 Aug 13
11
Link to remote and the equivalent in Rails 3
Hi
WOW! Is Rails 3 another interesting learning curve. Just when I think
I have a general working knowledge of Rails 2 ... things change.
I''m trying to replicate the following in Rails 3:
<%= link_to_remote image_tag("creditcard.png", :border => 0), :url =>
{:action => :make_payment, :type => "Credit", :id =>
@appt.id },
2011 Jun 09
1
NFS problem
Hi,
I got the same problem as Juergen,
My volume is a simple replicated volume with 2 host and GlusterFS 3.2.0
Volume Name: poolsave
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: ylal2950:/soft/gluster-data
Brick2: ylal2960:/soft/gluster-data
Options Reconfigured:
diagnostics.brick-log-level: DEBUG
network.ping-timeout: 20
performance.cache-size: 512MB