controller
Rails NoMethodError in controller
this is in my controller def results #searches with tags @pictures = Picture.all @alltags = Tag.all searchkey = params[\'my_input\'][详细]
2023-04-13 07:32 分类:问答ASP.Net MVC 3 Controller Action and Open New Window
i have a controller and an action. this action is to save data into database. and now, i want when i submit a button, my controller do an action and open new window.[详细]
2023-04-13 06:04 分类:问答Rails Pictures sort date
In Exifr for rails (im using this fork https://github.com/picuous/exifr ) how do i sort out the pictures according to date[详细]
2023-04-12 20:40 分类:问答accessing deeply nested params rails
I am writing a piece of code in my controller that is suposed to take the data a user inputs in the form of 00:00 and convert that into minutes before sending it to the model. The code I am using is p[详细]
2023-04-12 17:56 分类:问答Using 2 actions in the same view, index and show ?
How can i make a view i开发者_高级运维ndex working with 2 actions show and index in the same view ??? I`m new in ruby on rails.It\'s not quite clear why you\'d want a show method to be the same as an[详细]
2023-04-12 15:26 分类:问答Re-render/refresh same view after ajax call
I just want to ask if it is possible to re-render the same view through dojo xhrpost? On my /app/index.phtml page I have a button that will fire an action through dojo xhrpost which will call the sam[详细]
2023-04-12 06:21 分类:问答Symfony2 : extending FrameworkBundle Controller
I have a question about Symfony2 Controller extending. For the moment, I was always ext开发者_高级运维ending the FrameworkBundle one for every controller in my app. But I\'m getting sick of always ret[详细]
2023-04-12 06:05 分类:问答NUnit testing MVC Controller returns null View
My HomeController.Index() action works (in normal operation), but under NUnit testing, the ActionResult (ViewResult) that is returned always has a null View and ViewName.[详细]
2023-04-12 05:29 分类:问答Real example of TryUpdateModel, ASP .NET MVC 3
I can\'t understand, how to use TryUpdateModel and save the MVC architecture at the same time. If I am not mistaken, work with datacontexts must be in the Model. So, such code[详细]
2023-04-12 04:44 分类:问答Spring 3 MVC - using domain objects as @RequestBody
I am thinking of using domain object as @RequestBody. My domain objects are immutable objects and so they do not have any setter methods. Its a application/json request and I am using Jackson message[详细]
2023-04-12 03:11 分类:问答