Daniel Lopes
Designer/Developer · Not a member
Daniel Lopes's latest activity
Saturday, April 16 2011
-
Daniel Lopes created the ticket at 2:52 AMI'm creating this ticket to send a patch to make select_tag behave like select method from form_builder's.
I tried to use prompt in select_tag but it didn't wor...
Friday, October 22 2010
-
Daniel Lopes commented at 4:09 PMNow I got what are you trying to explain. In the context of views is pretty clear when the view that call's link_to (and uses url for behind) will take his own ...
Wednesday, October 20 2010
-
Daniel Lopes commented at 11:50 PMI attached an app for the example. In the source folder I have a PostsController and an Admin::PostsController. My admin calls the cache_sweeper method and say ...
-
Daniel Lopes commented at 2:04 PMActually I any place I reference the admin namespace in the sweeper, neither in the controllers. The sweeper will expire the Admin controller without I said to ...
Tuesday, October 19 2010
-
Daniel Lopes commented at 2:36 PMAndrea, I didn't said anything about the Admin namespace in the Sweeper. That is the reason why I think this is undesired. What I think is the right thing to ex...
Thursday, August 12 2010
-
Daniel Lopes commented at 10:24 PMTo force Rails to don't use admin in path what I did was:
expire_page :controller => "/posts", :action => "show", :only_path => true
But "/posts" is as strange ...
-
Daniel Lopes created the ticket at 10:18 PM[This ticket is not a bug, somebody could close it?]
Today when I'm testing Rails 3.0 I found a behavior that I think is bug.
If you have a blog with an admin a...
Sunday, March 14 2010
-
Daniel Lopes commented at 8:28 PMThanks Valim.
About the bug, it happens because url_for call the named route when you send a record to it. In some context I don't think it's wrong, like this:
... -
Daniel Lopes commented at 5:44 PMTo be more specific the options passed to url_for is:
{:action=>"show", :controller=>"accounts", :format=>#, :use_route=>:account, :only_path=>false}
-
Daniel Lopes commented at 5:42 PMWhy this bug was assigned to milestone 3.0? It shouldn't be released with Rails 2.3.6?
The problem is with url_for method, when we send a active record object t...