actioncontroller
ActionController::RoutingError: No route matches [POST]
require \'test_helper\' class MyTest < ActionController::IntegrationTest test \"view posts from login page\" do[详细]
2023-04-13 01:44 分类:问答How to prevent force_ssl from destroying params in redirect?
I have the following route: resources :widgets do 开发者_开发问答 resources :orders end so that a request, e.g. to /widgets/1/orders/new goes to OrderController, which can access params[:widget_id[详细]
2023-04-12 08:57 分类:问答NameError uninitialized constant in Jruy/Rails 3
I\'m upgrading a project to Rails 3.1 and Jruby 1.6.4 from rails 2.6 I followed the Rails Handbook by Jeremy.[详细]
2023-04-10 18:53 分类:问答How do I unit test the zend action controller?
I need to rapidly build good software in php and 开发者_Python百科using the zend framework. I try to go at this in a TDD way because its people more experienced than me told me that was the best way t[详细]
2023-04-07 09:53 分类:问答testing a that Rails controller chooses a layout without rendering the layout
i\'d like to stub out render and i\'d like to test that a certain layout is chosen bonus catch: in the test env, that layout file will not exist[详细]
2023-03-31 21:13 分类:问答Transfer only a part of properties in a class in struts' json
Sorry, I really don\'t know how to summarize the title of this question. So, the title may not be clear.[详细]
2023-03-25 17:17 分类:问答How to disable rendering the view in ActionController TestCase (Rails 3.0.9)
What\'s the prope开发者_运维技巧r way to disable ActionController::TestCase to actually render the views?[详细]
2023-03-19 16:46 分类:问答How to update multiple records' attributes from check boxes in Rails 3?
I have an attribute to add a page to my site\'s navigation (its a boolean) and I want to be able to turn pages on and off from check boxes all at once. I tried following this railscast:[详细]
2023-03-12 10:28 分类:问答Where to put OAuth logic?
I\'m using Zend Framework in a project, and I\'m creating a controller only for authentication. In this project we\'ll accept that a user signs up through a account of other sites like facebook, twitt[详细]
2023-03-11 11:51 分类:问答Retrieve a record's created_by field to a passed in month and year in Rails3?
Im trying to make a side bar for my blog archive that lists out all the months for my blog entries, so when you click on a link such as \"June 2007\" all the blogs from June 07 are loaded.[详细]
2023-03-10 17:04 分类:问答