Piotr Sarnacki
Member of 1 project: Ruby on Rails
Piotr Sarnacki's latest activity
Thursday, November 18 2010
-
Piotr Sarnacki commented at 6:00 PMRobert: Ok, it also works on stable, my mistake. The thing that's wrong is not initializers loading, you just keep railtie definition in wrong place. environmen...
-
Piotr Sarnacki commented at 4:24 PMIt appears to work on edge, failing test didn't fail: https://github.com/drogus/rails/commit/a2c5de06fe47f85199d766de98d1...
Please use workaround and wait for...
-
Piotr Sarnacki commented at 5:02 AM@David: polymorphic_url is dumb in a way that it just maps model name to route:
polymorphic_url(Post.find(1), Comment.find(2)) #=> /posts1/comments/2 polymorph...
Thursday, October 28 2010
-
- Assigned user set to José Valim
You're right, they are no longer needed, railtie/configurable is used for all those classes.
Tuesday, October 19 2010
-
Piotr Sarnacki commented at 1:40 PMRobert Glaser: After looking at code and rethinking that, I think the only sane way to handle that is namespacing helpers in your plugin. From Ruby point of vie...
-
Wednesday, October 13 2010
-
Piotr Sarnacki commented at 1:56 PMIf you want to use :as option like that, you can set url for form_for manually. I don't know if there is some other option. I will comment here if I find someth...
-
Piotr Sarnacki commented at 10:18 AMThe reason of this error is that form_for does not know about routes. form_for uses polymorphic_url for generating url, which is based on model names. If you ha...
Tuesday, October 12 2010
-
Piotr Sarnacki commented at 3:31 PMFor those who can't use rails master and don't want to wait for 3.1, I've created small railtie that fixes problem described in that ticket: http://github.com/d...
Saturday, September 25 2010
-
Piotr Sarnacki commented at 12:40 AMCould you check your gems/plugins against rails/master? It should already work there: http://github.com/rails/rails/blob/master/railties/test/railties/en... I ...