Ruby on Rails is an open-source web development framework written in Ruby.
After updating the gems I've got this: /home/megas/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/psych.rb:148:in `parse': couldn't …
ruby-on-rails-3 yaml redclothI am a beginner in rails and jQuery. I have two separate forms in one page and I want to …
jquery ajax ruby-on-rails-3I have a Rails app that I'm trying to test in the production environment. I ran RAILS_ENV=production rake …
ruby-on-rails ruby-on-rails-3 asset-pipelineI know that you can ask ActiveRecord to list tables in console using: ActiveRecord::Base.connection.tables Is there a …
sql ruby-on-rails ruby-on-rails-3 activerecordI wanna do something like this in rails Here is what I have so far in rails: <%= form_for @…
ruby-on-rails ruby ruby-on-rails-3 forms hidden-fieldform_for seems to ignore any 'extra' attributes like a data-foo attribute or class passed as options in its second …
ruby-on-rails ruby-on-rails-3I am trying to define the action "savenew" in admin/photographers controller. I have tried this: <%= simple_form_for(:…
ruby-on-rails ruby ruby-on-rails-3 simple-formIn the Rails 3 docs, the build method for associations is described as being the same as the new method, but …
ruby-on-rails ruby-on-rails-3 associationsI currently have a login popup in my header bar which is on every page in my website. I want …
ruby-on-rails ruby ruby-on-rails-3 url-routingIn Rails we can do the following in case a value doesn't exist to avoid an error: @myvar = @comment.try(:…
ruby-on-rails ruby ruby-on-rails-3 hash