Gang Of Coders
Home
About Us
Contact Us
All Ruby on-Rails-3 Solutions on Gang of Coders
Total of 387 Ruby on-Rails-3 Solutions
How can I rename a database column in a Ruby on Rails migration?
Ruby on-Rails
Ruby on-Rails-3
Migration
Rename
Alter Table
Can't find the 'libpq-fe.h header when trying to install pg gem
Ruby on-Rails
Ruby on-Rails-3
Postgresql
Rails Postgresql
Pg
How to get a random number in Ruby
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-4
Random
How to remove a key from Hash and get the remaining hash in Ruby/Rails?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hashmap
Ruby Hash
Purge or recreate a Ruby on Rails database
Ruby on-Rails
Ruby on-Rails-3
Rake
Rails DB Migration - How To Drop a Table?
Ruby on-Rails
Ruby on-Rails-3
Migration
Rollback
Drop Table
How to reverse a 'rails generate'
Ruby
Ruby on-Rails-3
Rails Generate
How can I specify a local gem in my Gemfile?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rubygems
Bundler
Rails update_attributes without save?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-4
Rails Activerecord
Adding a column to an existing table in a Rails migration
Ruby on-Rails-3
No route matches "/users/sign_out" devise rails 3
Ruby on-Rails
Ruby on-Rails-3
Devise
Routes
How can I disable logging of asset pipeline (sprockets) messages in Ruby on Rails 3.1?
Ruby on-Rails
Ruby on-Rails-3
Asset Pipeline
Sprockets
Rails Sprockets
How to empty a Heroku database
Ruby on-Rails-3
Heroku
Separate REST JSON API server and client?
Ruby on-Rails-3
Rest
backbone.js
Sinatra
ember.js
Rails: How to run `rails generate scaffold` when the model already exists?
Ruby on-Rails
Ruby on-Rails-3
How to run a single RSpec test?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rspec
Replace words in a string - Ruby
Ruby
Ruby on-Rails-3
Best way to load module/class from lib folder in Rails 3?
Ruby on-Rails
Class
Module
Autoload
Ruby on-Rails-3
Rails - Could not find a JavaScript runtime?
Javascript
Ruby on-Rails
Ruby on-Rails-3
node.js
Ruby on-Rails-3.1
How to make a HTTP request using Ruby on Rails?
Ruby
Ruby on-Rails-3
Http
Request
rmagick gem install "Can't find Magick-config"
Ruby on-Rails-3
Rubygems
Imagemagick
Rvm
Rmagick
How to restart a rails server on Heroku?
Ruby on-Rails
Ruby on-Rails-3
Heroku
Add a CSS class to <%= f.submit %>
Ruby on-Rails
Css
Ruby on-Rails-3
Use rvmrc or ruby-version file to set a project gemset with RVM?
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-3.2
Rvm
Rvmrc
Rails - How to use a Helper Inside a Controller
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-5
Change a column type from Date to DateTime during ROR migration
Mysql
Ruby on-Rails
Ruby
Ruby on-Rails-3
Migration
How to replace a hash key with another key
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hash
ActiveRecord: size vs count
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails Activerecord
Best way to pretty print a hash
Ruby
Ruby on-Rails-3
Understanding :source option of has_one/has_many through of Rails
Ruby on-Rails-3
Rails Activerecord
Validate uniqueness of multiple columns
Ruby on-Rails
Ruby on-Rails-3
Validation
Activerecord
Rails Activerecord
Is it possible to run a single test in MiniTest?
Ruby
Ruby on-Rails-3
Minitest
What is the right way to override a setter method in Ruby on Rails?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Overriding
Setter
ActiveRecord OR query
Ruby on-Rails
Ruby on-Rails-3
Rails Activerecord
Repairing Postgresql after upgrading to OSX 10.7 Lion
Ruby on-Rails
Ruby on-Rails-3
Macos
Postgresql
Osx Lion
Ruby on Rails Callback, what is difference between :before_save and :before_create?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Validation
How do I fix the "You don't have write permissions into the /usr/bin directory" error when installing Rails?
Ruby on-Rails-3
rake db:schema:load vs. migrations
Ruby on-Rails
Ruby on-Rails-3
Migration
How to generate controller inside namespace in rails
Ruby on-Rails
Ruby on-Rails-3
How do you manually execute SQL commands in Ruby On Rails using NuoDB
Sql
Ruby on-Rails-3
Activerecord
Nuodb
rails simple_form - hidden field - create?
Ruby on-Rails
Ruby on-Rails-3
Form For
Hidden Field
Simple Form
Equivalent of .try() for a hash to avoid "undefined method" errors on nil?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hash
Rails: validate uniqueness of two columns (together)
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-4
Activerecord
Rails Activerecord
Ignoring time zones altogether in Rails and PostgreSQL
Ruby on-Rails
Ruby on-Rails-3
Postgresql
Datetime
Timezone
do..end vs curly braces for blocks in Ruby
Ruby on-Rails
Ruby
Ruby on-Rails-3
Coding Style
How to get a specific "commit" of a gem from github?
Ruby on-Rails-3
Gem
belongs_to through associations
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Rails 3: I want to list all paths defined in my rails application
Ruby on-Rails
Ruby on-Rails-3
Routes
How can I tell Rails to use RSpec instead of test-unit when creating a new Rails app?
Ruby on-Rails-3
Rspec
Rspec2
Testunit
Adding :default => true to boolean in existing Rails column
Ruby on-Rails-3
Migration
Best way to add page specific JavaScript in a Rails 3 app?
Javascript
Ruby on-Rails
Ruby on-Rails-3
Best way to create unique token in Rails?
Ruby on-Rails
Ruby on-Rails-3
Random
Guid
Rails 3 check if attribute changed
Ruby on-Rails
Ruby on-Rails-3
Rails 3 datatypes?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails Activerecord
Can't find the PostgreSQL client library (libpq)
Ruby on-Rails
Ruby on-Rails-3
Postgresql
Rubygems
How to chain scope queries with OR instead of AND?
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Rails Activerecord
leading zeros in rails
Ruby
Regex
Ruby on-Rails-3
Rails 3.1 and Image Assets
Ruby on-Rails
Ruby on-Rails-3
Can someone explain collection_select to me in clear, simple terms?
Ruby on-Rails
Ruby on-Rails-3
Rails: Open link in new tab (with 'link_to')
Ruby on-Rails
Ruby
Ruby on-Rails-3
Checking if a variable is an integer
Ruby
Ruby on-Rails-3
Rails hidden field undefined method 'merge' error
Ruby on-Rails
Ruby
Ruby on-Rails-3
Forms
Hidden Field
How to get current path with query string using Capybara
Ruby on-Rails
Ruby on-Rails-3
Rspec
Capybara
Rails: FATAL - Peer authentication failed for user (PG::Error)
Ruby on-Rails
Postgresql
Ruby on-Rails-3
Ruby on-Rails-3.1
Ubuntu 11.10
Deleting all records in a database table
Ruby on-Rails
Ruby
Database
Ruby on-Rails-3
How do I remove the Devise route to sign up?
Ruby on-Rails-3
Routing
Devise
No route matches [GET] /assets
Ruby on-Rails
Ruby on-Rails-3
Asset Pipeline
Specifying column name in a "references" migration
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Rails Migrations
API Versioning for Rails Routes
Ruby on-Rails
Ruby on-Rails-3
Routes
Versioning
Lost my schema.rb! Can it be regenerated?
Ruby on-Rails
Ruby on-Rails-3
Git
When to use a "has_many :through" relation in Rails?
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Pass a variable into a partial, rails 3?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails respond_with: how does it work?
Ruby on-Rails
Ruby on-Rails-3
How do I clear stuck/stale Resque workers?
Ruby on-Rails
Ruby on-Rails-3
Heroku
Redis
Resque
Strip html from string Ruby on Rails
Html
Ruby
String
Ruby on-Rails-3
NoMethodError: undefined method `last_comment' after upgrading to rake 11
Ruby on-Rails
Ruby on-Rails-3
Rake
Rails 3: "field-with-errors" wrapper changes the page appearance. How to avoid this?
Ruby on-Rails
Ruby on-Rails-3
Validation
Field with-Errors
Pass ruby script file to rails console
Ruby
Ruby on-Rails-3
Rails 3: Get Random Record
Ruby on-Rails
Ruby
Ruby on-Rails-3
Activerecord
Random
How do I create a class instance from a string name in ruby?
Ruby
Ruby on-Rails-3
Undefined method 'task' using Rake 0.9.0
Ruby on-Rails-3
Rake
Emacs Ruby autocomplete almost working
Ruby on-Rails-3
Emacs
Ide
Elisp
Get Error: You must install at least one postgresql-client-<version> package when deploy to heroku
Ruby on-Rails-3
Postgresql
Heroku
Rails Model find where not equal
Ruby on-Rails
Ruby on-Rails-3
What is the difference between `after_create` and `after_save` and when to use which?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Resque vs Sidekiq?
Ruby
Ruby on-Rails-3
Resque
Sidekiq
Devise form within a different controller
Ruby on-Rails
Ruby on-Rails-3
Devise
ActiveRecord: List columns in table from console
Sql
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Rails has_and_belongs_to_many migration
Ruby on-Rails
Ruby on-Rails-3
Migration
Has and-Belongs-to-Many
Convert duration to hours:minutes:seconds (or similar) in Rails 3 or Ruby
Ruby on-Rails
Ruby
Datetime
Ruby on-Rails-3
Can you do greater than comparison on a date in a Rails 3 search?
Ruby on-Rails
Activerecord
Ruby on-Rails-3
Build vs new in Rails 3
Ruby on-Rails
Ruby on-Rails-3
Associations
Rails: redirect_to with :error, but flash[:error] empty
Ruby on-Rails-3
Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?
Ruby on-Rails
Ruby
Postgresql
Ruby on-Rails-3
Ruby on-Rails-4
Removing all installed Gems and starting over
Ruby
Macos
Ruby on-Rails-3
Rubygems
Rvm
Change the name of the :id parameter in Routing resources for Rails
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails 3.1: Engine vs. Mountable App
Ruby on-Rails-3
Ruby on-Rails-Plugins
Rails Engines
Ruby on-Rails-3.1
WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Ruby on-Rails
Ruby on-Rails-3
Eager load polymorphic
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Find all records which have a count of an association greater than zero
Sql
Ruby on-Rails
Ruby on-Rails-3
Activerecord
How to display unique records from a has_many through relationship?
Ruby on-Rails
Unique
Distinct
Ruby on-Rails-3
How do I run a Ruby file in a Rails environment?
Ruby on-Rails
Ruby
Ruby on-Rails-3
How to add 10 days to current time in Rails
Ruby on-Rails
Datetime
Ruby on-Rails-3
Activesupport
Rails: How to change the text on the submit button in a Rails Form
Ruby on-Rails
Ruby on-Rails-3
Index on multiple columns in Ruby on Rails
Ruby on-Rails
Ruby on-Rails-3
Database Design
Indexing
How to delete migration files in Rails 3
Ruby on-Rails
Ruby on-Rails-3
File Io
Rails - link_to helper with data-* attribute
Ruby on-Rails
Ruby on-Rails-3
Html
find() with nil when there are no records
Ruby on-Rails
Ruby
Ruby on-Rails-3
Activerecord
Best way to add "current" class to nav in Rails 3
Navigation
Ruby on-Rails-3
Rails - Validate Presence Of Association?
Ruby on-Rails
Ruby on-Rails-3
Validation
Activerecord
rails install pg - Can't find the 'libpq-fe.h header
C
Ruby on-Rails
Sqlite
Ruby on-Rails-3
Pg
curl json post request via terminal to a rails app
Json
Ruby on-Rails-3
Macos
Curl
Terminal
Heroku push rejected, no Cedar-supported app detected
Ruby on-Rails
Ruby on-Rails-3
Heroku
Thin web server: `start_tcp_server': no acceptor (RuntimeError) after git branch checkout
Ruby on-Rails-3
Git
Thin
How do I strip non alphanumeric characters from a string and keep spaces?
Ruby on-Rails
Ruby
Regex
Ruby on-Rails-3
Turn off CSRF token in rails 3
Ruby on-Rails-3
Csrf
How to show current year in view?
Ruby on-Rails
Ruby on-Rails-3
PG undefinedtable error relation users does not exist
Ruby on-Rails
Database
Ruby on-Rails-3
Oauth 2.0
Rake Task
Devise password reset from Rails console
Ruby on-Rails
Ruby
Ruby on-Rails-3
Devise
Rails Console
I need to generate uuid for my rails application. What are the options(gems) I have?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Guid
Uuid
Net::SMTPAuthenticationError when sending email from Rails app (on staging environment)
Ruby on-Rails
Ruby on-Rails-3
Gmail
How to comment lines in rails html.erb files?
Ruby on-Rails
Ruby on-Rails-3
What is the best way to uninstall gems from a rails3 project?
Ruby on-Rails-3
Uninstallation
Bundler
Rails: How to get the model class name based on the controller class name?
Ruby on-Rails
Ruby on-Rails-3
How to fix the uninitialized constant Rake::DSL problem on Heroku?
Ruby on-Rails
Ruby on-Rails-3
Heroku
Rake
Capybara Ambiguity Resolution
Ruby on-Rails-3
Rspec
Capybara
Convert UTC to local time in Rails 3
Ruby on-Rails
Ruby
Ruby on-Rails-3
Timezone
Activesupport
Path helpers generate paths with dots instead of slashes
Ruby on-Rails
Ruby on-Rails-3
ActiveRecord find and only return selected columns
Ruby on-Rails
Ruby on-Rails-3
Rails Activerecord
Use Rails’ form_for but set custom classes, attributes on <form> element?
Ruby on-Rails
Ruby on-Rails-3
Using Rails link_to for links that post
Ruby on-Rails
Ruby on-Rails-3
Post
Ruby on-Rails-3.2
Link To
Remove ActiveRecord in Rails 3
Ruby on-Rails
Ruby on-Rails-3
Check if record exists from controller in Rails
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Exists
Share database between 2 apps in Heroku
Ruby on-Rails-3
Heroku
How to get rspec-2 to give the full trace associated with a test failure?
Ruby
Ruby on-Rails-3
Testing
Rspec
Rspec2
Rails auto-assigning id that already exists
Ruby on-Rails
Ruby on-Rails-3
Postgresql
Rails: Order with nulls last
Ruby on-Rails
Ruby on-Rails-3
Sorting
Activerecord
Null
validation custom message for rails 3
Ruby on-Rails
Ruby
Ruby on-Rails-3
Validation
Activerecord
Rails 3 Migration with longtext
Ruby on-Rails
Migration
Ruby on-Rails-3
Is it possible to set ENV variables for rails development environment in my code?
Ruby on-Rails
Ruby on-Rails-3
How to change navbar collapse threshold using Twitter bootstrap-responsive?
Css
Ruby on-Rails-3
Twitter Bootstrap
How to check if a number is included in a range (in one statement)?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Numbers
Range
Rails: How to find_by a field containing a certain string
Sql
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-3.1
Rails bundle install production only
Ruby on-Rails-3
Bundler
Rails routing to handle multiple domains on single application
Ruby on-Rails
Ruby on-Rails-3
Routing
Routes
Subdomain
How to run rails s -p80 on 80 port?
Ruby on-Rails
Ruby on-Rails-3
How to create and use a module using Ruby on Rails 3?
Ruby on-Rails-3
Module
How do I prepare test database(s) for Rails rspec tests without running rake spec?
Ruby on-Rails
Ruby on-Rails-3
Rspec
Rspec2
Specjour
Postgres error "invalid value for parameter "TimeZone": "UTC""
Ruby on-Rails-3
Postgresql
Use a scope by default on a Rails has_many relationship
Ruby on-Rails-3
Activerecord
Has Many
Syntax to skip creating tests, assets & helpers for `rails generate controller`?
Ruby on-Rails
Ruby on-Rails-3
Generator
Hash remove all except specific keys
Ruby on-Rails
Ruby
Ruby on-Rails-3
How to downgrade bundler or upgrade rails?
Ruby on-Rails-3
Gem
Bundler
Omniauth
Gem Bundler
Rails Migration to make a column null => true
Ruby on-Rails-3
Migration
Rails 3: How to "redirect_to" in Ajax call?
Ruby on-Rails
Ajax
Ruby on-Rails-3
Redirect
Factory-girl create that bypasses my model validation
Ruby on-Rails
Ruby on-Rails-3
Rspec
Factory Bot
Rspec Rails
Rails- nested content_tag
Ruby on-Rails
Ruby on-Rails-3
Helpers
Stubbing authentication in request spec
Ruby on-Rails-3
Rspec
Integration Testing
Stubbing
How to define a reply-to address?
Ruby on-Rails-3
Actionmailer
Rails migration: best way to retrieve current migration version
Ruby on-Rails
Ruby on-Rails-3
Ruby on Rails 3 Can't connect to local MySQL server through socket '/tmp/mysql.sock' on OSX
Mysql
Ruby on-Rails-3
Macos
Rails Admin vs. ActiveAdmin
Ruby on-Rails
Ruby
Ruby on-Rails-3
Activeadmin
Ruby on-Rails-Plugins
Ruby output contents of an array as a comma separated string Ruby
Ruby
Arrays
Ruby on-Rails-3
Cannot execute "rails console" due to an error with readline
Ruby on-Rails
Ruby
Ruby on-Rails-3
Homebrew
Rbenv
Setting Devise Login to be root page
Ruby on-Rails
Ruby on-Rails-3
Devise
Global access to Rake DSL methods is deprecated
Ruby on-Rails-3
Rake
railstutorial.org
Rails -- use type column without STI?
Ruby on-Rails
Ruby on-Rails-3
Single Table-Inheritance
String "true" and "false" to boolean
Jquery
Ruby on-Rails
Ruby
Ruby on-Rails-3
before_filter with parameters
Ruby on-Rails
Ruby
Ruby on-Rails-3
Before Filter
Should I specify exact versions in my Gemfile?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rubygems
Bundler
How to instantiate class from name string in Rails?
Ruby on-Rails
Ruby on-Rails-3
String
Class
Instantiation
SimpleForm without for (non model form)
Ruby on-Rails
Ruby on-Rails-3
Simple Form
In Ruby on Rails, to extend the String class, where should the code be put in?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails 3: How to get today's date in specific timezone?
Ruby on-Rails
Ruby on-Rails-3
Date
Timezone
rails - "WARNING: Can't verify CSRF token authenticity" for json devise requests
Ruby on-Rails-3
Ruby on-Rails-3.1
Devise
Csrf
How to get a single column's values into an array
Ruby on-Rails
Ruby
Ruby on-Rails-3
How to have a drop down <select> field in a rails form?
Ruby on-Rails
Ruby on-Rails-3
Drop Down-Menu
Input
Selectlist
"Order by" result of "group by" count?
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Sql Order-By
how to safely replace all whitespaces with underscores with ruby?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Why do routes with a dot in a parameter fail to match?
Ruby on-Rails
Ruby on-Rails-3
Routing
Rails - Best-Practice: How to create dependent has_one relations
Ruby on-Rails
Ruby
Activerecord
Ruby on-Rails-3
Associations
unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)
Ruby on-Rails
Ruby
Ruby on-Rails-3
Firefox
Automated Tests
How to use basic authentication with httparty in a Rails app?
Ruby
Ruby on-Rails-3
Httparty
Rails: how can I get unique values from column
Ruby on-Rails
Ruby on-Rails-3
Unique
How to define an array / hash in factory_bot?
Ruby on-Rails-3
Rspec
Factory Bot
When to use self in Model?
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-3.1
Self
Remove duplicate records based on multiple columns?
Ruby on-Rails-3
Activerecord
Duplicates
Destroy
Why is my custom rake task in lib/tasks not discovered in Rails 3?
Ruby on-Rails
Ruby on-Rails-3
Rake
How do I check if a class is defined?
Ruby
Ruby on-Rails-3
Class
Defined
Scope with join on :has_many :through association
Ruby on-Rails
Ruby on-Rails-3
Submit form in rails 3 in an ajax way (with jQuery)
Jquery
Ajax
Ruby on-Rails-3
Where to put Ruby helper methods for Rails controllers?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-3.2
View Helpers
Connecting Rails 3.1 with Multiple Databases
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails Activerecord
Activeresource
Rails .where vs .find
Ruby on-Rails
Ruby on-Rails-3
Find duplicate rows with PostgreSQL
Sql
Database
Ruby on-Rails-3
Duplicates
Postgresql 9.2
In Rails, what's the difference between find_each and where?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-4
Activerecord
rails error, couldn't parse YAML
Ruby on-Rails-3
Yaml
Redcloth
incompatible character encodings: ASCII-8BIT and UTF-8
Ruby on-Rails
Ruby
Ruby on-Rails-3
Haml
Rails where date is greater than given date query
Sql
Ruby on-Rails-3
Generate migration - create join table
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-4
Migration
Jointable
Alias for column names in Rails
Ruby on-Rails
Database
Ruby on-Rails-3
Activerecord
When to use `save` vs `save!` in model?
Ruby on-Rails-3
ActiveRecord Find By Year, Day or Month on a Date field
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Rails Activerecord
Parsing string to add to URL-encoded URL
Ruby on-Rails
Ruby
Ruby on-Rails-3
ruby DateTime parsing from 'mm/dd/yyyy' format
Ruby
Ruby on-Rails-3
Routing to static html page in /public
Ruby on-Rails
Ruby on-Rails-3
Url
Routing
Rails 3 skip validations and callbacks
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Rails 4 Strong parameters : permit all attributes?
Ruby on-Rails
Ruby on-Rails-3
Strong Parameters
Ruby on Rails Routes - difference between get and match
Ruby on-Rails
Ruby on-Rails-3
Rails 3.1, RSpec: testing model validations
Ruby on-Rails
Ruby on-Rails-3
Rspec
Rspec2
Rspec Rails
Rails validation required numericality even though presence is not set to true
Ruby on-Rails
Ruby
Ruby on-Rails-3
Can we call a Controller's method from a view (as we call from helper ideally)?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-3.1
PG::Error: SELECT DISTINCT, ORDER BY expressions must appear in select list
Ruby on-Rails
Ruby
Ruby on-Rails-3
Postgresql
Distinct
Rails 3 / Form without Model: How do I create a form that is not tied to a model?
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Passing parameters to partial view
Ruby on-Rails
Ruby on-Rails-3
Rails: Validate unique combination of 3 columns
Ruby on-Rails
Ruby on-Rails-3
How to delete all contents of a folder with Ruby-Rails?
Ruby
Ruby on-Rails-3
Embedding JSON Data into YAML file
Ruby on-Rails
Ruby
Ruby on-Rails-3
Json
Yaml
Differences in rails between new + save and create
Ruby on-Rails
Ruby on-Rails-3
gem install json -v 1.7.3 gives 'Please update your PATH to include build tools'
Ruby on-Rails-3
Json
Windows 8
Build Tools
Rails 3 - Ideal way to set title of pages
Ruby on-Rails-3
Rails 3 Finding day of week
Ruby on-Rails-3
Rails 3. How to display two decimal places in edit form?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Forms
Can I get the Ruby on Rails console to remember my command history, umm, better?
Ruby on-Rails-3
Rails Console
How to use unscoped on associated relations in Rails3?
Ruby on-Rails
Ruby on-Rails-3
Scope
Arel
Rails + New Relic: What does RPM mean?
Ruby on-Rails
Ruby on-Rails-3
Rpm
Newrelic
How to set config.action_controller.default_url_options = {:host = '#''} on per environment basis
Ruby on-Rails
Ruby on-Rails-3
Actioncontroller
Find or create record through factory_girl association
Ruby
Ruby on-Rails-3
Cucumber
Factory Bot
How to get a query string from a URL in Rails
Ruby on-Rails
Ruby
Ruby on-Rails-3
Using a Rails helper method within a javascript asset
Javascript
Ruby on-Rails
Ruby on-Rails-3
Asset Pipeline
Erubis
Does has_secure_password use any form of salting?
Ruby on-Rails
Ruby on-Rails-3
Encryption
Passwords
Salt
How to change hash keys from `Symbol`s to `String`s?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hash
Cookies vs Sessions with CookieStore
Ruby on-Rails
Ruby on-Rails-3
Session
Cookies
How to add confirm message with link_to Ruby on rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-3.1
Ruby on-Rails-3.2
Link To
Sidekiq not processing queue
Ruby on-Rails-3
Redis
Sidekiq
Ruby on Rails - Render JSON for multiple models
Ruby on-Rails
Json
Ruby on-Rails-3
Render
Is there a Rails Console command (Rails 3+) to reload changed code?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby syntax: break out from 'each.. do..' block
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-3.1
Difference between Active Model, Active Record and Active Resource
Ruby on-Rails-3
Rails Activerecord
Activemodel
Activeresource
Rails how to delete a file without failing on error
Ruby on-Rails
Ruby
Ruby on-Rails-3
How to display a Rails flash notice upon redirect?
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-3.2
Ruby on-Rails-4
Rails Flash
How do I describe an enumeration column in a Rails 3 migration?
Ruby
Ruby on-Rails-3
Enums
Migration
Ruby on Rails 3 : "superclass mismatch for class ..."
Ruby on-Rails
Ruby
Ruby on-Rails-3
Is there an easy way to make a Rails ActiveRecord model read-only?
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Include blank for first item in select list in options_for_select tag
Ruby on-Rails
Ruby on-Rails-3
Erb
Html Select
Does rename_column take care of indexes?
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Rails Activerecord
Database Indexes
How can I pass a parameter for gem installation when I run bundle install?
Ruby on-Rails
Ruby on-Rails-3
Gem
Bundler
Ruby on Rails Generating Views
Ruby on-Rails-3
Views
Scaffold
Rails, Ruby, how to sort an Array?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Why am I getting infinite redirect loop with force_ssl in my Rails app?
Ruby on-Rails
Ruby on-Rails-3
Redirect
Ssl
Nginx
file download link in rails
Ruby on-Rails
Ruby on-Rails-3
Hyperlink
Download
Link To
Rails 3: How to create a new nested resource?
Ruby on-Rails
Ruby on-Rails-3
How can I specify a gem to pull from a private github repository?
Ruby on-Rails-3
Github
Heroku
In Rails, how to see all the "path" and "url" methods added by Rails's routing? (update: using Rails console)
Ruby on-Rails
Ruby on-Rails-3
Validate presence of field only if another field is blank - Rails
Ruby on-Rails
Ruby on-Rails-3
Why do Ruby on Rails professionals NOT use Scaffolding?
Ruby on-Rails
Ruby on-Rails-3
Scaffolding
Undefined local variable or method `unconfirmed_email' when registering users?
Ruby on-Rails
Ruby on-Rails-3
Devise
How can I change cols of textarea in twitter-bootstrap?
Ruby on-Rails-3
Twitter Bootstrap
Can I use font-awesome icons on emails
Ruby on-Rails
Ruby on-Rails-3
Font Awesome
Rails - Find By with 2 fields?
Ruby on-Rails
Ruby on-Rails-3
MongoDB vs MySQL
Mysql
Activerecord
Comparison
Mongodb
Ruby on-Rails-3
How can I run a command five times using Ruby?
Ruby
Ruby on-Rails-3
Rails 3: How to identify after_commit action in observers? (create/update/destroy)
Ruby on-Rails
Ruby on-Rails-3
Transactions
Observer Pattern
Haml: How to set inline style for element in HAML
Ruby on-Rails-3
Haml
Role does not exist and unable to create database when using PostgreSQL
Ruby on-Rails
Ruby
Ruby on-Rails-3
Postgresql
Using send_file to download a file from Amazon S3?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Amazon S3
Ruby on-Rails-3.2
:as in rails routes.rb
Ruby on-Rails
Ruby
Ruby on-Rails-3
Routing
Find the newest record in Rails 3
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails order by results count of has_many association
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Ruby on Rails 3 - Reload lib directory for each request
Ruby on-Rails
Reload
Rails Engines
Ruby on-Rails-3
Heroku push rejected, failed to install gems via Bundler
Ruby on-Rails
Rubygems
Heroku
Ruby on-Rails-3
Bundler
Confusion about rake assets:clean / cleanup on the asset pipeline in rails
Ruby on-Rails
Ruby on-Rails-3
Asset Pipeline
How to write SQL in a migration in Rails
Sql
Postgresql
Ruby on-Rails-3
Migration
Rails Activerecord
Rails: How to set a background image in rails from css?
Css
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-3.2
Background Image
How to rename rails 4 app?
Ruby on-Rails-3
Ruby on-Rails-4
Upgrading from Rails 3 to Rails 3.1
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-3.1
Rails, How to render a view/partial in a model
Ruby on-Rails
Ruby
Ruby on-Rails-3
Does accepts_nested_attributes_for work with belongs_to?
Ruby on-Rails-3
Nested Attributes
Belongs To
Ruby rails - select only few columns from the data base
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails Activerecord
Ruby on rails 4 app does not work in iframe
Ruby on-Rails
Ruby on-Rails-3
Iframe
Ruby on-Rails-4
Rails 3 authentication solutions
Ruby on-Rails
Authentication
Plugins
Rubygems
Ruby on-Rails-3
Rails: How to get all parameters from url?
Ruby on-Rails
Ruby on-Rails-3
Rails Migration with adding and removing reference
Ruby
Ruby on-Rails-3
Rails Migrations
If I have a hash in Ruby on Rails, is there a way to make it indifferent access?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Block commenting in Gedit?
Ruby on-Rails
Ruby on-Rails-3
Gedit
Rails 3 ActiveRecord: Order by count on association
Mysql
Ruby on-Rails
Ruby on-Rails-3
Activerecord
How to undefine class in Ruby?
Ruby
Ruby on-Rails-3
Activerecord
Rails naming convention for join table
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-3.1
Rails Migrations
How can I password-protect my /sidekiq route (i.e. require authentication for the Sidekiq::Web tool)?
Ruby
Ruby on-Rails-3
Redis
Rescue
Sidekiq
How to fix bad URI is not URI
Ruby
Ruby on-Rails-3
Uri
Rails migrations - change_column with type conversion
Ruby on-Rails
Ruby on-Rails-3
How do you scope ActiveRecord associations in Rails 3?
Ruby on-Rails
Activerecord
Ruby on-Rails-3
Named Scope
Arel
Rails: is there an Engine.root?
Ruby on-Rails-3
STI, one controller
Ruby on-Rails
Ruby
Ruby on-Rails-3
Undefined method `image_will_change!' for CarrierWave on Heroku
Ruby on-Rails-3
Heroku
Carrierwave
Is it possible to configure Paperclip to produce HTTPS urls for S3?
Ruby on-Rails
Ruby on-Rails-3
Amazon S3
Paperclip
rails, simple_form, how to set selected index of a collection when page loaded?
Ruby on-Rails
Ruby on-Rails-3
Simple Form
How to access default Rails sqlite db?
Ruby on-Rails
Ruby on-Rails-3
Sqlite
Aptana
Reserved names with ActiveRecord models
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Ruby on-Rails-3.2
Active Record-Query
Rails i18n: How to know what is the current language?
Ruby on-Rails-3
Internationalization
How to use seed.rb to selectively populate development and/or production databases?
Ruby on-Rails
Ruby on-Rails-3
Environment
What is the order of ActiveRecord callbacks and validations?
Ruby on-Rails
Ruby on-Rails-3
Validation
Activerecord
Rails javascript only works after reload
Javascript
Ruby on-Rails
Ruby on-Rails-3
Asset Pipeline
Rails 3 - no such file to load -- openssl
Ruby on-Rails
Ruby
Ruby on-Rails-3
Openssl
Rvm
Create seed file from data already in the database
Ruby on-Rails
Activerecord
Ruby on-Rails-3
Rake
How to implement min/max validator in Rails 3?
Validation
Ruby on-Rails-3
Rails 3 respond_to: default format?
Ruby on-Rails
Ruby on-Rails-3
rake db:migrate doesn't seem to work in production
Ruby on-Rails
Ruby on-Rails-3
How to submit multiple NEW items via Rails 3.2 mass-assignment
Ruby on-Rails
Ruby on-Rails-3
What does <%== %> do in rails erb?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Erb
How to Destroy multiple objects simultaneously in Rails 3
Ruby on-Rails
Ruby on-Rails-3
Sidekiq jobs stuck in enqueue
Ruby on-Rails
Ruby on-Rails-3
Redis
Ubuntu 10.04
Sidekiq
What is the difference between Rails.cache.clear and rake tmp:cache:clear?
Ruby on-Rails
Ruby on-Rails-3
Ruby on-Rails-3.2
Rake
Why is it best to store a telephone number as a string vs. integer?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Postgresql
Ruby on-Rails-4
How to count lines of code?
Ruby on-Rails
Ruby
Ruby on-Rails-3
How do I extract Rails view helpers into a gem?
Ruby on-Rails
Ruby on-Rails-3
Rubygems
Gem
Actionview
How to use ActiveAdmin on models using has_many through association?
Ruby on-Rails
Ruby on-Rails-3
Rubygems
Associations
Activeadmin
Send to multiple recipients in Rails with ActionMailer
Ruby on-Rails-3
Actionmailer
How do i get rid of @controller is nil error in my tests
Ruby on-Rails
Ruby on-Rails-3
Truncate table(s) with rails console
Ruby on-Rails
Ruby on-Rails-3
Truncate
Rails Console
How to remove a column from my Rails model?
Ruby on-Rails
Ruby on-Rails-3
How to use all view and helper methods inside of Rails console for Rails 2.x and 3.x?
Ruby on-Rails
Ruby on-Rails-3
How to change a Ruby on Rails application name?
Ruby on-Rails
Ruby on-Rails-3
Rails 3: OpenSSL::SSL::SSLError: hostname was not match with the server certificate
Ruby on-Rails
Ruby on-Rails-3
Openssl
Ssl Certificate
How to manually create a new user and user session in Devise?
Ruby on-Rails
Ruby on-Rails-3
Authlogic
Devise
Displaying a Carrierwave filename in the view
Ruby on-Rails
Ruby on-Rails-3
Carrierwave
image_tag in mailer not using asset_host
Ruby on-Rails-3
Actionmailer
How to update all when you need callbacks fired?
Ruby on-Rails
Ruby on-Rails-3
Activerecord
Callback
Update All
Rails 3: Multiple Select with has_many through associations
Ruby on-Rails
Ruby on-Rails-3
Which Ruby memoize pattern does ActiveSupport::Memoizable refer to?
Ruby
Ruby on-Rails-3
Activesupport
Memoization
Determine Location Of Ruby Gems
Ruby
Ruby on-Rails-3
Rubygems
What is the best way to drop a table & remove a model in Rails 3?
Ruby on-Rails-3
Heroku
Rails Migrations
Rails Models
Rake db:migrate - how do I undo all migrations and redo them
Ruby on-Rails
Ruby on-Rails-3
Migration
Reset
Rollback
Sending mail with Rails 3 in development environment
Ruby on-Rails
Ruby on-Rails-3
Actionmailer
How to reset Heroku app and re-commit everything?
Ruby on-Rails-3
Git
Heroku
Facebook how to check if user has liked page and show content?
Javascript
Jquery
Ruby on-Rails
Ruby on-Rails-3
Facebook
Devise limit one session per user at a time
Ruby on-Rails
Ruby on-Rails-3
Session
Devise
How to escape a dash "-" in a Ruby symbol?
Ruby
Ruby on-Rails-3
Jquery Mobile
(JSON::ParserError) "{N}: unexpected token at 'alihack<%eval request(\"alihack.com\")%>
Ruby on-Rails
Ruby
Json
Ruby on-Rails-3
Rails 3 -- Bundler/Capistrano Errors
Ruby on-Rails
Ruby on-Rails-3
Capistrano
Bundler
Don't escape html in ruby on rails
Ruby on-Rails
Ruby on-Rails-3
What is the best/easy way to validate an email address in Ruby?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Access helpers from mailer?
Ruby on-Rails
Ruby on-Rails-3
ActiveRecord Rails 3 scope vs class method
Ruby on-Rails-3
Activerecord
Class Method
Scopes
Running Rake tasks in Rspec Tests
Ruby
Ruby on-Rails-3
Rspec
Tdd
Rake
Rails: Get next / previous record
Sql
Ruby on-Rails
Ruby on-Rails-3
How can I reload the current page in Ruby on Rails?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Url Routing
Rails' link_to method: GETing when it should DELETE
Ruby on-Rails-3
Httpverbs
How to define action with simple form for?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Simple Form
How to tell which format a controller has resolved to render
Ruby on-Rails
Ruby on-Rails-3
Controller
Respond To
Setting Environment Variables in Rails 3 (Devise + Omniauth)
Ruby on-Rails
Ruby on-Rails-3
Environment Variables
Omniauth
Railscasts
How do I make an RSS/Atom feed in Rails 3?
Ruby on-Rails
Rss
Ruby on-Rails-3
Insecure world writable dir /usr/local in PATH when trying to install Rails 3.0.3
Permissions
Installation
Ruby on-Rails-3
Generating RSS feed in Rails 3
Ruby on-Rails-3
Rss
In Rails, how to get current url (but no paths)
Ruby on-Rails
Ruby
Ruby on-Rails-3
With RSpec, how to seed the database on load?
Ruby on-Rails
Ruby on-Rails-3
Rspec
Rails 3.1 asset pipeline and manually ordered Javascript requires
Ruby on-Rails-3
Asset Pipeline
Sprockets
Rails - How do I check developer mode or production mode in code
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails 3 paperclip vs carrierwave vs dragonfly vs attachment_fu
Ruby on-Rails-3
Paperclip
Carrierwave
Attachment Fu
Dragonfly Gem
Rails 3 - Can Active_admin use an existing user model?
Ruby on-Rails-3
Devise
Activeadmin
How do you structure i18n yaml files in Rails?
Ruby on-Rails
Ruby on-Rails-3
Internationalization
Structure
Yaml
Possible to alias a belongs_to association in Rails?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-3.2
Ruby on-Rails-4
Ruby on Rails "invalid byte sequence in UTF-8" due to bot
Ruby on-Rails
Ruby
Ruby on-Rails-3
Utf 8
Ruby 1.9.3
For Rails, how to access or print out config variables (as experiment or test / debugging)
Ruby on-Rails
Ruby on-Rails-3
Controlling the order of rails validations
Ruby on-Rails
Ruby on-Rails-3
Validation
Activemodel
In Rails, how to add a new method to String class?
Ruby
Ruby on-Rails-3
Monkeypatching
How to access instance variables in CoffeeScript engine inside a Slim template
Ruby on-Rails
Ruby on-Rails-3
Coffeescript
Haml
Slim Lang
Capybara with :js => true causes test to fail
Javascript
Ruby on-Rails-3
Capybara
Run Rails commands outside of console
Ruby on-Rails
Ruby
Ruby on-Rails-3
Console
Difference between resource and resources in rails routing?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Routes
How to disable Rack-Mini-Profiler temporarily?
Ruby on-Rails
Ruby on-Rails-3
Rack Mini-Profiler
What is the best way to resolve Rails orphaned migrations?
Ruby on-Rails
Ruby on-Rails-3
Git
Migration
Rails Migrations
Ruby on Rails 3 howto make 'OR' condition
Ruby on-Rails
Ruby
Ruby on-Rails-3
How to do find() with includes() in Rails 3
Ruby on-Rails
Ruby on-Rails-3
View helper link_to in Model class
Ruby on-Rails
Ruby on-Rails-3
Rails Engine - Gems dependencies, how to load them into the application?
Ruby on-Rails-3
Dependencies
Gem
Rails Engines
Why isn't self always needed in ruby / rails / activerecord?
Ruby
Ruby on-Rails-3
Activerecord
Self
Could not find rails (>= 0) amongst [] (Gem::LoadError)
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rubygems
Rvm
How do I use reference images in Sass when using Rails 3.1?
Ruby on-Rails
Css
Ruby on-Rails-3
Sass
Sprockets
Rails - How to add CSRF Protection to forms created in javascript?
Javascript
Ruby on-Rails
Ruby on-Rails-3
backbone.js
Csrf
Why does rails require JavaScript Runtime?
Ruby on-Rails
Ruby on-Rails-3
How to test rendering a partial with RSpec
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rspec
Set logging levels in Ruby on Rails
Ruby on-Rails
Ruby on-Rails-3
Logging
How do you save values into a YAML file?
Ruby
Ruby on-Rails-3
Yaml
group_by in rails by 2 or more attributes
Ruby
Ruby on-Rails-3
Group By
ruby on rails how to deal with NaN
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-3.2
Ruby on-Rails-3.1
Rails: How to use dependent: :destroy in rails?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-4
Ruby on-Rails-3.2