this is in my controller def results #searches with tags @pictures = Picture.all @alltags = Tag.all searchkey = params[\'my_input\']
I am BRAND new to Ruby, and programing in general. I\'m working my way through the Ruby Koans. I\'ve made it up to 176/274 before getting stuck.
I am using CarrierWave with Rails 3.1. I am getting the following error message when I submit the form (trying to upload an image):
I\'m quite new to RoR and programmed a couple of things before discovering Test-Driven-Development. So I tried to write some tests with guard-rspec and capybara. All was fine, but I got some deprecati
I have a bit of ruby code: def createCal(cal) mod = @on + @off #line creating error. @daycount = 0 cal end
I am following Ryan Bates\' railcasts: http://railscasts.com/episodes/37-simple-search-form in solving my issue with the search results on a page with will-paginate.
Ok weird error. Everything was working fine.. and now its not. Currently I have a simple many to one association.
I\'m making a RoR app that has 3 resources, that are nested in this order: Projects -> Feeds -> XML_Fields.Projects has_many Feeds, Feeds has_many XML_Fields.My problem is that I am getting stuck on a
Why relationship classes attribute is not attribute? $ rs = ResourceServer.new => #<ResourceServer id: nil, resource_id: nil, server_id: nil, created_at: nil, updated_at: nil>
I\'ve never used checkboxes in rails before and can\'t figure out what I\'m doing wrong.When I try to load my page, I get an error that says NoMethodError in Dplans#show, undefined method \"merge\" fo