inetufo
Not a member
inetufo's latest activity
Wednesday, October 20 2010
-
inetufo created the ticket at 3:07 PMI define a method in ApplicationHelper module
module ApplicationHelper
def mymethod endend
class MyController < ApplicationController
def show
...mymethod
Sunday, October 17 2010
-
inetufo commented at 4:12 PMI found a solution already by specifying the :controller param
resources :users do
resource :wall, :controller => "wall" do
post :add_commentend end
-
inetufo commented at 4:09 PMall above the ruby version is ruby 1.8.7, use gem updating everything to the lasted version
-
inetufo commented at 3:55 PMI have tested this issue under several environments
1. Windows7 rails3 IE8, cookies can be saved: No
2. Windows7 rails 2.3.9, cookies can be saved: Yes3.Window...
-
inetufo created the ticket at 11:27 AMI put this code in my controller's action
cookies[:name] = { :value => "test" , :expires => 2.hours.from_now }and i found out that the cookies...
Saturday, October 16 2010
-
inetufo commented at 9:17 AMThanks for the reply, but in my situation, a user just has one wall.I mean the url is like http://xxx/user/:user_id/wall, and will never be http://xxx/user/:use...
-
inetufo created the ticket at 8:26 AMresources :users do
resource :wall do post :add_comment end endend
and the route generated is
user_wall POST /users/:user_id/wall(.:format) {:control...
Monday, October 04 2010
-
inetufo created the ticket at 7:33 PM<%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %>
when the confirm dialog shows, the request has already posted and the destroy ac...