I need to add a parameter for each code and name, i tried using (.+) or (.*) for each number, but it didnt work. Each space means that is a different number and not every space has the same width. Exa
Updating the code formatting for better viewing. Folks, I have been looking at this for sometime but I don\'t understand what could be messing up here. I am using Devise.
Models: class Topic < ActiveRecord::Base has_many:posts, :dependent => :destroy validates:name, :presence => true,
I have a Rails 3 app which JSON encodes objects in order to store them in a Redis key/value store. When I retrieve the objects, I\'m trying to decode the JSON and instantiate them from the data like
I have a similar situation to this question, which was already posted. Koraktor has asked I\'m using a simple model for user authorisation with two ActiveRecords User and Role User and Role have a
I\'ve got a multi layer nested form User->Tasks->Prerequisites and in the same form User->Tasks->Location
I use this to allow users to vote on an Entry: <% form_tag url_for(entry_votes_path(@entry)), :id => \'voting_form\', :remote => true do %>
Hey, Not a Rails noob but this has stumped me. With has many through associations in Rails.When I mass assign wines to a winebar through a winelist association (or through) table with something like t
I have an Account model that belongs to an account manager: class Account < ActiveRecord::Base belongs_to :account_manager, :class_name => \'User\'
so, i\'m trying to learn ruby by doing some project euler questions, and i\'ve run into a couple things i can\'t explain, and the comma ?operator? is in the middle of both. i haven\'t been able to fin