I had 11 or so Rspec tests running sat, until I converted my project to HAML. Then when I ran my tests, I got errors such as:
I would like to centralize similar actions of some controllers and wrote a controller from which the other controllers inherites. This works fine.
I am stuck on someothing probably incredibly stupid, but I can\'t find my problem.I\'m using Rails 3.0.3, and ruby 1.9.2 on a ubuntu machine.
I开发者_运维技巧 am trying to access a rails app resource from an API (it sends an Application/XML GET request) and I would like to not have to parse the XML file.
I have a multiselect form control (fig. 1). When I select more than 1 value, Firefox sends both values (fig. 2). But only the last value gets sent as a input value to my controller (fig. 3). How do I
This is my source code def update @recipe = Recipe.find(params[:id]) respond_to do |format| if @recipe.update_attributes(params[:recipe])