Andrea Campi
Not a member
Andrea Campi's latest activity
Friday, November 05 2010
-
Andrea Campi created the ticket at 5:03 PMI may be overlooking something, but:
I have a functional test that uses its own mock controller, which prepares some data and ends up calling a helper.
Among ot...
Friday, October 22 2010
-
Andrea Campi commented at 3:44 PMBut calling just posts in the expire_page and not admin/posts will expire admin/posts. For me it's against of the principle of least surprise. Rails inferrers ...
-
- Tag changed from 3.0.0.rc, active_record, patch, set_table_name, table_name_prefix to active_record, patch, rails3, set_table_name, table_name_prefix
Not sure what's the difference between me and you, but I still cannot reproduce on either 3.0.0 or 3.0.1 (or edge).
Copy and pasting your exact code gives me:...
Wednesday, October 20 2010
-
Andrea Campi commented at 4:28 PMYour controller is named
Admin::PostsController. That's all the namespacing Rails needs to see.If that's not the case, you need to show more of your controller...
Tuesday, October 19 2010
-
- Tag changed from patch, tagged:x-sendfile to actiondispatch, patch, x-sendfile
-
Andrea Campi commented at 10:22 PM@Bertg: feel free to provide a patch that changes both the code and the documentation. Note that Rails is not disabling auto-detection; the developer is, if she...
-
- Tag changed from patch to generators, patch
Try looking at @railties/test/generators/scaffold_generator_test.rb@, as well as the documentation for
run_generatorsin @railties/lib/rails/generators/test_cas...
-
Andrea Campi commented at 10:09 PMThe
Sweeperitself may not be in theAdminnamespace, but you are assigning it to the @Admin::PostsController@; when#expire_pageis invoked, it invoked @#url_f...