controller
ArgumentError in ImagesController#index but appliaction trace is empty
I am calling the index action for a class which gives the following error: Started GET \"/images\" for 127.0.0.1 at Sun Aug 28 06:14:41 +0200 2011[详细]
2023-03-31 11:53 分类:问答User attribute will not save
My User model has an attribute called \"points\" and when I try to update it in another model controller (decrementing points), the attribute will not save (even after adding it to attr_accessible).[详细]
2023-03-31 10:36 分类:问答How do I destroy the other has_one relation when updating an association?
I have a User which has_one Widget. class User has_one :widget, :dependent => :destroy end class Widget[详细]
2023-03-31 09:10 分类:问答Binding NSTableView and NSArrayController together
I have an app controlled by a big controller. In my principal window, I have a button, which when pressed I want to open a new window where data would be stored into an NSTableView.[详细]
2023-03-31 04:35 分类:问答Zend index controller problem
I am trying to create application with Zend framework so I have created basic application structure with zf tool.[详细]
2023-03-31 00:06 分类:问答Is this a case for inheritance?
I have Rails models User, ReadingList and SessionReadingList. A user has many reading lists. A SessionReadingList is a special type of reading list for before a user has registered, stored in the sess[详细]
2023-03-30 20:31 分类:问答Rails 3 - Redirect_to / Render another controller
I have 2 controllers: Projects and Users. Both models have no relation at all. When I create a new Project I want to redirect to the new User path after saving the new project, but all my tries give[详细]
2023-03-30 19:27 分类:问答How give parameters to ExtJS controller from Ext.application
Actually I\'m creating my first ExtJS 4 MVC application. Following the application guide from documentation, I initialize my controller like that :[详细]
2023-03-30 18:05 分类:问答Which is better, return "ModelAndView" or "String" on spring3 controller
The way of return ModelAndView @RequestMapping(value = \"/list\", method = RequestMethod.GET) public ModelAndView list([详细]
2023-03-30 15:43 分类:问答Rails 3 - variable available in all controllers
I need to have a variable, that will be available in all controllers. For example, I tried something like:[详细]
2023-03-30 11:45 分类:问答
加载中,请稍侯......