this is in my controller def results #searches with tags @pictures = Picture.all @alltags = Tag.all searchkey = params[\'my_input\']
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.
In Exifr for rails (im using this fork https://github.com/picuous/exifr ) how do i sort out the pictures according to date
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
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
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
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
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.
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
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