Gang Of Coders
Home
About Us
Contact Us
All Ruby Solutions on Gang of Coders
Total of 1722 Ruby Solutions
Best practices with STDIN in Ruby?
Ruby
Stdin
Can't Install ffi -v '1.9.18' on macos Catalina
Ruby on-Rails
Ruby
Implementation of "Remember me" in a Rails application
Ruby on-Rails
Ruby
Http
JavaScript file per view in Rails
Javascript
Ruby on-Rails
Ruby
Ruby on Rails: errors.add_to_base vs. errors.add
Ruby on-Rails
Ruby
Validation
Model
Is there a shorter way to require a file in the same directory in ruby?
Ruby
Path
Require
What makes Ruby slow?
Ruby
Performance
Garbage Collection
Dynamic Languages
Is there a way in Ruby/Rails to execute code that is in a string?
Ruby on-Rails
Ruby
Scripting
Ruby templates: How to pass variables into inlined ERB?
Ruby
Templates
Syntax
Erb
How to break outer cycle in Ruby?
Ruby
Loops
Cycle
Difference between block and &block in Ruby
Ruby
Why does explicit return make a difference in a Proc?
Ruby
Return
Proc Object
How to get the number of days in a given month in Ruby, accounting for year?
Ruby
Date
How to use ActiveRecord in a ruby script outside Rails?
Ruby on-Rails
Ruby
Activerecord
Scripting
How do I make Ruby 1.9 the default Ruby on Ubuntu?
Ruby
Ubuntu
Ruby 1.9
Ruby 1.9 hash with a dash in a key
Ruby
Syntax
Hash
Ruby 1.9
Magic First and Last Indicator in a Loop in Ruby/Rails?
Ruby on-Rails
Ruby
Syntactic Sugar
How to access attributes using Nokogiri
Ruby
Nokogiri
Builder
Rails 3 - no such file to load -- openssl
Ruby on-Rails
Ruby
Ruby on-Rails-3
Openssl
Rvm
Ruby global match regexp?
Ruby
Regex
How to get all class names in a namespace in Ruby?
Ruby
Ruby on Rails: alias_method_chain, what exactly does it do?
Ruby on-Rails
Ruby
Skip over iteration in Enumerable#collect
Ruby
Enumerable
What is the difference between %w{} and %W{} upper and lower case percent W array literals in Ruby?
Ruby
How do I use the Enumerable mixin in my class?
Ruby
How to create a deep copy of an object in Ruby?
Ruby on-Rails
Ruby
Object
Copy
Deep Copy
Checking if a variable is defined in SASS
Ruby
Sass
Why is Ruby unable to verify an SSL certificate?
Ruby
Api
Openssl
Certificate
In Ruby, what's the relationship between 'new' and 'initialize'? How to return nil while initializing?
Ruby
Constructor
Return
New Operator
Initializer
Sublime Text 2 console input
Python
Ruby
Sublimetext2
ruby module_function vs including module
Ruby
Module
Mixins
Can FactoryBot generate factories after your models have been created?
Ruby on-Rails
Ruby
Factory Bot
What does <%== %> do in rails erb?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Erb
Get last day of the month in Ruby
Ruby
Date
Datetime
How do I make HTTParty ignore SSL?
Ruby
Ssl
Httparty
TypeError: no implicit conversion of Symbol into Integer
Ruby on-Rails
Ruby
What are the differences between rbenv, rvm, and chruby?
Ruby
Rvm
Rbenv
Chruby
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
RSpec any_instance deprecation: how to fix it?
Ruby on-Rails
Ruby
Testing
Rspec
Passing headers and query params in HTTparty
Ruby on-Rails
Ruby
Http Headers
Httparty
Add nullable foreign key in Rails
Ruby on-Rails
Ruby
Ruby on-Rails-4
Rails Activerecord
Ruby on-Rails-4.2
Error installing nokogiri: Failed to build gem native extension & libiconv is missing (OSX)
Ruby on-Rails
Ruby
Nokogiri
Homebrew
Osx Yosemite
Rails - The system cannot find the path specified
Ruby on-Rails
Ruby
Windows
Why doesn't Ruby have a real StringBuffer or StringIO?
Ruby
String
Io
Buffer
Overriding a module method from a gem in Rails
Ruby on-Rails
Ruby
Gem
Will Paginate
Odd (or even) entries in a Ruby Array
Ruby
File.open, open and IO.foreach in Ruby, what is the difference?
Ruby
File Io
Converting upper-case string into title-case using Ruby
Ruby
String
Ruby 1.9: how can I properly upcase & downcase multibyte strings?
Ruby
Unicode
Utf 8
Internationalization
Multibyte
Is assignment in a conditional clause good ruby style?
Ruby
Coding Style
Execute a Rake task from within migration?
Ruby on-Rails
Ruby
Migration
Ruby: convert string to date
Ruby
String
Date
Get a class by name in Ruby?
Ruby
How to count lines of code?
Ruby on-Rails
Ruby
Ruby on-Rails-3
How do you run a single test/spec file in RSpec?
Ruby
Testing
Rspec
Double colons before class names in Ruby?
Ruby on-Rails
Ruby
What does the underscore mean in literal numbers?
Ruby
how to use ruby " case ... when " with inequalities?
Ruby
Switch Statement
Ruby on rails - Static method
Ruby
Oop
Static Methods
Logging in Sinatra?
Ruby
Logging
Sinatra
Rack
How to filter parameters in rails?
Ruby on-Rails
Ruby
Filtering
Ruby code to get the date of next Monday (or any day of the week)
Ruby
Date
Add gem to gemfile with bundler from command line
Ruby
Gem
Bundler
How can I install Ruby 1.9.3 in Mac OS X Lion?
Ruby
Macos
Osx Lion
How to get PID of current rake task?
Ruby
Shell
Rake
How to sum properties of the objects within an array in Ruby
Ruby
Arrays
Object
Sum
Inject
"Uninitialized constant" error when including a module
Ruby on-Rails
Ruby
Ruby on-Rails-3.1
Ruby CSV - get current line/row number
Ruby
Csv
Get class location from class object
Ruby
Create .ruby-version and .ruby-gemset with rvm
Ruby on-Rails
Ruby
Rvm
Gemset
Rails Migration: How to increase column data type size by using ROR migration
Ruby on-Rails
Ruby
Migration
Bundle not working with rbenv
Ruby
Bundler
Rbenv
A method with an optional parameter
Ruby
Methods
Undefined instance method "respond_to" in Rails 5 API Controller
Ruby on-Rails
Ruby
Rest
Ruby on-Rails-5
Can you monkey patch methods on core types in Python?
Python
Ruby
Programming Languages
Monkeypatching
Fluent Interface
Standard File Naming Conventions in Ruby
Ruby
File
Naming Conventions
Conventions
How to find an item in array which has the most occurrences
Ruby
Arrays
Getting an ASCII character code in Ruby using `?` (question mark) fails
Ruby
Char
Ascii
How to do case-insensitive order in Rails with postgresql
Ruby on-Rails
Ruby
Postgresql
Sql Order-By
Case Insensitive
how do I get name of the month in ruby on Rails?
Ruby on-Rails
Ruby
How do I test if all items in an array are identical?
Ruby
Arrays
How can I uninstall Ruby on ubuntu?
Ruby on-Rails
Ruby
Ubuntu
Uninstallation
How to get activerecord associations via reflection
Ruby
Reflection
Activerecord
Ruby post title to slug
Ruby
String
Lowercase
Gsub
Read, edit, and write a text file line-wise using Ruby
Ruby
File
Io
Getting a substring in Ruby by x number of chars
Ruby
How do I convert hash keys to method names?
Ruby
How to make carrierwave delete the file when destroying a record?
Ruby on-Rails
Ruby
Carrierwave
ActiveModel::MissingAttributeError occurs after deploying and then goes away after a while
Ruby on-Rails
Ruby
Activemodel
File opening mode in Ruby
Ruby
File
Posix
Ruby/Rails - Get the last two values in an array
Ruby on-Rails
Ruby
Comparing two arrays ignoring element order in Ruby
Ruby
Arrays
Comparison
Which Ruby memoize pattern does ActiveSupport::Memoizable refer to?
Ruby
Ruby on-Rails-3
Activesupport
Memoization
Why is Ruby's Date class automatically loaded but DateTime is not?
Ruby
Determine Location Of Ruby Gems
Ruby
Ruby on-Rails-3
Rubygems
Parsing XML with Ruby
Ruby
Xml Parsing
Gem file with git remote failing on heroku push
Ruby on-Rails
Ruby
Git
Heroku
Bundler
Equivalent of “pass” in Ruby
Ruby
Keyword
What is a good way to get the filename from a URL in Ruby?
Ruby
Url
Uri
Setting Elastic search limit to "unlimited"
Ruby
Elasticsearch
How to force Ruby string to n characters
Ruby
String
Variables
String Length
Calculating Median in Ruby
Ruby
Median
How to install PostgreSQL's pg gem on Ubuntu?
Ruby
Postgresql
Pg
How to do named capture in ruby
Ruby
Regex
How to convert array of ActiveRecord models to CSV?
Ruby on-Rails
Ruby
Csv
Irregular bootstrap column wrapping
Html
Css
Ruby on-Rails
Ruby
Twitter Bootstrap
Gem::LoadError: can't activate pg (~> 0.18), already activated pg-1.0.0
Ruby on-Rails
Ruby
Postgresql
Bundler
Rails Migrations
Blocks and yields in Ruby
Ruby
Block
Checking if a variable is not nil and not zero in ruby
Ruby
Create an ActiveRecord database table with no :id column?
Mysql
Ruby on-Rails
Ruby
Security
Activerecord
Determine if a value exists in an array of hashes
Ruby
Arrays
Ruby, Generate a random hex color
Ruby
Undefine variable in Ruby
Ruby
Metaprogramming
Local Variables
Remove/undef a class method
Ruby
Metaprogramming
RVM Ruby 1.9.1 install can't locate zlib but its runtime and dev library are there
Ruby
Rubygems
Zlib
Rvm
DRY Ruby Initialization with Hash Argument
Ruby
Initialization
Dry
Idioms
rails convert string to number
Ruby on-Rails
Ruby
How can I clear the terminal in Ruby?
Ruby
How to use bundler behind a proxy?
Ruby on-Rails
Ruby
Proxy
Rubygems
Bundler
Discovering Ruby object members?
Ruby
Discoverability
Bundler throws uninitialized constant Gem::SilentUI (NameError) error after upgrading to Rubygems 1.5.0
Ruby
Rubygems
Bundler
How to set default Ruby version with RVM?
Ruby on-Rails
Ruby
Rvm
Ruby 1.9.2
git, Heroku: pre-receive hook declined
Ruby
Git
Heroku
Rack
How to escape a dash "-" in a Ruby symbol?
Ruby
Ruby on-Rails-3
Jquery Mobile
foreman only shows line with “started with pid #” and nothing else
Ruby on-Rails
Ruby
Heroku
Rubygems
Foreman
Case-insensitive Array#include?
Ruby
String
Does Javascript have something like Ruby's method_missing feature?
Javascript
Ruby
Metaprogramming
What is a regex to match a string NOT at the end of a line?
Ruby
Regex
Is it possible to have a one line each block in Ruby?
Ruby
. vs :: (dot vs. double-colon) for calling a method
Ruby
Raise custom Exception with arguments
Ruby on-Rails
Ruby
Exception
Exception Handling
Get all instance variables declared in class
Ruby
RSpec: How could I use the array include matcher in the expect syntax
Ruby
Unit Testing
Rspec
Why does my rails rollback when I try to user.save?
Ruby on-Rails
Ruby
railstutorial.org
Capistrano SSH::AuthenticationFailed, not prompting for password
Ruby on-Rails
Ruby
Deployment
Capistrano
Check whether a string contains one of multiple substrings
Ruby on-Rails
Ruby
String
Ruby 2.1
Ruby RVM apt-get update error
Ruby
Rvm
(JSON::ParserError) "{N}: unexpected token at 'alihack<%eval request(\"alihack.com\")%>
Ruby on-Rails
Ruby
Json
Ruby on-Rails-3
Cannot install Aptana Studio 3.6 on Windows
Ruby
Installation
Aptana
Aptana3
Installing RVM: getting error "There was an error(23)."
Ruby
Ubuntu
Rvm
migrations: t.references doesn't allow index name to be specified
Ruby on-Rails
Ruby
Can I use `else if` over `elsif`?
Ruby
Add a default value to a column through a migration
Ruby on-Rails
Ruby
Migration
Does ruby have real multithreading?
Ruby
Multithreading
Concurrency
How do I dump an object's fields to the console?
Ruby
Printf Debugging
Rails Unable to convert unpermitted parameters to hash
Ruby on-Rails
Ruby
Sorting
Parameters
Search Form
Catching line numbers in ruby exceptions
Ruby
Exception
Ruby - share logger instance among module/classes
Ruby
Logging
Class Design
Submit POST data from controller to another website in Rails
Ruby on-Rails
Ruby
Forms
Request
Form Submit
calling another method in super class in ruby
Ruby
list of all/best gems for Ruby?
Ruby
Rubygems
How to decompress Gzip string in ruby?
Ruby
Gzip
Zlib
Using Rails Migration on different database than standard "production" or "development"
Ruby on-Rails
Ruby
Database
Migration
Rails: named_scope, lambda and blocks
Ruby on-Rails
Ruby
Lambda
How can I validate exits and aborts in RSpec?
Ruby
Rspec
Mocking
What's the difference between Ruby and JRuby?
Ruby on-Rails
Ruby
Jruby
What's the right way to implement equality in ruby
Ruby
Equality
Why do I get an "undefined method for `has_attached_file` when installing PaperClip?
Ruby on-Rails
Ruby
Paperclip
usage of attr_accessor in Rails
Ruby on-Rails
Ruby
Flattening hash into string in Ruby
Ruby
Hash
Ruby on Rails app on Google App Engine
Ruby on-Rails
Ruby
Google App-Engine
Ruby Datamapper
Cannot use RVM-installed Ruby with sudo
Ruby
Rvm
Sudo
What is the best/easy way to validate an email address in Ruby?
Ruby on-Rails
Ruby
Ruby on-Rails-3
How can I send mail with rails without a template?
Ruby on-Rails
Ruby
Email
Actionmailer
How to remove all elements that satisfy a condition in array in Ruby?
Ruby
Ruby: What is the easiest method to update Hash values?
Ruby
Hash
What is a Ruby gem?
Ruby
Gem
how to get the current working directory's absolute path from irb
Ruby
Irb
Working Directory
What are all the common ways to read a file in Ruby?
Ruby
File Io
How to generate HMAC-SHA1 in C#?
C#
Java
Php
Ruby
Hmac
Split on different newlines
Ruby
Regex
Split
Newline
Running Rake tasks in Rspec Tests
Ruby
Ruby on-Rails-3
Rspec
Tdd
Rake
How can I reload the current page in Ruby on Rails?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Url Routing
How to define action with simple form for?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Simple Form
Ruby Array limit method
Ruby
Arrays
Split array up into n-groups of m size?
Ruby
Arrays
How to set private instance variable used within a method test?
Ruby
Testing
Rspec
Access Specifier
How to find remainder of a division in Ruby?
Ruby
Math
Call ruby function from command-line
Ruby
Command Line
Viewing a Gem's Source Code
Ruby
Rubygems
How to split a string into only two parts, by the last occurrence of the split char?
Ruby
What is the opposite of Array#reject in ruby?
Ruby
Arrays
`respond_to?` vs. `respond_to_missing?`
Ruby
Metaprogramming
Named parameters in Ruby 2
Ruby
Ruby 2.0
How can I use unicorn as "rails s"?
Ruby on-Rails
Ruby
Unicorn
Unpermitted Parameters adding new fields to Devise in rails 4.0
Ruby on-Rails
Ruby
How do I alphabetize an array ignoring case?
Ruby
Alphabetical Sort
How should I use each_with_object on Hashes?
Ruby
gem eventmachine fatal error: 'openssl/ssl.h' file not found
Ruby
Macos
Openssl
Homebrew
Eventmachine
Installing Nokogiri on OSX 10.10 Yosemite
Ruby
Gem
Bundler
Nokogiri
Homebrew
Running a spec in RubyMine results in "cannot load such file -- teamcity/spec/runner/formatter/teamcity/formatter (LoadError)"
Ruby on-Rails
Ruby
Ruby on-Rails-4
Rspec
Rubymine
Error: SASS installation for windows
Ruby
Gem
Sass
Switch theme in an existing Jekyll installation
Ruby
Jekyll
Jekyll Bootstrap
Can't install mysql2 gem on macOS Sierra
Mysql
Ruby
Macos
Rubygems
Macos Sierra
Rails: difference between ENV.fetch() and ENV[]
Ruby on-Rails
Ruby
Ruby on-Rails-5
How do I find the source file for a rake task?
Ruby on-Rails
Ruby
Rake
How do I get the target of a symlink?
Ruby
Symlink
How to create a delete link for a related object in Ruby on Rails?
Ruby on-Rails
Ruby
Hyperlink
How do I create a reusable block/proc/lambda in Ruby?
Ruby
Failed to build gem native extension (installing Compass)
Ruby
Macos
Terminal
Compass Sass
What is the Ruby <=> (spaceship) operator?
Ruby
Operators
Comparison Operators
Spaceship Operator
How can I use Ruby to colorize the text output to a terminal?
Ruby
Colors
Console Application
How do I use helpers in rake?
Ruby on-Rails
Ruby
Rake
Helper
How to I make private class constants in Ruby
Ruby
Access Specifier
Class Constants
Create a case-insensitive regular expression from a string in Ruby
Ruby
Regex
Rails Object Relationships and JSON Rendering
Ruby on-Rails
Ruby
Json
Activerecord
Ruby: How to group a Ruby array?
Ruby on-Rails
Ruby
Understanding private methods in Ruby
Ruby
Access Specifier
Problems with the rails console, RVM and readline
Ruby
Rvm
Readline
Rails Browser Detection Methods
Ruby on-Rails
Ruby
User Agent
Browser Detection
Convert non-ASCII chars from ASCII-8BIT to UTF-8
Ruby
Utf 8
Internationalization
How to load a spec_helper.rb automatically in RSpec 2
Ruby
Rspec
Rspec2
In Rails, how to get current url (but no paths)
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails with ruby-debugger throw 'Symbol not found: _ruby_current_thread (LoadError)'
Ruby on-Rails
Ruby
Ruby Debug
Rails - How do I check developer mode or production mode in code
Ruby on-Rails
Ruby
Ruby on-Rails-3
Does rspec have anything more specific than target.should be < 6?
Ruby
Rspec
Unable to use dot syntax for ruby hash
Ruby
Syntax
Hash
What's the difference between to_a and to_ary?
Ruby
Why couldn't twitter scale by adding servers the way sites like facebook have?
Ruby on-Rails
Ruby
Scala
Twitter
How does defining [square bracket] method in Ruby work?
Ruby
Methods
What's the difference between “includes” and “preload” in an ActiveRecord query?
Ruby on-Rails
Ruby
Activerecord
How to use RSpec without Rails?
Ruby
Rspec
Tdd
Bdd
Ruby - test for array
Ruby
Syntax
Override ruby constant in subclass so inherited methods use new constant instead of the old?
Ruby
Ruby split by whitespace
Ruby
Split
Whitespace
How to combine one hash with another hash in ruby
Ruby
Hashmap
Ruby: module, require and include
Ruby
Module
Mixins
Bundle Install could not fetch specs from https://rubygems.org/
Ruby on-Rails
Ruby
Gem
Bundler
railstutorial.org
When do I need to restart server in Rails?
Ruby on-Rails
Ruby
If else statements in .html.erb in views
Ruby on-Rails
Ruby
Model View-Controller
Unexpected Return (LocalJumpError)
Ruby
Ruby 2.0
How to see the dependency tree just from Gemfile?
Ruby
Gem
Bundler
What's the difference between "include_examples" and "it_behaves_like"?
Ruby
Rspec
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
ActionController::UnknownFormat
Ruby
Ajax
Ruby on-Rails-4
Respond To
Fill array with element N times
Ruby
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
Array.include? multiple values
Ruby
RSpec allow/expect vs just expect/and_return
Ruby
Testing
Rspec
Mocking
Rspec3
Padding a number with zeros
Ruby
String
Why is division in Ruby returning an integer instead of decimal value?
Ruby
Math
Floating Point
Division
Integer Division
What is the difference between `try` and `&.` (safe navigation operator) in Ruby
Ruby on-Rails
Ruby
If Statement
Nomethoderror
Grape Api
$1 and \1 in Ruby
Ruby
Regex
Rails Model has_many with multiple foreign_keys
Ruby on-Rails
Ruby
Model
Has Many
How can I check from Ruby whether a process with a certain pid is running?
Ruby
Process
Pid
Constants or class variables in ruby?
Ruby
Constants
Class Variables
Rails: I can't call a function in a module in /lib - what am I doing wrong?
Ruby on-Rails
Ruby
ActiveRecord - querying polymorphic associations
Ruby on-Rails
Ruby
Activerecord
Polymorphic Associations
Ruby design pattern: How to make an extensible factory class?
Ruby
Design Patterns
Is there an add_days in ruby datetime?
Ruby
RSpec: specifying multiple calls to a method with different argument each time
Ruby
Testing
Rspec
how to read a User uploaded file, without saving it to the database
Ruby on-Rails
Xml
Ruby
Is there a way to create methods just for the instance of a Ruby class from inside that instance?
Ruby
How to explicitly fail a task in ruby rake?
Ruby
Rake
p vs puts in Ruby
Ruby
Iterate through every file in one directory
Ruby
Directory
Filesystems
difference between collection route and member route in ruby on rails?
Ruby on-Rails
Ruby
Pass variables to Ruby script via command line
Ruby
Command Line
In Ruby what does "=>" mean and how does it work?
Ruby on-Rails
Ruby
Operators
Symbols
Hashrocket
How to remove gem from Ruby on Rails application?
Ruby on-Rails
Ruby
Rubygems
String#count options
Ruby
String
Is overriding to_s methods in Ruby bad?
Ruby
Ruby multidimensional array
Ruby
Multidimensional Array
In Rails, how to add a new method to String class?
Ruby
Ruby on-Rails-3
Monkeypatching
Set Attribute Dynamically of Ruby Object
Ruby
Dynamic
Jekyll - command not found
Ruby
Bash
Jekyll
Ruby inject with initial being a hash
Ruby
ide sublime2 how to find method definition
Ruby on-Rails
Ruby
Sublimetext
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
Convert a hash into a struct
Ruby
Using Ruby, how can I iterate over a for loop n.times
Ruby
For Loop
What is the use of Gemfile in rails?
Ruby on-Rails
Ruby
Gemfile
Get substring after the first = symbol in Ruby
Ruby
String
Suppress console output during RSpec tests
Ruby
Rspec
rails validation: :allow_nil and :inclusion both needed at the same time
Ruby on-Rails
Ruby
Validation
Inclusion
Rails: respond_to JSON and HTML
Ruby on-Rails
Ruby
Ruby on-Rails-4
Respond To
Run a single migration file
Ruby on-Rails
Ruby
Migration
Ruby: What is the easiest way to remove the first element from an array?
Ruby on-Rails
Ruby
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Ruby on-Rails
Ruby
Ssl
Authlogic
Facebook Graph-Api
Force bundle install to use https:// instead of git:// for GitHub-based gems
Ruby
Github
Bundler
Deleting all special characters from a string - ruby
Ruby
Special Characters
How is STDERR.puts different from puts in Ruby?
Ruby
Stderr
How to use "gets" and "gets.chomp" in Ruby
Ruby
How do I use Array#dig and Hash#dig introduced in Ruby 2.3?
Arrays
Ruby
Hash
Splat
YAML How many spaces per indent?
Ruby
Yaml
Amazon Elastic-Beanstalk
Should I define a main method in my ruby scripts?
Ruby
Main Method
Creating Microsoft Word (.docx) documents in Ruby
Ruby on-Rails
Ruby
Ms Word
Documents
Capistrano & Bash: ignore command exit status
Ruby on-Rails
Ruby
Bash
Capistrano
Ruby's yield feature in relation to computer science
Ruby
Functional Programming
Yield
Identifying last loop when using for each
C#
Java
Ruby
Loops
Foreach
How to select nodes by matching text
Ruby
Nokogiri
How to implement cookie support in ruby net/http?
Ruby
Cookies
How to make a Ruby string safe for a filesystem?
Ruby on-Rails
Ruby
String
Filesystems
Rails: How do I write tests for a ruby module?
Ruby on-Rails
Ruby
Unit Testing
Testing
Module
url encode equivalent in ruby on rails
Php
Ruby on-Rails
Ruby
How do I require a specific version of a ruby gem?
Ruby
Version
Gem
Oci8
Ruby on Rails 3 howto make 'OR' condition
Ruby on-Rails
Ruby
Ruby on-Rails-3
In a rails migration, how can you remove the limit of a field
Ruby on-Rails
Ruby
Rails Migrations
Is require File.expand_path(..., __FILE__) the best practice?
Ruby
Require
Detect MIME type of uploaded file in Ruby
Ruby on-Rails
Ruby
File Upload
Swfupload
What is '$:.unshift File.dirname(__FILE__)' doing?
Ruby on-Rails
Ruby
Why isn't self always needed in ruby / rails / activerecord?
Ruby
Ruby on-Rails-3
Activerecord
Self
Start a loop from 1
Ruby
Loops
In Ruby, is there a way to use something like hash.each_with_index do |[k,v], i|?
Ruby
Empty attribute with Ruby HAML
Ruby on-Rails
Ruby
Haml
Could not find rails (>= 0) amongst [] (Gem::LoadError)
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rubygems
Rvm
Abstract Method in Ruby
Ruby
Abstract
Get difference of arrays in Ruby
Arrays
Ruby
What is the difference between class_eval, class_exec, module_eval and module_exec?
Ruby
Sort hash by key, return hash in Ruby
Ruby
Sorting
Hashmap
How to unzip a file in Ruby on Rails?
Ruby on-Rails
Ruby
File
Zip
How does shovel (<<) operator work in Ruby Hashes?
Ruby
Hash
Thread Safety: Class Variables in Ruby
Ruby
Multithreading
Thread Safety
Metaprogramming
Ruby 1.9.2
How to test rendering a partial with RSpec
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rspec
How to get a backtrace from a SystemStackError: stack level too deep?
Ruby
Detecting Operating Systems in Ruby
Ruby
Operating System
Detection
Sketchup
How to reference global variables and class variables?
Ruby
Minitest and Rspec
Ruby on-Rails
Ruby
Testing
Rspec
Minitest
Iterate an array, n items at a time
Ruby
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 and "You must recompile Ruby with OpenSSL support or change the sources in your Gemfile"
Ruby
Macos
Openssl
Rvm
Convert Ruby Hash into YAML
Ruby
Hash
Yaml
Modify ruby hash in place( rails strong params)
Ruby
Ruby on-Rails-4
Add each array element to the lines of a file in ruby
Ruby
Arrays
File
Line
Output
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
How to install ruby-debug when needing necessary libraries and/or headers
Ruby
Ruby Debug
Rails 4: disable Turbolinks in a specific page
Javascript
Ruby on-Rails
Ruby
Turbolinks
undefined method 'devise' for User
Ruby on-Rails
Ruby
Devise
Rails: correct way of turning activerecord relation to array?
Ruby on-Rails
Ruby
Activerecord
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
Ruby, remove last N characters from a string?
Ruby
String
How to call shell commands from Ruby
Ruby
Shell
Interop
How to understand nil vs. empty vs. blank in Ruby
Ruby on-Rails
Ruby
How to convert a string to lower or upper case in Ruby
Ruby
String
Uppercase
Lowercase
How to pass command line arguments to a rake task
Ruby
Command Line
Rake
Command Line-Arguments
What is Rack middleware?
Ruby on-Rails
Ruby
Http
Web Applications
Rack
What is the difference between print and puts?
Ruby
SSL Error When installing rubygems, Unable to pull data from 'https://rubygems.org/
Ruby on-Rails
Ruby
Ssl
Rvm
Update just one gem with bundler
Ruby
Rubygems
Bundler
Best way to convert strings to symbols in hash
Ruby
Hashmap
Breaking up long strings on multiple lines in Ruby without stripping newlines
Ruby on-Rails
Ruby
Is Ruby pass by reference or by value?
Ruby on-Rails
Ruby
Pass by-Reference
Best way to add comments in erb
Ruby on-Rails
Ruby
Comments
Erb
Block Comments
Can't install Ruby under Lion with RVM – GCC issues
Ruby
Gcc
Rvm
Osx Lion
xcode4.2
How to check for file existence
Ruby
File
What is attr_accessor in Ruby?
Ruby
How do I get the current absolute URL in Ruby on Rails?
Ruby on-Rails
Ruby
Url
Read binary file as string in Ruby
Ruby
String
File Io
How to read lines of a file in Ruby
Ruby
Line Endings
How to round an average to 2 decimal places in PostgreSQL?
Sql
Ruby
Postgresql
Sequel
bundle install fails with SSL certificate verification error
Ruby on-Rails
Ruby
Ssl
Rubygems
Bundler
Converting camel case to underscore case in ruby
Ruby on-Rails
Ruby
String
Formatting
Case Conversion
Rspec: "array.should == another_array" but without concern for order
Ruby
Testing
Rspec
What is the colon operator in Ruby?
Ruby
Symbols
What does the "map" method do in Ruby?
Ruby
Map
Range
Enumeration
What does Ruby have that Python doesn't, and vice versa?
Python
Ruby
sqlite3-ruby install error on Ubuntu
Ruby
Ubuntu
Sqlite
Sqlite3 Ruby
How can I output leading zeros in Ruby?
Ruby
Ruby: Easiest Way to Filter Hash Keys?
Ruby
How to execute a Ruby script in Terminal?
Ruby
Terminal
What blocks Ruby, Python to get Javascript V8 speed?
Javascript
Python
Ruby
Performance
Language Design
Convert string to symbol-able in ruby
Ruby on-Rails
Ruby
Running pod setup gives me "bad interpreter: No such file or directory" error
Ruby
Macos
Cocoapods
Podspec
How do I search within an array of hashes by hash values in ruby?
Ruby
Search
Hash
Arrays
find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)
Ruby
Rubygems
Bundle
Jekyll
AWS S3: The bucket you are attempting to access must be addressed using the specified endpoint
Ruby on-Rails
Ruby
Amazon Web-Services
Amazon S3
How to make --no-ri --no-rdoc the default for gem install?
Ruby
Rubygems
What does the question mark at the end of a method name mean in Ruby?
Ruby
How do I create an empty array in YAML?
Ruby
Arrays
Yaml
How to make a HTTP request using Ruby on Rails?
Ruby
Ruby on-Rails-3
Http
Request
unable to install pg gem
Ruby on-Rails
Ruby
Rubygems
Installation
How do I return early from a rake task?
Ruby
Rake
OO Design in Rails: Where to put stuff
Ruby on-Rails
Ruby
Directory Structure
How to create a private class method?
Ruby
Access Specifier
Understanding the Rails Authenticity Token
Ruby on-Rails
Ruby
Authenticity Token
Given a class, see if instance has method (Ruby)
Ruby
Respond To
Learning Ruby on Rails
Ruby on-Rails
Ruby
Ide
What's the best way to model recurring events in a calendar application?
Ruby
Algorithm
Calendar
Data Modeling
Recurrence
Difference between attr_accessor and attr_accessible
Ruby on-Rails
Ruby
Array slicing in Ruby: explanation for illogical behaviour (taken from Rubykoans.com)
Arrays
Ruby
How to get filename without extension from file path in Ruby
Ruby
How to split a delimited string in Ruby and convert it to an array?
Arrays
Ruby
String
Split
rvm installation not working: "RVM is not a function"
Ruby
Rvm
What does a double * (splat) operator do
Ruby
Splat
Difference between DateTime and Time in Ruby
Ruby
Datetime
Time
Get underlined text with Markdown
Ruby
Markdown
Underline
Bluecloth
Rails params explained?
Ruby on-Rails
Ruby
How do I update Ruby Gems from behind a Proxy (ISA-NTLM)
Ruby
Proxy
Rubygems
Ironruby
How can I find out the current route in Rails?
Ruby on-Rails
Ruby
Routing
How do I parse a YAML file in Ruby?
Ruby
Yaml
Change a column type from Date to DateTime during ROR migration
Mysql
Ruby on-Rails
Ruby
Ruby on-Rails-3
Migration
What's the difference between Ruby's dup and clone methods?
Ruby
Clone
Dup
Ruby: How to install a specific version of a ruby gem?
Ruby
Rubygems
class << self idiom in Ruby
Ruby
Metaclass
Eigenclass
Singleton
How do I step out of a loop with Ruby Pry?
Ruby on-Rails
Ruby
Loops
Exit
Pry
What do you call the -> operator in Ruby?
Ruby
Syntax
Paperclip::Errors::MissingRequiredValidatorError with Rails 4
Ruby on-Rails
Ruby
Ruby on-Rails-4
Paperclip
How to find a hash key containing a matching value
Ruby
How to replace a hash key with another key
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hash
What is the easiest way to push an element to the beginning of the array?
Arrays
Ruby
How to upgrade rubygems
Ruby
Gem
What does &. (ampersand dot) mean in Ruby?
Ruby
ActiveRecord: size vs count
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails Activerecord
Rails: Is there a rails trick to adding commas to large numbers?
Ruby on-Rails
Ruby
Ruby: How to turn a hash into HTTP parameters?
Ruby
Http
Parameters
Hashmap
How to get a specific output iterating a hash in Ruby?
Ruby
Hash
Output
How do you do relative time in Rails?
Ruby on-Rails
Ruby
How do I create an average from a Ruby array?
Ruby on-Rails
Ruby
How can I download a file from a URL and save it in Rails?
Ruby on-Rails
Ruby
File Handling
No increment operator (++) in Ruby?
Ruby
Operators
Why is it bad style to `rescue Exception => e` in Ruby?
Ruby
Exception Handling
What does __FILE__ mean in Ruby?
Ruby
Ruby/Rails: converting a Date to a UNIX timestamp
Ruby on-Rails
Ruby
Date
Timestamp
Remove substring from the string
Ruby
String
Difference between \A \z and ^ $ in Ruby regular expressions
Ruby
Regex
How to do a safe join pathname in ruby?
Ruby
How to pass arguments into a Rake task with environment in Rails?
Ruby on-Rails
Ruby
Rake
How do I copy a hash in Ruby?
Ruby
Serialization
Hashmap
Copy
Deep Copy
Correct way to populate an Array with a Range in Ruby
Ruby
Syntax
Get the name of the currently executing method
Ruby
Reflection
Metaprogramming
How do I encode/decode HTML entities in Ruby?
Html
Ruby
"for" vs "each" in Ruby
Ruby
Loops
Foreach
Iteration
Each
How to document Ruby code?
Ruby
Does Ruby have a string.startswith("abc") built in method?
Ruby
Converting an integer to a hexadecimal string in Ruby
Ruby
Hex
Base Conversion
What does %w(array) mean?
Ruby
Arrays
String
Notation
How to use RSpec's should_raise with any kind of exception?
Ruby on-Rails
Ruby
Exception Handling
Rspec
How to create an exit message
Ruby
Rails get index of "each" loop
Ruby on-Rails
Ruby
Ruby: Is there an opposite of include? for Ruby Arrays?
Ruby on-Rails
Ruby
What's the difference between a proc and a lambda in Ruby?
Ruby
Array to Hash Ruby
Ruby
Arrays
Hashmap
Unresolved specs during Gem::Specification.reset:
Ruby
Rubygems
Guard
One line if statement not working
Ruby
Is it ok to use `any?` to check if an array is not empty?
Ruby
Arrays
delete_all vs destroy_all?
Ruby on-Rails
Ruby
Database
Activerecord
What is causing this ActiveRecord::ReadOnlyRecord error?
Ruby on-Rails
Ruby
Activerecord
Join
Associations
Output array to CSV in Ruby
Ruby
Csv
Rails :dependent => :destroy VS :dependent => :delete_all
Ruby on-Rails
Ruby
Model
Associations
Test whether a Ruby class is a subclass of another class
Ruby
Inheritance
Subclass
Superclass
Best way to pretty print a hash
Ruby
Ruby on-Rails-3
Can I invoke an instance method on a Ruby module without including it?
Ruby
Module
Methods
How to add new item to hash
Ruby
Hash
When should I use Struct vs. OpenStruct?
Ruby
Struct
Ruby class instance variable vs. class variable
Ruby
Instance Variables
Class Variables
Class Instance-Variables
How to determine if one array contains all elements of another array
Ruby on-Rails
Arrays
Ruby
Understanding the Gemfile.lock file
Ruby
Installation
Rubygems
Bundler
gemfile.lock
How to generate a random number between a and b in Ruby?
Ruby
Random
Range
What is the canonical way to trim a string in Ruby without creating a new string?
Ruby
String
Ruby array to string conversion
Ruby
Arrays
String
Rails 4 Authenticity Token
Ruby on-Rails
Ruby
Ruby on-Rails-4
Authenticity Token
Unable to install gem - Failed to build gem native extension - cannot load such file -- mkmf (LoadError)
Ruby on-Rails
Ruby
Ubuntu
Gem
Bcrypt
Ignoring GEM because its extensions are not built
Ruby
Rubygems
Chruby
How do I get ruby to print a full backtrace instead of a truncated one?
Ruby
Exception
Stack Trace
What are the Ruby File.open modes and options?
Ruby
File Io
Is it possible to run a single test in MiniTest?
Ruby
Ruby on-Rails-3
Minitest
Double vs single quotes
Ruby
String
Quotes
Double Quotes
Single Quotes
Ruby 2.0.0p0 IRB warning: "DL is deprecated, please use Fiddle"
Ruby
Windows
How Do You Clear The IRB Console?
Ruby
Irb
How to split (chunk) a Ruby array into parts of X elements?
Ruby
Arrays
Changing every value in a hash in Ruby
Ruby
Hash
Uninstall all installed gems, in OSX?
Ruby
Rubygems
What is the right way to override a setter method in Ruby on Rails?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Overriding
Setter
Difference between "or" and || in Ruby?
Ruby
Operators
How to test if parameters exist in rails
Ruby on-Rails
Ruby
Ruby on Rails Callback, what is difference between :before_save and :before_create?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Validation
Check if a table exists in Rails
Ruby on-Rails
Ruby
Rails Activerecord
Rails Migrations
RVM is not a function, selecting rubies with 'rvm use ...' will not work
Ruby
Bash
Rvm
How to create a file in Ruby
Ruby
File
Io
Errno
Error installing libv8: ERROR: Failed to build gem native extension
Ruby on-Rails
Ruby
Windows
Libv8
Instance variable: self vs @
Ruby
Self
Instance Variables
Add timestamps to an existing table
Ruby on-Rails
Ruby
Rails Activerecord
Rails Migrations
How to find and return a duplicate value in array
Ruby
Arrays
What is the easiest way to remove the first character from a string?
Ruby
String
Converting string from snake_case to CamelCase in Ruby
Ruby on-Rails
Ruby
String
How do you round a float to 2 decimal places in JRuby?
Ruby
Jruby
Rounding
In Ruby on Rails, how do I format a date with the "th" suffix, as in, "Sun Oct 5th"?
Ruby on-Rails
Ruby
Date
Why do people say that Ruby is slow?
Ruby
Performance
How can I get the intersection, union, and subset of arrays in Ruby?
Ruby
Union
Intersection
Subset
Using Sinatra for larger projects via multiple files
Ruby
Sinatra
What is the difference between Raising Exceptions vs Throwing Exceptions in Ruby?
Ruby
Exception
What does the (unary) * operator do in this Ruby code?
Ruby
Operators
Splat
How to convert a string or integer to binary in Ruby?
Ruby
Binary
Encode
Ruby 'require' error: cannot load such file
Ruby
Require
How to check whether a string contains a substring in Ruby
Ruby
String
Multi-Line Comments in Ruby?
Ruby
Comments
Multiline
Block Comments
How to get a random number in Ruby
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-4
Random
How to compare strings ignoring the case
Ruby
String
String Comparison
How to do a newline in output
Ruby
Newline
How do I find if a string starts with another string in Ruby?
Ruby
String
Startswith
What does @@variable mean in Ruby?
Ruby
Syntax
Instance Variables
Class Variables
Can't install gems on OS X "El Capitan"
Ruby
Macos
Rubygems
How do I move a file with Ruby?
Ruby
File
Testing modules in RSpec
Ruby
Unit Testing
Rspec
How to get last N records with activerecord?
Ruby on-Rails
Ruby
Activerecord
Best practices to handle routes for STI subclasses in rails
Ruby on-Rails
Ruby
Single Table-Inheritance
Ruby equivalent of virtualenv?
Python
Ruby
Virtualenv
How do I run only specific tests in Rspec?
Ruby
Rspec
How to solve error "Missing `secret_key_base` for 'production' environment" (Rails 4.1)
Ruby on-Rails
Ruby
Heroku
Ruby on-Rails-4
How to generate a random string in Ruby
Ruby
Random
Passwords
How to get a substring of text?
Ruby
Is there a literal notation for an array of symbols?
Ruby
Arrays
Symbols
Syntactic Sugar
RMagick installation: Can't find MagickWand.h
Ruby
Macos
Imagemagick
Macos Sierra
Rmagick
Strange \n in base64 encoded string in Ruby
Ruby
Base64
Encode
Equivalent of .try() for a hash to avoid "undefined method" errors on nil?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hash
The 'json' native gem requires installed build tools
Ruby
Json
Windows 7
Rubygems
Ruby combining an array into one string
Ruby
Installing CocoaPods: no response
Ruby
Rubygems
Cocoapods
Ruby send vs __send__
Ruby
Syntax
Ruby capitalize every word first letter
Ruby
String
How to check if a given directory exists in Ruby
Ruby
Directory
How to get the name of the calling method?
Ruby
Execute a command line binary with Node.js
Javascript
Ruby
node.js
Command Line-Interface
Calling a Method From a String With the Method's Name in Ruby
Ruby
Metaprogramming
Ruby: How to iterate over a range, but in set increments?
Ruby
Iterator
Increment
Why is the shovel operator (<<) preferred over plus-equals (+=) when building a string in Ruby?
Ruby
String
Optimization
How to sort an array of hashes in ruby
Arrays
Ruby
Sorting
Create Directory if it doesn't exist with Ruby
Ruby
Is There a Better Way of Checking Nil or Length == 0 of a String in Ruby?
Ruby
Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v
Ruby
Ubuntu
Rvm
How to swap keys and values in a hash
Ruby
Hashmap
Ruby / Rails: convert int to time OR get time from integer?
Ruby on-Rails
Ruby
Time
What does tilde-greater-than (~>) mean in Ruby gem dependencies?
Ruby
Rubygems
Why use symbols as hash keys in Ruby?
Ruby
String
Hashmap
Symbols
Interpolating a string into a regex
Ruby
Regex
Rails: How to change the title of a page?
Ruby on-Rails
Ruby
Array include any value from another array?
Ruby
Arrays
ZSH complains about RVM __rvm_cleanse_variables: function definition file not found
Ruby
Macos
Rvm
Zsh
Ruby on Rails console is hanging when loading
Ruby on-Rails
Ruby
Console
How to resolve "gpg: command not found" error during RVM installation?
Ruby
Macos
Command Line
Rvm
Gnupg
EOFError: end of file reached issue with Net::HTTP
Ruby on-Rails
Ruby
Web Services
Facebook Fql
How do I use Ruby for shell scripting?
Ruby
Shell
Scripting
Ruby on Rails: how to render a string as HTML?
Html
Ruby on-Rails
Ruby
String
do..end vs curly braces for blocks in Ruby
Ruby on-Rails
Ruby
Ruby on-Rails-3
Coding Style
how to solve "ruby installation is missing psych" error?
Ruby on-Rails
Ruby
Macos
Rvm
Count number of days between two dates
Ruby
Rails Object to hash
Ruby on-Rails
Ruby
How do I specify local .gem files in my Gemfile?
Ruby
Rubygems
Bundler
When to use nested classes and classes nested in modules?
Ruby
Oop
How to sort a Ruby Hash by number value?
Ruby
Hash
How can I use "puts" to the console without a line break in ruby on rails?
Ruby
Io
Console
List of installed gems?
Ruby
Rubygems
Safe integer parsing in Ruby
Ruby
String
Exception
Integer
String Parsing
How to debug Ruby scripts
Ruby
Debugging
Is it good style to explicitly return in Ruby?
Ruby
Coding Style
Return Value
What's the difference between URI.escape and CGI.escape?
Ruby
What is a elegant way in Ruby to tell if a variable is a Hash or an Array?
Ruby
Arrays
Hash
How do I create a SHA1 hash in ruby?
Ruby
Hash
Sha1
How do you pass arguments to define_method?
Ruby
Metaprogramming
Ruby arrays: %w vs %W
Ruby
Arrays
Where to define custom error types in Ruby and/or Rails?
Ruby on-Rails
Ruby
Conventions
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256
Ruby
Amazon Web-Services
Amazon S3
Aws Sdk
CocoaPods not working in macOS High Sierra
Ruby
Cocoapods
Macos High-Sierra
Why does installing Nokogiri on Mac OS fail with libiconv is missing?
Ruby
Macos
Nokogiri
Libxml2
Libiconv
Ruby : How to write a gem?
Ruby
Rubygems
Dynamic constant assignment
Ruby
How to check if a specific key is present in a hash or not?
Ruby
Data Structures
Associative Array
How to "pretty" format JSON output in Ruby on Rails
Ruby on-Rails
Ruby
Json
Pretty Print
Ruby: Rounding float in Ruby
Ruby on-Rails
Ruby
Rounding
Haml: Append class if condition is true in Haml
Ruby
Haml
How to modify PATH for Homebrew?
Ruby
Path
Homebrew
Ruby: How to convert a string to boolean
Ruby
String
Boolean
Type Conversion
Hidden features of Ruby
Ruby
Hidden Features
Accessing a class's constants
Ruby on-Rails
Ruby
Constants
Generating GUIDs in Ruby
Ruby
Guid
Ruby on Rails: Delete multiple hash keys
Ruby on-Rails
Ruby
How do I globally configure RSpec to keep the '--color' and '--format specdoc' options turned on
Ruby
Colors
Rspec
Configuration Files
How can I merge two hashes without overwritten duplicate keys in Ruby?
Ruby
Could not locate Gemfile
Ruby
Gem
Bundler
Rails 3 datatypes?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails Activerecord
rhc setup gives error `no such file dl/import`
Ruby
Openshift
Can you get DB username, pw, database name in Rails?
Ruby on-Rails
Ruby
Database
Activerecord
Environment
'sudo gem install' or 'gem install' and gem locations
Ruby on-Rails
Ruby
Macos
Rubygems
Look up all descendants of a class in Ruby
Ruby
Ruby sleep or delay less than a second?
Ruby
Removing all empty elements from a hash / YAML?
Ruby on-Rails
Ruby
Hash
Yaml
How to capitalize the first letter in a String in Ruby
Ruby
Nokogiri installation fails -libxml2 is missing
Ruby on-Rails
Ruby
Rubygems
How to URL encode a string in Ruby
Ruby on-Rails
Ruby
String
Uri
Urlencode
Equivalent of "continue" in Ruby
Ruby
Keyword
Continue
How can I find the number of days between two Date objects in Ruby?
Ruby
Date
leading zeros in rails
Ruby
Regex
Ruby on-Rails-3
You have already activated X, but your Gemfile requires Y
Ruby
Rubygems
Bundler
Get file name and extension in Ruby
Ruby
File
Rails Model, View, Controller, and Helper: what goes where?
Ruby on-Rails
Ruby
Model View-Controller
How to prevent browser page caching in Rails
Ruby on-Rails
Ruby
Apache
Caching
Http Headers
Ruby Array find_first object?
Ruby
Arrays
Performance
Find
Ruby class types and case statements
Ruby
Duck Typing
Case Statement
Can't install RMagick 2.13.1. Can't find MagickWand.h.
Ruby
Installation
Rmagick
How can I avoid running ActiveRecord callbacks?
Ruby on-Rails
Ruby
Rails Activerecord
Why does Ruby 1.9.2 remove "." from LOAD_PATH, and what's the alternative?
Ruby
Rake
Require
Load Path
How to get UTC timestamp in Ruby?
Ruby
Timestamp
Rails: Open link in new tab (with 'link_to')
Ruby on-Rails
Ruby
Ruby on-Rails-3
Create a devise user from Ruby console
Ruby on-Rails
Ruby
Devise
Ruby: require vs require_relative - best practice to workaround running in both Ruby <1.9.2 and >=1.9.2
Ruby
Ruby 1.9
Ruby 1.8
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
Get current stack trace in Ruby without raising an exception
Ruby
Stack Trace
Rails formatting date
Ruby on-Rails
Ruby
Date
Date Format
How to drop columns using Rails migration
Ruby on-Rails
Ruby
Database
Activerecord
Rails Migrations
Difference between rake db:migrate db:reset and db:schema:load
Ruby on-Rails
Ruby
Database
Rake
A copy of xxx has been removed from the module tree but is still active
Ruby on-Rails
Ruby
Ruby on-Rails-4
Why doesn't ruby support method overloading?
Ruby
The command rbenv install is missing
Ruby
Ubuntu
Rbenv
Ubuntu 10.04
How to return a part of an array in Ruby?
Ruby
Arrays
List
Slice
All but last element of Ruby array
Ruby
How to extract URL parameters from a URL with Ruby or Rails?
Ruby on-Rails
Ruby
Uri
Url Parameters
How to change default timezone for Active Record in Rails?
Ruby on-Rails
Ruby
Timezone
Rails Activerecord
Check whether a variable is a string in Ruby
Ruby
Idioms
Typechecking
How to convert JSON to a Ruby hash
Ruby
Json
Hashmap
The Ruby %r{ } expression
Ruby on-Rails
Ruby
How do I convert a String object into a Hash object?
Ruby
What is Ruby equivalent of Python's `s= "hello, %s. Where is %s?" % ("John","Mary")`
Python
Ruby
String Formatting
Count, size, length...too many choices in Ruby?
Ruby
Activerecord
Size
Content Length
Continuous Integration for Ruby on Rails?
Ruby on-Rails
Ruby
Continuous Integration
Extract a substring from a string in Ruby using a regular expression
Ruby
Regex
String
Substring
Deleting all records in a database table
Ruby on-Rails
Ruby
Database
Ruby on-Rails-3
How to clear all the jobs from Sidekiq?
Ruby on-Rails
Ruby
Sidekiq
Need a simple explanation of the inject method
Ruby
Syntax
What is the meaning of erb?
Ruby on-Rails
Ruby
Erb
What is the difference between tr and gsub?
Ruby
ERROR: While executing gem ... (Errno::EPERM) Operation not permitted
Ruby
Macos
Rubygems
Osx Elcapitan
Compass
Sorting an array of objects in Ruby by object attribute?
Ruby
Sorting
Object
What's the best way to unit test protected & private methods in Ruby?
Ruby
Unit Testing
Private
Protected
Find value in an array
Ruby
In Ruby how do I generate a long string of repeated text?
Ruby
String
Why does Ruby have both private and protected methods?
Ruby
Language Design
Access Specifier
How to express infinity in Ruby?
Ruby
Infinity
How do RVM and rbenv actually work?
Ruby on-Rails
Ruby
Rubygems
Rvm
Rbenv
How to test if a string is basically an integer in quotes using Ruby
Ruby
Ruby convert Object to Hash
Ruby
Object
Hashmap
Instance Variables
Rails: What's a good way to validate links (URLs)?
Ruby on-Rails
Ruby
Regex
Validation
Url
How do I list all versions of a gem available at a remote site?
Ruby
Gem
Version
ruby send method passing multiple parameters
Ruby
What is the difference between Gemfile and Gemfile.lock in Ruby on Rails
Ruby on-Rails
Ruby
Bundler
Gemfile
gemfile.lock
Trouble comparing time with RSpec
Ruby on-Rails
Ruby
Time
Rspec
Comparison
Determining if a variable is within range?
Ruby
Integer
Conditional
Range
Serving static files with Sinatra
Ruby
Sinatra
How to check if a Ruby object is a Boolean
Ruby
Typechecking
RVM: Uninstalling all gems of a gemset
Ruby
Rvm
Create array of symbols
Ruby
What Ruby IDE do you prefer?
Ruby
Ide
Editor
Best practice to mark deprecated code in Ruby?
Ruby
Deprecated
What is meant by 'Assignment Branch Condition Size too high' and how to fix it?
Ruby on-Rails
Ruby
Code Metrics
Rubocop
Pass a variable into a partial, rails 3?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rubocop Linelength: How to ignore lines with comments?
Ruby
Rubocop
Ruby: Installing rmagick on Ubuntu
Ruby
Linux
Ubuntu
Imagemagick
Rmagick
ruby operator "=~"
Ruby
Operators
How to list all methods for an object in Ruby?
Ruby on-Rails
Ruby
How do I create directory if none exists using File class in Ruby?
Ruby
What's the best/easiest GUI Library for Ruby?
Ruby
User Interface
What does !! mean in ruby?
Ruby
How to change Hash values?
Ruby
Syntax
Hash
Using Rails serialize to save hash to database
Ruby on-Rails
Ruby
Serialization
Activerecord
Ruby Hash to array of values
Ruby
Arrays
Hash
Ruby - elegantly convert variable to an array if not an array already
Ruby
Arrays
Uniq by object attribute in Ruby
Ruby on-Rails
Ruby
Arrays
Unique
JRuby on Rails vs. Ruby on Rails, what's difference?
Ruby on-Rails
Ruby
Jruby
Jrubyonrails
Convert to/from DateTime and Time in Ruby
Ruby
Datetime
Time
Passing a method as a parameter in Ruby
Ruby
Parameters
Methods
Why doesn't Ruby support i++ or i-- (increment/decrement operators)?
Ruby
Operators
Language Design
How to click first link in list of items after upgrading to Capybara 2.0?
Ruby
Rspec
Capybara
Ruby's ||= (or equals) in JavaScript?
Javascript
Ruby
Syntax
How to select option in drop down using Capybara
Ruby
Selenium Webdriver
Capybara
Automatic counter in Ruby for each?
Ruby
Syntax
How do I download a binary file over HTTP?
Ruby
Download
Finding out current index in EACH loop (Ruby)
Ruby
Foreach
Strip html from string Ruby on Rails
Html
Ruby
String
Ruby on-Rails-3
Ruby function to remove all white spaces?
Ruby
String
How to match all occurrences of a regex
Ruby
Regex
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
How to write to file in Ruby?
Ruby
File Io
Rails: Logging the entire stack trace of an exception
Ruby on-Rails
Ruby
Is there any difference between the `:key => "value"` and `key: "value"` hash notations?
Ruby
Syntax
Hash
Ruby 1.9
Hashrocket
Ruby Regexp group matching, assign variables on 1 line
Ruby
Regex
Pattern Matching
Create a new Ruby on Rails application using MySQL instead of SQLite
Mysql
Ruby on-Rails
Ruby
What is the best way to convert an array to a hash in Ruby
Ruby
Arrays
Hashmap
How to randomly sort (scramble) an array in Ruby?
Ruby
Arrays
Random
Shuffle
What's the 'Ruby way' to iterate over two arrays at once
Ruby
Arrays
Iterator
Difference between '..' (double-dot) and '...' (triple-dot) in range generation?
Ruby
Syntax
Range
Pass ruby script file to rails console
Ruby
Ruby on-Rails-3
Can you supply arguments to the map(&:method) syntax in Ruby?
Ruby
Best way to create custom config options for my Rails app?
Ruby on-Rails
Ruby
Configuration
Environment
Get person's age in Ruby
Ruby on-Rails
Ruby
Learning Python from Ruby; Differences and Similarities
Python
Ruby
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
How do I pick randomly from an array?
Ruby
Arrays
Random
Why are exclamation marks used in Ruby methods?
Ruby
Methods
Naming Conventions
Immutability
Ruby replace string with captured regex pattern
Ruby
Regex
Replace
What is the difference between pluck and collect in Rails?
Ruby on-Rails
Ruby
Rails Activerecord
Rails 4 LIKE query - ActiveRecord adds quotes
Sql
Ruby on-Rails
Ruby
Postgresql
Activerecord
ruby inheritance vs mixins
Ruby
Class
Inheritance
Module
Mixins
All Ruby tests raising: undefined method `authenticate' for nil:NilClass
Ruby on-Rails
Ruby
Testing
Rspec
Devise
How do I get the current Date/time in DD/MM/YYYY HH:MM format?
Ruby
How to implement an abstract class in Ruby
Ruby
Abstract Class
Ideal Ruby project structure
Ruby
Project Structure
Is there a performance gain in using single quotes vs double quotes in ruby?
Ruby
Performance
Syntax
How can I remove the string "\n" from within a Ruby string?
Ruby
Regex
What is the difference between `after_create` and `after_save` and when to use which?
Ruby on-Rails
Ruby
Ruby on-Rails-3
How to check a checkbox in capybara?
Ruby on-Rails
Ruby
Testing
Rspec
Capybara
Resque vs Sidekiq?
Ruby
Ruby on-Rails-3
Resque
Sidekiq
advantage of tap method in ruby
Ruby on-Rails
Ruby
Gem installation error: You have to install development tools first (Windows)
Ruby
Windows
Sinatra
Why is sum so much faster than inject(:+)?
Ruby
Possible to access the index in a Hash each loop?
Ruby
Enumerable
In Rails, how do you render JSON using a view?
Ruby on-Rails
Ruby
Json
Templates
Rendering
How to remove RVM (Ruby Version Manager) from my system
Ruby
Rubygems
Rvm
How to install a gem or update RubyGems if it fails with a permissions error
Ruby
Macos
Rubygems
How to sum array of numbers in Ruby?
Ruby
Arrays
Math
Sum
Begin, Rescue and Ensure in Ruby?
Ruby on-Rails
Ruby
Exception
Exception Handling
Error Handling
What does send() do in Ruby?
Ruby
What is the difference between ~> and >= when specifying rubygem in Gemfile?
Ruby
Rubygems
Gemfile
Creating an empty file in Ruby: "touch" equivalent?
Ruby
File
Getting "Warning! PATH is not properly set up" when doing rvm use 2.0.0 --default
Ruby
Bash
Rvm
Ruby 2.0
.Bash Profile
How to run Rails console in the test environment and load test_helper.rb?
Ruby on-Rails
Ruby
Testing
Shoulda
How do I sort an array of hashes by a value in the hash?
Ruby
Arrays
Sorting
Hash
How to write to a JSON file in the correct format
Ruby
Json
File
Read input from console in Ruby?
Ruby
Console
Convert a string to regular expression ruby
Ruby
Regex
String
Ruby 1.9.3
RSpec: how to test if a method was called?
Ruby on-Rails
Ruby
Rspec
Ubuntu rails install fails on zlib
Ruby on-Rails
Ruby
Rubygems
Zlib
Ubuntu 8.10
How to search file text for a pattern and replace it with a given value
Ruby
File Io
What does rake db:test:prepare actually do?
Ruby on-Rails
Ruby
Difference between "not" and "!" in ruby
Ruby
Boolean Logic
Checking if a variable is defined?
Ruby
Reflection
How does one use rescue in Ruby without the begin and end block
Ruby
How to compare versions in Ruby?
Ruby
Convert duration to hours:minutes:seconds (or similar) in Rails 3 or Ruby
Ruby on-Rails
Ruby
Datetime
Ruby on-Rails-3
Ruby on Rails: How do you add add zeros in front of a number if it's under 10?
Ruby on-Rails
Ruby
Block comments in html.erb templates in rails
Ruby on-Rails
Ruby
Comments
Erb
Block Comments
What does the "===" operator do in Ruby?
Ruby
What's the difference between equal?, eql?, ===, and ==?
Ruby
Comparison
Operators
Equality
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
What is the difference between Class and Klass in ruby?
Ruby
Class
Removing a model in rails (reverse of "rails g model Title...")
Ruby on-Rails
Ruby
Model
Migration
Ruby / Rails - Change the timezone of a Time, without changing the value
Ruby on-Rails
Ruby
Datetime
Time
Timezone
Ruby optional parameters
Ruby
Optional Parameters
Is there a print_r or var_dump equivalent in Ruby / Ruby on Rails?
Ruby on-Rails
Ruby
How to check if a string is a valid date
Ruby on-Rails
Ruby
String
Date
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
Using --no-rdoc and --no-ri with bundler
Ruby on-Rails
Ruby
Rubygems
Gem
Bundler
What command opens Ruby's REPL?
Ruby
Read Eval-Print-Loop
Testing for empty or nil-value string
Ruby on-Rails
Ruby
How to resolve "You need to have Ruby and Sass installed and in your PATH for this task to work" Warning?
Ruby
Macos
Bash
Terminal
Sass
Ruby: How to post a file via HTTP as multipart/form-data?
Ruby
Http
Post
Why use Ruby instead of Smalltalk?
Ruby on-Rails
Ruby
Smalltalk
Seaside
When to use nil, blank, empty?
Ruby on-Rails
Ruby
Save image from URL by paperclip
Ruby on-Rails
Ruby
Upload
Paperclip
Create module variables in Ruby
Ruby
Module
Class Variables
rails + MySQL on OSX: Library not loaded: libmysqlclient.18.dylib
Mysql
Ruby on-Rails
Ruby
Macos
How do I wrap link_to around some html ruby code?
Ruby on-Rails
Ruby
How do I compare two hashes?
Ruby
Hash
Is there a way to access method arguments in Ruby?
Ruby on-Rails
Ruby
Rails 4: assets not loading in production
Ruby on-Rails
Ruby
Asset Pipeline
Ruby on-Rails-4
ruby system command check exit code
Ruby
Command
Exit
Exit Code
Private module methods in Ruby
Ruby
Private Methods
Access Specifier
Transform DateTime into simple Date in Ruby on Rails
Ruby on-Rails
Ruby
Datetime
How to get Sinatra to auto-reload the file after each change?
Ruby
Sinatra
How to write a switch statement in Ruby
Ruby
Switch Statement
Conditional Statements
What is the difference between gsub and sub methods for Ruby Strings
Ruby
String
How to install Ruby 2.1.4 on Ubuntu 14.04
Ruby
Ubuntu
Ubuntu 14.04
Is there a reason that we cannot iterate on "reverse Range" in ruby?
Ruby
Iteration
Range
Rails: convert UTC DateTime to another time zone
Ruby on-Rails
Ruby
Datetime
Runtime
Name of this month (Date.today.month as name)
Ruby
Passing multiple error classes to ruby's rescue clause in a DRY fashion
Ruby
Exception
Rescue
How to find the key of the largest value hash?
Ruby
Hash
Rails: "Could not find bundler" (2.2.11) required by Gemfile.lock. (Gem::GemNotFoundException)
Ruby on-Rails
Ruby
Rake
Bundler
Set time part of DateTime in ruby
Ruby
Datetime
Find the extension of a filename in Ruby
Ruby on-Rails
Ruby
Ruby Arrays: select(), collect(), and map()
Ruby
Arrays
In Rails - is there a rails method to convert newlines to <br>?
Ruby on-Rails
Ruby
What is java interface equivalent in Ruby?
Ruby
Interface
How do I upgrade my ruby 1.9.2-p0 to the latest patch level using rvm?
Ruby on-Rails
Ruby
Rvm
ERROR: Error installing capybara-webkit:
Ruby on-Rails
Ruby
Gem
Capybara
Capybara Webkit
Disable ActiveRecord for Rails 4
Ruby on-Rails
Ruby
Ruby on-Rails-4
Saving enum from select in Rails 4.1
Ruby on-Rails
Ruby
Ruby on-Rails-4
Enums
How to get Ruby / Homebrew / RVM to work on Yosemite?
Ruby on-Rails
Ruby
Homebrew
Osx Yosemite
How does Ruby return two values?
Ruby
Ruby: How to get the first character of a string
Ruby
String
How do I run a Ruby file in a Rails environment?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Is inject the same thing as reduce in ruby?
Ruby
Alias
Reduce
Inject
Really Cheap Command-Line Option Parsing in Ruby
Ruby
Ruby: extend self
Ruby
Why are my basic Heroku apps taking two seconds to load?
Ruby
Performance
Heroku
ruby 1.9: invalid byte sequence in UTF-8
Ruby
Encoding
Utf 8
difference between each.with_index and each_with_index in Ruby?
Ruby
What is mattr_accessor in a Rails module?
Ruby on-Rails
Ruby
Class
Module
Activesupport
How to set default values in Rails?
Ruby on-Rails
Ruby
Using do block vs braces {}
Ruby
Coding Style
Ruby: Change negative number to positive number?
Ruby
Math
Numbers
How do I print out the contents of an object in Rails for easy debugging?
Ruby on-Rails
Ruby
How to count identical string elements in a Ruby array
Ruby
Arrays
Count
Element
cannot load such file -- zlib even after using rvm pkg install zlib
Ruby
Linux
Gem
Rvm
Ruby off the rails
Ruby
convert String to DateTime
Ruby
Date
Time
Parsing
How to find an element by matching exact text of the element in Capybara
Ruby
Regex
Capybara
Converting an array of objects to ActiveRecord::Relation
Ruby on-Rails
Ruby
Activerecord
Ruby: kind_of? vs. instance_of? vs. is_a?
Ruby
Inheritance
Introspection
Why use Ruby's attr_accessor, attr_reader and attr_writer?
Ruby
Attributes
Attr Accessor
How do I use define_method to create class methods?
Ruby
Metaprogramming
Class Method
Extracting the last n characters from a ruby string
Ruby
String
Rails: around_* callbacks
Ruby on-Rails
Ruby
Callback
How do I change my Ruby version using RVM?
Ruby
Rvm
find() with nil when there are no records
Ruby on-Rails
Ruby
Ruby on-Rails-3
Activerecord
Rails: Custom text for rails form_for label
Ruby on-Rails
Ruby
Ruby on-Rails-3.2
Form For
Rails 5: ActiveRecord OR query
Ruby on-Rails
Ruby
Activerecord
Ruby on-Rails-5
Rails Activerecord
Convert Time from one time zone to another in Rails
Ruby on-Rails
Ruby
Datetime
Installing in Homebrew errors
Ruby
Permissions
Rvm
Homebrew
How to print something without a new line in ruby
Ruby
Measure and Benchmark Time for Ruby Methods
Ruby on-Rails
Ruby
Time
Benchmarking
Interpreter
How to run Ruby code from terminal?
Ruby
Console
Terminal
bundler vs RVM vs gems vs RubyGems vs gemsets vs system ruby
Ruby
Rubygems
Gem
Rvm
Bundler
Installing Bootstrap 3 on Rails App
Ruby on-Rails
Ruby
Twitter Bootstrap-3
How do you add an array to another array in Ruby and not end up with a multi-dimensional result?
Ruby
Arrays
Multidimensional Array
What does map(&:name) mean in Ruby?
Ruby
Syntax
Operators
Parameter Passing
Using helpers in model: how do I include helper dependencies?
Ruby on-Rails
Ruby
Activerecord
Model
Return two and more values from a method
Ruby
Capturing Ctrl-c in ruby
Ruby
Exception
Copy Paste
Ruby regular expression using variable name
Ruby
Regex
Strange, unexpected behavior (disappearing/changing values) when using Hash default value, e.g. Hash.new([])
Ruby
Hash
Test if string is a number in Ruby on Rails
Ruby on-Rails
Ruby
String
Integer
Disable a group of tests in rspec?
Ruby
Rspec
Best way of returning a random boolean value
Ruby
Ruby get object keys as array
Ruby
Fastest way to check if a string matches a regexp in ruby?
Ruby
Regex
Performance
what is the best way to convert a json formatted key value pair to ruby hash with symbol as key?
Ruby on-Rails
Ruby
Json
`if __name__ == '__main__'` equivalent in Ruby
Python
Ruby
Main
How to initialize an array in one step using Ruby?
Ruby
Arrays
Initialization
Rails how to run rake task
Ruby on-Rails
Ruby
Rake
Remove multiple spaces and new lines inside of String
Ruby
String
Should Gemfile.lock be included in .gitignore?
Ruby
Git
Version Control
Bundler
Gemfile
Error to install Nokogiri on OSX 10.9 Maverick?
Ruby
Macos
Nokogiri
Libxml2
Osx Mavericks
How can I overwrite a getter method in an ActiveRecord model?
Ruby on-Rails
Ruby
Rails Activerecord
Getter Setter
Open an IO stream from a local file or url
Ruby
Stream
What are the Ruby Gotchas a newbie should be warned about?
Ruby
RSpec controller testing - blank response.body
Ruby on-Rails
Ruby
Unit Testing
Rspec
How do I test a file upload in rails?
Ruby on-Rails
Ruby
Testing
Upload
Finding # occurrences of a character in a string in Ruby
Ruby
String
Methods
How do I strip non alphanumeric characters from a string and keep spaces?
Ruby on-Rails
Ruby
Regex
Ruby on-Rails-3
How to get the last element of an array in Ruby?
Ruby
Arrays
How do I set up a basic Ruby project?
Ruby
Project Structure
rspec 3 - stub a class method
Ruby on-Rails
Ruby
Rspec
Rspec3
How do I run a rake task from Capistrano?
Ruby
Rake
Capistrano
Return first match of Ruby regex
Ruby
Regex
String
Appending to an existing string
Ruby
In Ruby, is there an Array method that combines 'select' and 'map'?
Ruby
Installing vim with ruby support (+ruby)
Ruby
Vim
Ruby, !! operator (a/k/a the double-bang)
Ruby
Operators
How do I define a method on one line in Ruby?
Ruby
How to call methods dynamically based on their name?
Ruby
Dynamic
Metaprogramming
How to get the current time as 13-digit integer in Ruby?
Ruby
Error installing mysql2: Failed to build gem native extension
Mysql
Ruby on-Rails
Ruby
Rubygems
Mysql2
What's the difference between the build and create methods in FactoryGirl?
Ruby
Factory Bot
How do I get the parent's class name in Ruby
Ruby
ruby convert array into function arguments
Ruby
Arrays
Function
Arguments
One-liner to recursively list directories in Ruby?
Ruby
Filesystems
Recursion
Add a new line in file?
Ruby
How to create directories recursively in ruby?
Ruby
How to update Ruby to 1.9.x on Mac?
Ruby
Macos
Installation
How to add to an existing hash in Ruby
Ruby
New Operator
Hash
Merge and interleave two arrays in Ruby
Ruby
Arrays
Inheriting class methods from modules / mixins in Ruby
Ruby
Mixins
Ruby: Merging variables in to a string
Ruby
String
ActiveRecord.find(array_of_ids), preserving order
Ruby on-Rails
Ruby
Activerecord
To change directory inside a ruby script?
Ruby on-Rails
Ruby
How to Uninstall RVM?
Ruby
Ubuntu 9.10
Rvm
Get index of array element faster than O(n)
Ruby
Arrays
Performance
Indexing
Get list of a class' instance methods
Ruby
Reflection
Ruby 1.9.2
What is the purpose of "!" and "?" at the end of method names?
Ruby
Methods
Syntax
Predicate
Syntactic Sugar
Installing RubyGems in Windows
Ruby
Installation
Rubygems
How to HTML encode/escape a string? Is there a built-in?
Html
Ruby on-Rails
Ruby
Escaping
Encode
How do I Convert DateTime.now to UTC in Ruby?
Ruby
Get the value of an instance variable given its name
Ruby
Metaprogramming
How do I create multiple submit buttons for the same form in Rails?
Ruby on-Rails
Ruby
Form Submit
Meaning of tilde-greater-than (~>) in version requirement?
Ruby
Rubygems
Stop execution of Ruby script
Ruby
What is the difference between `raise "foo"` and `raise Exception.new("foo")`?
Ruby
Exception
Exception Handling
Devise password reset from Rails console
Ruby on-Rails
Ruby
Ruby on-Rails-3
Devise
Rails Console
Find number of months between two Dates in Ruby on Rails
Ruby on-Rails
Ruby
Date
Ruby on-Rails-3.1
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
Ruby Gem install Json fails on Mavericks and Xcode 5.1 - unknown argument: '-multiply_definedsuppress'
Ruby
Macos
Rubygems
Reuse Cucumber steps
Ruby
Testing
Cucumber
How to redirect to a 404 in Rails?
Ruby on-Rails
Ruby
Http
Http Status-Code-404
Generate array of all letters and digits
Ruby
How do I extract a sub-hash from a hash?
Ruby
Hash
ExecJS::RuntimeError on Windows trying to follow rubytutorial
Javascript
Ruby on-Rails
Ruby
Windows
Asset Pipeline
Does Ruby regular expression have a not match operator like "!~" in Perl?
Ruby
Regex
Add element to an array if it's not there already
Ruby
What's the difference between RSpec's subject and let? When should they be used or not?
Ruby
Unit Testing
Rspec
How do I get elapsed time in milliseconds in Ruby?
Ruby
How can I get source code of a method dynamically and also which file is this method locate in
Ruby
How to use Active Support core extensions
Ruby on-Rails
Ruby
Time
Extension Methods
Activesupport
How do I turn on SQL debug logging for ActiveRecord in RSpec tests?
Ruby on-Rails
Ruby
Activerecord
Rspec Rails
Is Hash Rocket deprecated?
Ruby
Syntax
Hash
Ruby 1.9
Hashrocket
When to use symbols instead of strings in Ruby?
Ruby
Symbols
How to test exception raising in Rails/RSpec?
Ruby on-Rails
Ruby
Rspec
What is the difference between include and require in Ruby?
Ruby
Include
Require
Undo scaffolding in Rails
Ruby on-Rails
Ruby
Scaffolding
How to reverse a 'rails generate'
Ruby
Ruby on-Rails-3
Rails Generate
What is the difference between Ruby 1.8 and Ruby 1.9
Ruby
Ruby 1.9
Ruby 1.8
What's the opposite of chr() in Ruby?
Ruby
Ascii
How to check if a URL is valid
Ruby
How do I convert a Ruby class name to a underscore-delimited symbol?
Ruby on-Rails
Ruby
Metaprogramming
Rails keeps telling me that it's not currently installed
Ruby on-Rails
Ruby
Rvm
Zsh
Why do we need fibers
Ruby
Lambda
Closures
Fibers
Proc
Check if two arrays have the same contents (in any order)
Ruby
Arrays
Comparison
Reraise (same exception) after catching an exception in Ruby
Ruby
Exception
Rails 4: How to reset test database?
Ruby on-Rails
Ruby
Rspec
Safe ActiveRecord like query
Ruby
Activerecord
Ruby on-Rails-4
List comprehension in Ruby
Ruby
List Comprehension
Adding a directory to $LOAD_PATH (Ruby)
Ruby
Rubygems
Load Path
How to elegantly rename all keys in a hash in Ruby?
Ruby
Hash
Key
RVM is not working in ZSH
Ruby
Macos
Rvm
Zsh
How can I have ruby logger log output to stdout as well as file?
Ruby
Logging
Rails DateTime.now without Time
Ruby on-Rails
Ruby
Datetime
Error while installing json gem 'mkmf.rb can't find header files for ruby'
Json
Ruby
Rubygems
Where to place private methods in Ruby?
Ruby
Conventions
Connect to a locally built Jekyll Server using mobile devices in the LAN
Ruby
Github
Jekyll
Webrick
How to install therubyracer gem on 10.10 Yosemite?
Ruby
Gem
Rubygems
Error when trying to install app with mysql2 gem
Mysql
Ruby on-Rails
Ruby
Ruby on-Rails-4
Mysql2
How do you downgrade rubygems?
Ruby
Rubygems
How to open files relative to home directory
Ruby
How can I return something early from a block?
Ruby
Loops
Return
Break
Tell the end of a .each loop in ruby
Ruby on-Rails
Ruby
Loops
Each
If string is empty then return some default value
Ruby on-Rails
Ruby
Convert UTC to local time in Rails 3
Ruby on-Rails
Ruby
Ruby on-Rails-3
Timezone
Activesupport
Rails Console: reload! not reflecting changes in model files? What could be possible reason?
Ruby on-Rails
Ruby
Config
Reload
Rails Console
Ruby Metaprogramming: dynamic instance variable names
Ruby
Metaprogramming
Instance Variables
Rails mapping array of hashes onto single hash
Ruby on-Rails
Ruby
Arrays
Hash
Can I set up Cascade deleting in Rails?
Ruby on-Rails
Ruby
Database
How to map/collect with index in Ruby?
Ruby
Arrays
Indexing
"Ago" date/time functions in Ruby/Rails
Ruby on-Rails
Ruby
Datetime
Array#each vs. Array#map
Ruby
Arrays
Enumerable
Difference between $stdout and STDOUT in Ruby
Ruby
Stdout
Stderr
Output Redirect
uninstall ruby version from rbenv
Ruby
Rbenv
How to tell Rubocop to ignore a specific directory or file
Ruby
Rubocop
Purpose of "consider_all_requests_local" in config/environments/development.rb?
Ruby on-Rails
Ruby
Block commenting in Ruby
Ruby
Comments
Keyboard Shortcuts
Text Editor
Block Comments
How do I remove leading whitespace chars from Ruby HEREDOC?
Ruby
Whitespace
Heredoc
How to get rspec-2 to give the full trace associated with a test failure?
Ruby
Ruby on-Rails-3
Testing
Rspec
Rspec2
How to `bundle install` when your Gemfile requires an older version of bundler?
Ruby on-Rails
Ruby
Bundler
Ruby custom error classes: inheritance of the message attribute
Ruby
Exception
Inheritance
Exception Handling
Custom Exceptions
Converting epoch time with milliseconds to datetime
Python
Ruby
Datetime
Epoch
How to fix "Your Ruby version is 2.3.0, but your Gemfile specified 2.2.5" while server starting
Ruby on-Rails
Ruby
Rubygems
What is the best way to chop a string into chunks of a given length in Ruby?
Ruby
String
Chunking
Correctly doing redirect_to :back in Ruby on Rails when referrer is not available
Ruby on-Rails
Ruby
Http
serve current directory from command line
Ruby
Command Line
Use YAML with variables
Ruby on-Rails
Ruby
Variables
Yaml
String Interpolation
Rails: Validating min and max length of a string but allowing it to be blank
Ruby on-Rails
Ruby
Validation
Model
Ruby's File.open and the need for f.close
Ruby
File
Is it possible to have Methods inside Methods?
Ruby
Methods
Convert string with comma to integer
Ruby
Integer
Data Conversion
Ruby: How to load a file into interactive ruby console (IRB)?
Ruby
Irb
What is the expected syntax for checking exception messages in MiniTest's assert_raises/must_raise?
Ruby
Tdd
Minitest
Assertion
Ruby cannot load such file - active_support/core_ext/object/blank
Ruby
Rubygems
Homebrew
How do I validate a date in rails?
Ruby on-Rails
Ruby
Validation
Date
When monkey patching an instance method, can you call the overridden method from the new implementation?
Ruby
Monkeypatching
What is Ruby's double-colon `::`?
Ruby
Syntax
Operators
Is there a "do ... while" loop in Ruby?
Ruby
Loops
How can I check if a value is a number?
Ruby on-Rails
Ruby
Using 'return' in a Ruby block
Ruby
Lambda
Return
Proc Object
What are the WordPress alternatives for Ruby on Rails?
Ruby on-Rails
Ruby
Wordpress
Content Management-System
How to suppress Rails console/irb outputs
Ruby on-Rails
Ruby
Irb
How to get parent node in Capybara?
Ruby on-Rails
Ruby
Cucumber
Bdd
Capybara
validation custom message for rails 3
Ruby on-Rails
Ruby
Ruby on-Rails-3
Validation
Activerecord
What does << mean in Ruby?
Ruby
Arrays
Operators
Ruby, getting path from path+filename
Ruby
Directory
Active Record - Find records which were created_at before today
Ruby
Activerecord
What are the Python equivalents to Ruby's bundler / Perl's carton?
Python
Ruby
Perl
Virtualenv
Pip
Which Ruby on Rails is compatible with which Ruby version?
Ruby on-Rails
Ruby
warning: constant ::Fixnum is deprecated When generating new model
Ruby on-Rails
Ruby
Ruby on-Rails-5
macOS Mojave 'ruby/config.h' file not found
Ruby
Vim
Macos Mojave
Pushing app to heroku problem
Ruby on-Rails
Ruby
Hosting
Heroku
How to build a Ruby hash out of two equally-sized arrays?
Ruby
Arrays
Hash
Does Python have an "or equals" function like ||= in Ruby?
Python
Ruby
Is there a Ruby, or Ruby-ism for not_nil? opposite of nil? method?
Ruby on-Rails
Ruby
Null
Ruby: what does :: prefix do?
Ruby
Namespaces
Ruby: Can I write multi-line string with no concatenation?
Ruby
Code Formatting
When to use RSpec let()?
Ruby
Rspec
how to know what is NOT thread-safe in ruby?
Ruby
Multithreading
Concurrency
Thread Safety
Ruby on-Rails-4
Ruby: colon before vs after
Ruby
Unable to find a specification in CocoaPods
Ios
Objective C
Ruby
Cocoapods
Ruby max integer
Ruby
Fixnum
Getting a list of folders in a directory
Ruby
Directory
Directory Listing
Mongodb: What to know before using?
Ruby on-Rails
Ruby
Mongodb
Mongomapper
gem install permission problem
Ruby on-Rails
Ruby
Gem
Running command line commands within Ruby script
Ruby
Command Line
Scripting
Terminal
Command Prompt
Speeding up RSpec tests in a large Rails application
Ruby on-Rails
Ruby
Unit Testing
Rspec
Bdd
Difference between class variables and class instance variables?
Ruby
Class Variables
Class Instance-Variables
Ruby Date Subtraction (e.g. 90 days Ago)
Ruby
Date
How to preserve request url with nginx proxy_pass
Ruby
Proxy
Nginx
Thin
Unicorn
Correct MySQL configuration for Ruby on Rails Database.yml file
Mysql
Ruby on-Rails
Ruby
Yaml
How to run a .rb file from IRB?
Ruby on-Rails
Ruby
Irb
Why does string interpolation work in Ruby when there are no curly braces?
Ruby
String Interpolation
Create or append to array in Ruby
Ruby
Arrays
EventSource / Server-Sent Events through Nginx
Ruby
Nginx
Sinatra
How to delete specific characters from a string in Ruby?
Ruby
String
Trim
Ruby: What does 'require: false' in Gemfile mean?
Ruby
Bundler
Gemfile
How can I find which operating system my Ruby program is running on?
Ruby
Operating System
Does Ruby perform Tail Call Optimization?
Ruby
Functional Programming
Tail Recursion
Ruby Koans: Why convert list of symbols to strings
Ruby
How to write a Ruby switch statement (case...when) with regex and backreferences?
Ruby
Regex
Switch Statement
How to check if a number is included in a range (in one statement)?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Numbers
Range
undefined method `visit' when using RSpec and Capybara in rails
Ruby on-Rails
Ruby
Rspec
Capybara
iterating over each character of a String in ruby 1.8.6 (each_char)
Ruby
String
Iterator
Ruby factorial function
Ruby
Math
Factorial
Read contents of a local file into a variable in Rails
Ruby on-Rails
Ruby
What Does Ruby's Array#shift do?
Ruby
What is the difference between include and extend in Ruby?
Ruby
Module
Include
Extend
Tell Ruby Program to Wait some amount of time
Ruby
Sleep
Finding the element of a Ruby array with the maximum value for a particular attribute
Ruby
Gem Command not found
Ruby
Linux
Rubygems
TCPServer Error: Address already in use - bind(2)
Ruby
Jekyll
Testing whether string starts with or end with another string
Ruby
String
Stop rails console from printing out the object at the end of a loop
Ruby on-Rails
Ruby
Console
Irb
PG::Error: ERROR: new encoding (UTF8) is incompatible
Ruby on-Rails
Ruby
Postgresql
What is the point of object.presence?
Ruby on-Rails
Ruby
Safe navigation equivalent to Rails try for hashes
Ruby on-Rails
Ruby
Bundler: can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException) during bundle install with gem
Ruby on-Rails
Ruby
Rubygems
Bundle
Bundler
What's the best way to use SOAP with Ruby?
Ruby on-Rails
Ruby
Soap
Why is Ruby more suitable for Rails than Python?
Python
Ruby on-Rails
Ruby
Web Frameworks
Why are all Rails helpers available to all views, all the time? Is there a way to disable this?
Ruby on-Rails
Ruby
Helpers
Check if record was just destroyed in rails
Ruby on-Rails
Ruby
Activerecord
Combination of two arrays in Ruby
Ruby
Combinations
How do I modify an array while I am iterating over it in Ruby?
Ruby
Arrays
Iteration
Ruby send JSON request
Ruby
Json
Httprequest
Extract number from string in Ruby
Ruby
Split Ruby regex over multiple lines
Ruby
Regex
Code Formatting
Ruby strftime: Month without leading zero?
Ruby
Date
Format
Strftime
Ruby Gemspec Dependency: Is possible have a git branch dependency?
Ruby
Rubygems
Dependencies
Bundler
Gemspecs
Difference between an it block and a specify block in RSpec
Ruby on-Rails
Ruby
Rspec
How to find a min/max with Ruby
Ruby
Enumerable
Ruby - Access multidimensional hash and avoid access nil object
Ruby
Hash
Conditional
Where does bundler store gems?
Ruby
Gem
Rvm
Bundler
Gemset
Interpreting a benchmark in C, Clojure, Python, Ruby, Scala and others
Python
Ruby
Scala
Clojure
Benchmarking
NameError (uninitialized constant Paperclip::Storage::S3::AWS):
Ruby on-Rails
Ruby
Amazon Web-Services
Paperclip
Python vs. Ruby for metaprogramming
Python
Ruby
Lisp
Metaprogramming
What exactly is the singleton class in ruby?
Ruby
Oop
Singleton
Parse email content from quoted reply
C#
Ruby
Email
Email Parsing
Debugging in ruby 1.9
Ruby
Debugging
Rdebug
Default task for namespace in Rake
Ruby
Rake
Most concise way to test string equality (not object equality) for Ruby strings or symbols?
Ruby
Syntax for a for loop in ruby
Ruby
Syntax
Converting UTC timestamp to ISO 8601 in Ruby
Ruby on-Rails
Ruby
Timestamp
Using Net::HTTP.get for an https url
Ruby
Hash remove all except specific keys
Ruby on-Rails
Ruby
Ruby on-Rails-3
Access instance variable from outside the class
Ruby
Instance Variables
Difference between a class and a module
Ruby
Class
Module
What is the easiest way to duplicate an activerecord record?
Ruby on-Rails
Ruby
Rails Activerecord
Difference between map and collect in Ruby?
Ruby
Arrays
Map
Collect
How to update Ruby with Homebrew?
Ruby
Macos
Homebrew
RuboCop: Line is too long ← How to Ignore?
Ruby on-Rails
Ruby
Sublimetext3
Rubocop
Is Ruby a functional language?
Ruby
Functional Programming
Determine ruby version from within Rails
Ruby on-Rails
Ruby
Ruby Enterprise-Edition
Is there a good, solid reference for proper RDoc syntax?
Ruby
Rdoc
What does the fail keyword do in Ruby?
Ruby
Rails 4 before_action, pass parameters to invoked method
Ruby
Append key/value pair to hash with << in Ruby
Ruby
Hash
Rspec 3 how to test flash messages
Ruby on-Rails
Ruby
Rspec
How to break out from a ruby block?
Ruby
How do I set HTTP_REFERER when testing in Rails?
Ruby on-Rails
Ruby
Testing
Continuously read from STDOUT of external process in Ruby
Ruby
Shell
Process
Stdout
Stdin
Subtracting one Array from another in Ruby
Ruby
Arrays
Array Difference
ruby working on array elements in groups of four
Ruby
Ruby string slice index: str[n..infinity]
Ruby
File.expand_path("../../Gemfile", __FILE__) How does this work? Where is the file?
Ruby
rails bundle clean
Ruby on-Rails
Ruby
Bundler
How do I loop over a hash of hashes?
Ruby on-Rails
Ruby
Hash
Does Ruby have mkdir -p?
Ruby
File
Path
Directory
Mkdir
How to pass parameter on 'vagrant up' and have it in the scope of Vagrantfile?
Ruby
Command Line
Vagrant
Parameter Passing
Invalid active developer path on MAC OS X after installing Ruby
Ruby
Xcode
Macos
Xcrun
What does %i or %I do in Ruby?
Ruby on-Rails
Ruby
What do the different brackets in Ruby mean?
Ruby
Syntax
Do you leave parentheses in or out in Ruby?
Ruby
Coding Style
How to update Ruby Version 2.0.0 to the latest version in Mac OSX Yosemite?
Ruby
Version
What exactly is a "role" in Capistrano?
Ruby on-Rails
Ruby
Capistrano
rails - Redirecting console output to a file
Ruby on-Rails
Ruby
File
Console
Getting the warning "Insecure world writable dir /home/chance " in PATH, mode 040777 for rails and gem
Ruby on-Rails
Ruby
Linux
Gem
Rvm
How to get request referer path?
Ruby on-Rails
Ruby
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
Rails: Update model attribute without invoking callbacks
Ruby on-Rails
Ruby
Model
Attributes
Callback
How can I switch to ruby 1.9.3 installed using Homebrew?
Ruby
Macos
Osx Lion
Homebrew
Where and how is the _ (underscore) variable specified?
Ruby
Create array of n items based on integer value
Ruby
ruby .split('\n') not splitting on new line
Ruby
String
fetch vs. [] when working with hashes?
Ruby
Cannot execute "rails console" due to an error with readline
Ruby on-Rails
Ruby
Ruby on-Rails-3
Homebrew
Rbenv
What is the best way to seed a database in Rails?
Ruby on-Rails
Ruby
Database
Task
Seed
Rails 4: List of available datatypes
Ruby on-Rails
Ruby
Ruby on-Rails-4
Rails Activerecord
Determining type of an object in ruby
Ruby
Types
In Ruby, how do I check if method "foo=()" is defined?
Ruby
Syntax Error
Rails sessions current practices
Ruby on-Rails
Ruby
Session
Cookies
What exactly is Arel in Rails 3.0?
Ruby on-Rails
Ruby
Activerecord
Arel
How does load differ from require in Ruby?
Ruby on-Rails
Ruby
LEFT OUTER joins in Rails 3
Ruby on-Rails
Ruby
Activerecord
How do I "activate" a different version of a particular gem?
Ruby on-Rails
Ruby
Rubygems
Rvm
Rails Paperclip how to delete attachment?
Ruby on-Rails
Ruby
Paperclip
How to know if today's date is in a date range?
Ruby
Date
Range
How can I get the name of the command called for usage prompts in Ruby?
Ruby
Command Line
How to check if a directory/file/symlink exists with one command in Ruby
Ruby
File
Directory
Symlink
Exists
String "true" and "false" to boolean
Jquery
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby multiple string replacement
Ruby
String
Gsub
Ruby Rspec : Testing instance variables without adding an accessor to source
Ruby
Rspec
Instance Variables
How do I create a copy of some columns of a CSV file in Ruby with different data in one column?
Ruby
Csv
Ruby: How to make a public static method?
Ruby on-Rails
Ruby
How do I 'validate' on destroy in rails
Ruby on-Rails
Ruby
Callback
Rails /lib modules and
Ruby on-Rails
Ruby
Class
Module
How to split a string in Ruby and get all items except the first one?
Ruby
String
Split
Why isn't the eigenclass equivalent to self.class, when it looks so similar?
Ruby
Language Features
Eigenclass
How to understand symbols in Ruby
Ruby
Symbols
How to run Rake tasks from within Rake tasks?
Ruby
Rake
How to downgrade or install an older version of Cocoapods
Ios
Ruby
Rubygems
Cocoapods
How do I check to see if my array includes an object?
Ruby on-Rails
Ruby
Space in the ruby array by %w
Ruby
Arrays
Ruby sort by multiple values?
Ruby
before_filter with parameters
Ruby on-Rails
Ruby
Ruby on-Rails-3
Before Filter
Installed memcached via homebrew, how to start and stop server?
Ruby
Memcached
Homebrew
Should I specify exact versions in my Gemfile?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rubygems
Bundler
Check if a constant is already defined
Ruby
Constants
What's the difference between request.remote_ip and request.ip in Rails?
Ruby on-Rails
Ruby
Rack
Best Solution For Authentication in Ruby on Rails
Ruby on-Rails
Ruby
Authentication
Best Practices for reusing code between controllers in Ruby on Rails
Ruby on-Rails
Ruby
Is it idiomatic Ruby to add an assert( ) method to Ruby's Kernel class?
Ruby
Assert
Xunit
Welcome/home page in Ruby on Rails - best practice
Ruby on-Rails
Ruby
Can a Ruby script tell what directory it’s in?
Ruby
Scripting
Path
Directory
Environment Variables
In Ruby, how do I make a hash from an array?
Ruby
Arrays
Hash
In Ruby is there a way to overload the initialize constructor?
Ruby
How do I get the name of a Ruby class?
Ruby on-Rails
Ruby
Rails Activerecord
In Ruby is there a way to overload the initialize constructor?
Ruby
Ruby each_with_index offset
Ruby
Iteration
how to check the database name that ActiveRecord uses
Ruby on-Rails
Ruby
Configuration
What's the difference between GEM_HOME and GEM_PATH?
Ruby
Rubygems
therubyracer - Gem::Ext::BuildError: ERROR: Failed to build gem native extension
Ruby
Gcc
Osx Mavericks
Therubyracer
Libv8
What to use instead of `render :text` (and `render nothing: true`) in rails 5.1 and later?
Ruby on-Rails
Ruby
Ruby on-Rails-5
Getting the Hostname or IP in Ruby on Rails
Ruby
Networking
Best ruby idiom for "nil or zero"
Ruby
Design Patterns
Idioms
Null
How can I initialize a module's instance variables in Ruby?
Ruby
Module
Instance Variables
Mongoid or MongoMapper?
Ruby
Mongodb
Mongoid
Mongomapper
Odm
Ruby ternary operator without else
Ruby
Operators
Conditional
Conditional Operator
How to time an operation in milliseconds in Ruby?
Ruby
Timer
Parsing XLS and XLSX (MS Excel) files with Ruby?
Ruby
Excel
What is the difference between send_data and send_file in Ruby on Rails?
Ruby on-Rails
Ruby
Sendfile
In Ruby on Rails, to extend the String class, where should the code be put in?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Why can't I install Rails on Lion using RVM?
Ruby on-Rails
Ruby
Macos
Rvm
Error installing gem capybara-webkit
Ruby
Gem
Capybara
How to make Capybara check for visibility after some JS has run?
Ruby
Rspec
Capybara
Integration Testing
How to get a single column's values into an array
Ruby on-Rails
Ruby
Ruby on-Rails-3
Best practice about empty belongs_to association
Ruby on-Rails
Ruby
Activerecord
How do I find out which gem has a specific dependency?
Ruby on-Rails
Ruby
Gem
Bundler
Regular expressions with validations in RoR 4
Ruby on-Rails
Ruby
Activerecord
Check if not nil and not empty in Rails shortcut?
Ruby on-Rails
Ruby
How do I use "gets" on a rake task?
Ruby on-Rails
Ruby
Rake
Ruby: Proc#call vs yield
Ruby
Yield
Array.join("\n") not the way to join with a newline?
Ruby on-Rails
Ruby
"which in ruby": Checking if program exists in $PATH from ruby
Ruby
Unix
Path
Ruby gem mysql2 install failing
Mysql
Ruby
Rubygems
Mysql2
Libmysql
Protected and private methods in Rails
Ruby on-Rails
Ruby
Visibility
Private
Protected
what is the point of return in Ruby?
Ruby
Return
Mac user and getting WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3
Ruby
Macos
Nokogiri
Libxml2
How to add minutes to a Time object
Ruby on-Rails
Ruby
Time
how to safely replace all whitespaces with underscores with ruby?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Execute bash commands from a Rakefile
Ruby
Bash
Rake
Uploading a file in Rails
Ruby on-Rails
Ruby
File Upload
File Io
Limitations in running Ruby/Rails on windows
Ruby on-Rails
Windows
Ruby
Ironruby
What exactly is Rake?
Ruby on-Rails
Ruby
Rake
Run rake task in controller
Ruby on-Rails
Ruby
Rake
rails - Finding intersections between multiple arrays
Ruby on-Rails
Ruby
Arrays
Array Intersect
How do I check if a variable is an instance of a class?
Ruby
Inheritance
Introspection
JavaScript Array: get "range" of items
Javascript
Ruby
Arrays
Range
Is there a Python equivalent to Ruby symbols?
Python
Ruby
Dictionary
Symbols
Language Comparisons
RoR - MD5 generation
Ruby
Hash
Md5
Digest
How to convert a unix timestamp (seconds since epoch) to Ruby DateTime?
Ruby
Datetime
Timestamp
How can I specify a local gem in my Gemfile?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rubygems
Bundler
String concatenation vs. interpolation in Ruby
Ruby
String Concatenation
String Interpolation
How do I replace accented Latin characters in Ruby?
Ruby on-Rails
Ruby
Activerecord
Unicode
Utf 8
Find classes available in a Module
Ruby
Metaprogramming
Passing hashes instead of method parameters
Ruby
Oop
Coding Style
How does Array#sort work when a block is passed?
Arrays
Ruby
Sorting
One liner in Ruby for displaying a prompt, getting input, and assigning to a variable?
Ruby
Input
Rails - Best-Practice: How to create dependent has_one relations
Ruby on-Rails
Ruby
Activerecord
Ruby on-Rails-3
Associations
Can you use semicolons in Ruby?
Ruby
Syntax
Descending sort by value of a Hash in Ruby
Ruby
Sorting
Hash
Directly accessing an instance variable vs. Using an accessor method
Ruby
Instance Variables
Accessor
How do I convert a comma-separated string into an array?
Ruby
Arrays
String
Csv
Get names of all files from a folder with Ruby
Ruby
File
Directory
Filenames
How to map and remove nil values in Ruby
Ruby
Ruby - How to select some characters from string
Ruby
String
Function
Char
Substr
Rails: How I can get yesterday's date?
Ruby on-Rails
Ruby
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
Ruby: console.log?
Ruby
Ruby - mapping an array to hashmap
Ruby
Hashmap
How to fix "Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0"
Ruby on-Rails
Ruby
Ruby: Creating a hash key and value from a variable in Ruby
Ruby
Hash
Syntax
Determine file type in Ruby
Ruby
Content Type
Mime Types
File Type
How do I remove carriage returns with Ruby?
Ruby
Regex
To use self. or not.. in Rails
Ruby on-Rails
Ruby
Ruby: how can I copy a variable without pointing to the same object?
Ruby
How to implement a "callback" in Ruby?
Ruby
Callback
Finding what is common to two arrays
Ruby
Ruby String to Date Conversion
Ruby on-Rails
Ruby
Datetime
Date
Dynamic Class Definition WITH a Class Name
Ruby
Class
Dynamic
Metaprogramming
Rails update_attributes without save?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-4
Rails Activerecord
What does ||= (or-equals) mean in Ruby?
Ruby
Operators
Parsing a JSON string in Ruby
Ruby
Json
Rspec Output Format: Documentation
Ruby on-Rails
Ruby
Rspec
Format the date using Ruby on Rails
Ruby on-Rails
Ruby
How do I install ruby 2.0.0 correctly on Ubuntu 12.04?
Ruby
Ubuntu
Adding a custom seed file
Ruby on-Rails
Ruby
Ruby on-Rails-3.2
Rake
Seed
What is the use of secret_key_base in rails 4
Ruby on-Rails
Ruby
Ruby on-Rails-4
Ruby on-Rails-5
Ruby on-Rails-6
Rubocop 25 line block size and RSpec tests
Ruby
Rspec
Rubocop
Why do Ruby setters need "self." qualification within the class?
Ruby
Rails: Access to current_user from within a model in Ruby on Rails
Ruby on-Rails
Ruby
Session
Rails Activerecord
How to hide password input from terminal in ruby script
Ruby
Uninstall old versions of Ruby gems
Ruby
Gem
What is Ruby 1.9 standard CSV library?
Ruby
Csv
Fastercsv
How do I check if a class is defined?
Ruby
Ruby on-Rails-3
Class
Defined
Ruby class inheritance: What is `<<` (double less than)?
Ruby
solutions to the annoying "warning: already initialized constant" message
Ruby
Constants
Ruby Activerecord IN clause
Ruby
Activerecord
Where to put Ruby helper methods for Rails controllers?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-3.2
View Helpers
Difference between after_create, after_save and after_commit in rails callbacks
Ruby on-Rails
Ruby
Activerecord
Callback
Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib (LoadError)
Ruby on-Rails
Ruby
Ruby on-Rails-4
Docker for Mac - mkmf.rb can't find header files for ruby
Ruby
Docker
How do I get Haml to work with Rails?
Ruby on-Rails
Ruby
Netbeans
Haml
Difference between has_one and belongs_to in Rails?
Ruby on-Rails
Ruby
Has One
How do I use gems with Ubuntu?
Ruby on-Rails
Ruby
Ubuntu
Rubygems
Capistrano
Ruby, Difference between exec, system and %x() or Backticks
Ruby
Exec
When to use Struct instead of Hash in Ruby?
Ruby
Hash
Struct
Rounding a float to the nearest integer in ruby
Ruby
How to access URL helper from rails module
Ruby on-Rails
Ruby
Url
Model
Helper
Connecting Rails 3.1 with Multiple Databases
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails Activerecord
Activeresource
Escaping single and double quotes in a string in ruby?
Ruby
Escaping
Ruby: How to concatenate array of arrays into one
Ruby
Arrays
Multidimensional Array
Concatenation
Check if a filename is a folder or a file
Ruby
File
Get sidekiq to execute a job immediately
Ruby
Sidekiq
In Rails, what's the difference between find_each and where?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-4
Activerecord
How to create a Gemfile?
Ruby
Rspec
What is your preferred way to produce charts in a Ruby on Rails web application?
Ruby on-Rails
Ruby
Charts
What are those pipe symbols for in Ruby?
Ruby
Syntax
Rails Active Record find(:all, :order => ) issue
Ruby on-Rails
Ruby
Activerecord
Sort array returned by ActiveRecord by date (or any other column)
Ruby on-Rails
Ruby
Arrays
Activerecord
How can I use Array#delete while iterating over the array?
Ruby
Arrays
Iteration
Manually Retry Job in Delayed_job
Ruby on-Rails
Ruby
Rubygems
Delayed Job
How to search a folder and all of its subfolders for files of a certain type
Ruby
File Io
Recursion
Static pages in Ruby on Rails
Ruby on-Rails
Ruby
incompatible character encodings: ASCII-8BIT and UTF-8
Ruby on-Rails
Ruby
Ruby on-Rails-3
Haml
How do I chain if statements in Jekyll?
Ruby on-Rails
Ruby
Jekyll
What does `def self.function` name mean?
Ruby
Strictly convert string to integer (or nil)
Ruby
Type Conversion
How can I delete one element from an array by value
Arrays
Ruby
String concatenation in Ruby
Ruby
String Concatenation
What's the difference between a string and a symbol in Ruby?
Ruby
String
Symbols
NoMethodError when trying to invoke helper method from Rails controller
Ruby on-Rails
Ruby
link_to method and click event in Rails
Ruby on-Rails
Ruby
Create two-dimensional arrays and access sub-arrays in Ruby
Ruby
Arrays
Multidimensional Array
Why does Ruby have TrueClass and FalseClass instead of a single Boolean class?
Ruby
Language Design
How do I check an array for duplicates?
Ruby
Arrays
What the difference between mysql and mysql2 gem
Mysql
Ruby on-Rails
Ruby
Rubygems
How can I handle errors with HTTParty?
Ruby on-Rails
Ruby
Httparty
Capistrano deploy fails after I changed the repository URL
Ruby
Deployment
Capistrano
What is the best way to write specs for code that depends on environment variables?
Ruby
Rspec
Environment Variables
Find indices of elements that match a given condition
Ruby
Arrays
Parsing string to add to URL-encoded URL
Ruby on-Rails
Ruby
Ruby on-Rails-3
What is the difference between <%, <%=, <%# and -%> in ERB in Rails?
Ruby on-Rails
Ruby
Templates
Erb
Rails I18n validation deprecation warning
Ruby on-Rails
Ruby
Ruby on-Rails-4
Deprecated
Rails I18n
Split string by multiple delimiters
Ruby
String
Split
ruby DateTime parsing from 'mm/dd/yyyy' format
Ruby
Ruby on-Rails-3
How to write a shell script that starts tmux session, and then runs a ruby script
Ruby
Bash
Shell
Tmux
can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0
Ruby on-Rails
Ruby
Sqlite
Preferred Ruby plugin for Eclipse?
Ruby
Eclipse
Eclipse Plugin
Ruby Development-Tools
How to monitor delayed_job with monit
Ruby on-Rails
Ruby
Delayed Job
Monit
God
Add image to layout in ruby on rails
Ruby on-Rails
Ruby
Image
Layout
Getting types of the attributes in an ActiveRecord object
Ruby on-Rails
Ruby
Activerecord
Activemodel
static variables in ruby
Ruby
Ruby Gems Not Installing, Hangs While Getting Gems
Ruby on-Rails
Ruby
Macos
Rubygems
How to remove installed ri and rdoc?
Ruby
Rubygems
=== vs. == in Ruby
Ruby
getaddrinfo: nodename nor servname provided, or not known
Ruby on-Rails
Ruby
Capistrano
Delayed Job
Where are rake tasks defined?
Ruby on-Rails
Ruby
Rake
Rakefile
How to run all tests with minitest?
Ruby
Minitest
How can I know when to "refresh" my model object in Rails?
Ruby on-Rails
Ruby
Testing
Activerecord
Rails Select Drop Down for States?
Ruby on-Rails
Ruby
Drop Down-Menu
How to act differently on the first iteration in a Ruby loop?
Ruby
What is the use case for Ruby's %q / %Q quoting methods?
Ruby
String
Quotes
Ruby: Calling class method from instance
Ruby
Class Method
Failed to build gem native extension — Rails install
Ruby on-Rails
Ruby
Rubygems
What do `?i` and `?-i` in regex mean?
Ruby
Regex
How to run shell commands on server in Capistrano v3?
Ruby
Capistrano3
Why Bundle Install is installing gems in vendor/bundle?
Ruby on-Rails
Ruby
Gem
Rvm
Bundler
TZInfo::DataSourceNotFound error starting Rails v4.1.0 server on Windows
Ruby on-Rails
Ruby
Ruby on-Rails-4.1
Tzinfo
Ruby: How to count the number of times a string appears in another string?
Ruby
String
Count
How to solve "/usr/bin/env: ruby_executable_hooks: No such file or directory"?
Ruby
Git
Rvm
Jekyll
Undefined method raise_in_transactional_callbacks=' for ActiveRecord::Base:Class (NoMethodError)
Ruby on-Rails
Ruby
How to install Nokogiri on Mac OS Sierra 10.12
Ruby
Nokogiri
Better ruby markdown interpreter?
Ruby
Markdown
Using Tuples in Ruby?
Ruby
Tuples
Relational
How to do static content in Rails?
Ruby on-Rails
Ruby
Static Content
Convert a Nokogiri document to a Ruby Hash
Xml
Ruby
Hash
Nokogiri
Libxml Ruby
How do I create a Ruby date object from a string?
Ruby
Date
What's the best way to parse a tab-delimited file in Ruby?
Ruby
Tsv
Given an array of arguments, how do I send those arguments to a particular function in Ruby?
Ruby
Arrays
Function
Arguments
What is the "right" way to iterate through an array in Ruby?
Ruby
Arrays
Loops
How to create an integer-for-loop in Ruby?
Ruby
For Loop
What does the equal ('=') symbol do when put after the method name in a method definition?
Ruby
Best Practice: Try vs Rescue
Ruby on-Rails
Ruby
is not checked out... bundle install does NOT fix help!
Ruby on-Rails
Ruby
Git
Gem
Ruby: Most concise way to use an ENV variable if it exists, otherwise use default value
Ruby
Hash
Rails validation required numericality even though presence is not set to true
Ruby on-Rails
Ruby
Ruby on-Rails-3
Using Live Reload with Jekyll
Ruby
Jekyll
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
Array of hashes to hash
Ruby
Arrays
Hash
Installing PostgreSQL on Ubuntu for Ruby on Rails
Ruby on-Rails
Ruby
Postgresql
Ubuntu
Heroku
How to reinstall a gem using bundler
Ruby
Rubygems
Bundler
PG::Error: SELECT DISTINCT, ORDER BY expressions must appear in select list
Ruby on-Rails
Ruby
Ruby on-Rails-3
Postgresql
Distinct
Is it possible to get Ruby syntax highlighting in PHPStorm?
Php
Ruby
Phpstorm
How to install RVM system requirements without giving sudo access for RVM user
Ruby
Deployment
Rvm
Sudo
Attr_accessor on class variables
Ruby
nokogiri gem installation error
Ruby on-Rails
Ruby
Macos
Rubygems
Nokogiri
rails console doesn't load due to libreadline
Ruby on-Rails
Ruby
Macos
How to round a time down to the nearest 15 minutes in Ruby?
Ruby
Ruby on Rails scalability/performance?
Ruby on-Rails
Ruby
Scalability
How to fake Time.now?
Ruby
Unit Testing
Time
How to convert a ruby hash object to JSON?
Ruby on-Rails
Json
Ruby
Hashmap
Concatenating string with number in ruby
Ruby
Passing a hash to a function ( *args ) and its meaning
Ruby
Retrieving/Listing all key/value pairs in a Redis db
Ruby
Rubygems
Nosql
Redis
Ohm
Why is rake db:migrate:reset not listed in rake -T?
Ruby on-Rails
Ruby
Rake
How do I get unique elements in this array?
Ruby on-Rails
Ruby
Ruby objects and JSON serialization (without Rails)
Ruby
Json
Serialization
Jsonserializer
How to split string into only two parts with a given character in Ruby?
Ruby
String
Split
Ruby JSON parse changes Hash keys
Ruby on-Rails
Ruby
Json
Hash
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
How do I find the index of a character in a string in Ruby?
Ruby
String
Indexing
Get today's date in Jekyll with Liquid markup
Ruby
Datetime
Jekyll
Liquid
Why do we have 0.0 and -0.0 in Ruby?
Ruby
Floating Point
Negative Zero
How do I generate a random 10 digit number in ruby?
Ruby
Random
Rails has_many :through Find by Extra Attributes in Join Model
Ruby on-Rails
Ruby
Has Many
Has Many-Through
How to count duplicate elements in a Ruby array
Ruby
Arrays
I have a Rails task: should I use script/runner or rake?
Ruby on-Rails
Ruby
Rake
Ruby: How to make IRB print structure for Arrays and Hashes
Ruby
Irb
Is there a way to avoid automatically updating Rails timestamp fields?
Ruby on-Rails
Ruby
Activerecord
Timestamp
Equivalent of cURL for Ruby?
Ruby
Curl
Rails flash message remains for two page loads
Ruby on-Rails
Ruby
Ruby Method calls declared in class body
Ruby on-Rails
Ruby
Ruby: Continue a loop after catching an exception
Ruby
Exception Handling
Loops
Convert Ruby Date to Integer
Ruby on-Rails
Ruby
Datetime
Date
Ruby: Is it possible to define a class method in a module?
Ruby
What is the meaning of *nix?
Ruby
Linux
Unix
Operating System
when we import csv data, how eliminate "invalid byte sequence in UTF-8"
Ruby
Utf 8
Rails 3. How to display two decimal places in edit form?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Forms
A JSON text must at least contain two octets
Json
Ruby
Find unused code in a Rails app
Ruby on-Rails
Ruby
Refactoring
Code Coverage
How do I convert an array of strings into a comma-separated string?
Ruby on-Rails
Ruby
Arrays
How to format a string with floats in Ruby using #{variable}?
Ruby
Will UUID as primary key in PostgreSQL give bad index performance?
Ruby on-Rails
Ruby
Postgresql
Heroku
Shoulda/RSpec matchers - conditional validation
Ruby on-Rails
Ruby
Rspec
Shoulda
Write to rails console
Ruby on-Rails
Ruby
Debugging
Development Environment
Rails Console
Best way to require all files from a directory in ruby?
Ruby
File
Directory
Require
Call method only if it exists
Ruby on-Rails
Ruby
Rails optional belongs_to
Ruby on-Rails
Ruby
Activerecord
Why does "compass watch" say it cannot load sass/script/node (LoadError)?
Ruby
Rubygems
Compass Sass
Dynamic method calling in Ruby
Ruby
Metaprogramming
Dynamic Method
Checking if a string is valid json before trying to parse it?
Ruby
Json
Ruby 2.4 and Rails 4 stack level too deep (SystemStackError)
Ruby on-Rails
Ruby
Listen error: unable to monitor directories for changes
Ruby on-Rails
Ruby
Ubuntu
Rails model without database
Ruby on-Rails
Ruby
Activerecord
What does 'Monkey Patching' exactly Mean in Ruby?
Ruby
Terminology
Monkeypatching
Time difference in hours
Ruby
Time
How do I pass multiple arguments to a ruby method as an array?
Ruby on-Rails
Ruby
Arrays
Methods
Arguments
How to check if a class already exists in Ruby
Ruby
Class
obj.nil? vs. obj == nil
Ruby
Null
Comparison
Ruby - can't modify frozen string (TypeError)
Ruby
how to convert 270921sec into days + hours + minutes + sec ? (ruby)
Ruby
Time
How do I rename a gemset?
Ruby
Rvm
How can I reload a script in IRB?
Ruby
Irb
Does Ruby have containers like stacks, queues, linked-lists, maps, or sets?
Ruby
How to find where gem files are installed
Ruby
Rubygems
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
Usage of integers as hash keys
Ruby
Hashmap
ruby-debug with Ruby 1.9.3?
Ruby on-Rails
Ruby
Ruby 1.9.3
Ruby Debug
Iterate over the first n elements of an array
Ruby
Arrays
How to change hash keys from `Symbol`s to `String`s?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hash
`gem install therubyracer` fails on Mac OS X Lion
Ruby
Rubygems
V8
class << self vs self.method with Ruby: what's better?
Ruby
Dividing elements of a ruby array into an exact number of (nearly) equal-sized sub-arrays
Ruby on-Rails
Ruby
Arrays
Ruby 1.8.7
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
Collect values from an array of hashes
Ruby
Arrays
Hash
Collect
Increment variable in ruby
Ruby on-Rails
Ruby
Library not loaded: /opt/local/lib/libssl.1.0.0.dylib (LoadError)
Ruby
Ssl
Rvm
What is the difference between Integer and Fixnum?
Ruby
Your Ruby version is 2.0.0, but your Gemfile specified 2.1.0
Ruby
Gemfile
How do you uninstall rbenv on macOS?
Ruby
Macos
Homebrew
Rbenv
Is everything an object in Python like Ruby?
Python
Ruby
Object
Language Comparisons
How to chunk an array in Ruby
Ruby
Arrays
How to set a file upload programmatically using Paperclip
Ruby on-Rails
Ruby
Paperclip
File Upload
How to convert a string to a constant in Ruby?
Ruby
How to display the current date in "mm/dd/yyyy" format in Rails
Ruby on-Rails
Ruby
Date
Parse CSV file with header fields as attributes for each row
Ruby
Parsing
Csv
Why is it not a good idea to dynamically create a lot of symbols in ruby (for versions before 2.2)?
Ruby
String
Symbols
How do you specify a minimum Ruby version in a gemspec?
Ruby
How to flatten an array of arrays - but not all the way down
Ruby on-Rails
Ruby
attr_accessor default values
Ruby on-Rails
Ruby
Attr Accessor
Ruby - replace the first occurrence of a substring with another string
Ruby
String
Replace
What is the opposite method of Array.empty? or [].empty? in ruby
Ruby
Capybara: Select an option by value not text
Ruby
Capybara
Rails: ActiveRecord query based on association value
Ruby on-Rails
Ruby
Activerecord
Associations
Ruby Email validation with regex
Ruby
Regex
Validation
Email
Rails :include vs. :joins
Ruby on-Rails
Ruby
Database
Join
Rails Activerecord
Should I use alias or alias_method?
Ruby
Alias
Remove duplicate elements from array in Ruby
Ruby on-Rails
Arrays
Ruby
Duplicates
Can I upgrade to the current version of Ruby (2.2.3) on OS X v10.6.8?
Ruby
Macos
Terminal
Controller spec unknown keyword: id
Ruby on-Rails
Ruby
Rspec
Ruby on-Rails-5
Rspec Rails
Common Ruby Idioms
Ruby
Idioms
Rails, MySQL and Snow Leopard
Mysql
Ruby on-Rails
Ruby
Osx Snow-Leopard
How do you use global variables or constant values in Ruby?
Ruby
Global Variables
Adding a directory to the load path in Rails?
Ruby on-Rails
Ruby
What is the difference between Ruby and Ruby on Rails?
Ruby on-Rails
Ruby
Ruby Style: How to check whether a nested hash element exists
Ruby
Hash
Coding Style
Rails ActiveRecord: Find All Users Except Current User
Ruby on-Rails
Ruby
Activerecord
Why is this RMagick call generating a segmentation fault?
Ruby
Sinatra
Segmentation Fault
Rmagick
Ruby 1.9.1
What is a Rakefile?
Ruby
Rakefile
How to read whole file in Ruby?
Ruby
File
Cross-platform means of getting user's home directory in Ruby?
Ruby
Cross Platform
Ruby craziness: Class vs Object?
Ruby
Class
Object
what's different between each and collect method in Ruby
Ruby
Each
Collect
Is there a Rails Console command (Rails 3+) to reload changed code?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Truncate string with Rails?
Ruby on-Rails
Ruby
Truncate
How to run a ruby script within bundler context?
Ruby
Bundle
Passing a lambda as a block
Ruby
Lambda
Ruby syntax: break out from 'each.. do..' block
Ruby on-Rails
Ruby
Ruby on-Rails-3
Ruby on-Rails-3.1
Removing elements from array Ruby
Ruby
Arrays
Render an ERB template with values from a hash
Ruby
Erb
Template Engine
Allow public connections to local Ruby on Rails Development Server
Ruby on-Rails
Ruby
"Could not find a valid gem in any repository" (rubygame and others)
Ruby
Gem
Rubygame
gem install: Failed to build gem native extension (can't find header files)
Mysql
Ruby
Rubygems
Rails how to delete a file without failing on error
Ruby on-Rails
Ruby
Ruby on-Rails-3
How to get the first key and value pair from a hash table in Ruby
Ruby
Hash
"rmagick" gem installation issue
Ruby
Gem
Ruby Always Round Up
Ruby
What is the purpose of a `transient do` block in FactoryBot factories?
Ruby on-Rails
Ruby
Rspec
Factory Bot
When do Ruby instance variables get set?
Ruby
Syntax
Instance Variables
Rails: An elegant way to display a message when there are no elements in database
Ruby on-Rails
Ruby
Loops
Iterator
Case statement with multiple values in each 'when' block
Ruby on-Rails
Ruby
Syntax
Switch Statement
Rails: Should partials be aware of instance variables?
Ruby on-Rails
Ruby
Partial
Actionview
Sinatra vs. Rails
Ruby on-Rails
Ruby
Sinatra
How do I describe an enumeration column in a Rails 3 migration?
Ruby
Ruby on-Rails-3
Enums
Migration
How to "soft delete" user with Devise
Ruby on-Rails
Ruby
Authentication
Ruby on Rails 3 : "superclass mismatch for class ..."
Ruby on-Rails
Ruby
Ruby on-Rails-3
Suppress Ruby warnings when running specs
Ruby on-Rails
Ruby
Rspec
Warnings
What's a reasonable way to read an entire text file as a single string?
Ruby
String
File
Io
How to use Ruby's self keyword
Ruby
Instance
Self
Is it possible to define a 'before_save' callback in a module?
Ruby on-Rails
Ruby
Testing hash contents using RSpec
Ruby
Rspec
Expectations
How to return HTTP 204 in a Rails controller
Ruby on-Rails
Ruby
to_s vs. to_str (and to_i/to_a/to_h vs. to_int/to_ary/to_hash) in Ruby
Ruby
String
Methods
Why do I get a "permission denied" error while installing a gem?
Ruby
Macos
Jekyll
How to install Ruby 2 on Ubuntu without RVM
Ruby
Ubuntu 12.04
Apt Get
Ruby 2.0
OpenSSL vs GPG for encrypting off-site backups?
Ruby
Encryption
Puppet
Ubuntu 14.04
Gnupg
How can I install a local gem?
Ruby
Rubygems
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
C#
Java
Python
Ruby
Perl
Ruby: define_method vs. def
Ruby
Metaprogramming
Looking for suggestions for building a secure REST API within Ruby on Rails
Ruby on-Rails
Ruby
Security
Rest
asp.net Web-Api
Convert an array of integers into an array of strings in Ruby?
Ruby
redirect_to using POST in rails
Ruby on-Rails
Ruby
Redirect
Natural Language Processing in Ruby
Ruby
Artificial Intelligence
Nlp
How to get rid of non-ascii characters in ruby
Ruby
Unicode
Cgi
Ascii
Reading the first line of a file in Ruby
Ruby on-Rails
Ruby
Git
File Io
Capistrano
Add method to an instanced object
Ruby
Does dependency injection exist in Rails?
Ruby on-Rails
Ruby
Spring
Dependency Injection
Why do this Ruby object have both to_s and inspect methods that appear to do the same thing?
Ruby
Object
Printing
no such file to load -- rubygems (LoadError)
Ruby on-Rails
Ruby
Rubygems
How to know whether a model is new or not?
Ruby on-Rails
Ruby
Model
How to break from nested loops in Ruby?
Ruby
Loops
Nested Loops
Why can't a variable name end with `?` while a method name can?
Ruby
Rails, Ruby, how to sort an Array?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Conditional key/value in a ruby hash
Ruby
Ruby on Rails Switch
Ruby
Switch Statement
How do I stub things in MiniTest?
Ruby
Minitest
Stub
How to stub ApplicationController method in request spec
Ruby on-Rails
Ruby
Rspec
Capybara
How to check if a variable is a number or a string?
Ruby
In Ruby, how do I skip a loop in a .each loop, similar to 'continue'
Ruby
Loops
Syntax
Iteration
Rails 4: before_filter vs. before_action
Ruby on-Rails
Ruby
Ruby on-Rails-4
Crud
Difference between "and" and && in Ruby?
Ruby
Operators
Why is __FILE__ uppercase and __dir__ lowercase?
Ruby
Syntax
Language Implementation
Testing private method in Ruby (rspec)
Ruby
Rspec
How to use gem to install Rails on Ubuntu
Ruby on-Rails
Ruby
Linux
Ubuntu
GROUP BY and COUNT using ActiveRecord
Sql
Ruby on-Rails
Ruby
Postgresql
Activerecord
How can I count the number of records that have a unique value in a particular field in ROR?
Ruby on-Rails
Ruby
Activerecord
Why can't I install the SQLite gem?
Ruby on-Rails
Ruby
Sqlite
Gem
How to run a single RSpec test?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rspec
When to use `require`, `load` or `autoload` in Ruby?
Ruby
Module
How do I use CSS with a ruby on rails application?
Ruby on-Rails
Css
Ruby
Scope of Constants in Ruby Modules
Ruby on-Rails
Ruby
Module
Constants
urldecode in ruby?
Ruby
How to redefine a Ruby constant without warning?
Ruby
Constants
Redefine
Redefinition
Check if an integer is within a range
Ruby
Cannot install thin on windows
Ruby
Thin
How to obtain first day of next month in ruby?
Ruby on-Rails
Ruby
convert string to specific datetime format?
Ruby on-Rails
Ruby
Ruby read CSV file as UTF-8 and/or convert ASCII-8Bit encoding to UTF-8
Ruby
String
Encoding
Csv
Utf 8
When to use each method of launching a subprocess in Ruby
Ruby
Performance
Coding Style
Standards
Subprocess
Validate attribute only if it present (only if user fill in it)
Ruby on-Rails
Ruby
Validation
Get parent directory of current directory in Ruby
Ruby
Directory
Rails 3. How to add a helper that ActiveAdmin will use?
Ruby on-Rails
Ruby
Helpers
Activeadmin
how to include video in jekyll markdown blog
Ruby
Video
Markdown
Highlight
Jekyll
How to pass a function instead of a block
Ruby
Functional Programming
Ruby equivalent for Python's "try"?
Python
Python 3.x
Ruby
Try Catch
Language Comparisons
Rails 4 how to ignore pending migrations
Ruby on-Rails
Ruby
Activerecord
How to implement Enums in Ruby?
Ruby
Enums
How to find where a method is defined at runtime?
Ruby on-Rails
Ruby
Runtime
Methods
Definition
How do I write a complex multi-line if condition in Ruby?
Ruby
If Statement
Conditional
Conditional Statements
'require': cannot load such file -- 'nokogiri\nokogiri' (LoadError) when running `rails server`
Ruby on-Rails
Ruby
Nokogiri
How do I install ruby gems on Mac
Ruby
Macos
Rubygems
Why does the expression (true == true == true) produce a syntax error?
Ruby
Syntax Error
Operators
Operator Precedence
Associativity
What is the meaning of "h" in "<%=h [ ...] %>"?
Ruby on-Rails
Ruby
Templates
Ruby Hash Whitelist Filter
Ruby
Hashmap
Why are methods in Ruby documentation preceded by a hash sign?
Ruby
Documentation
How to understand the difference between class_eval() and instance_eval()?
Ruby
Class Method
Instance Method
In Ruby, what is the cleanest way of obtaining the index of the largest value in an array?
Ruby
Arrays
Indexing
Max
How do I add information to an exception message in Ruby?
Ruby
Exception
Exception Handling
How to get a stack trace object in Ruby?
Ruby
Stack
Stack Trace
How can I calculate the day of the week of a date in ruby?
Ruby
Date
Rails: How to make Date strftime aware of the default locale?
Ruby on-Rails
Ruby
Localization
Rails I18n
Strftime
Rubygems, Bundler and RVM confusion
Ruby on-Rails
Ruby
Rubygems
Bundler
Rvm
Why are scripting languages (e.g. Perl, Python, and Ruby) not suitable as shell languages?
Python
Ruby
Perl
Bash
Shell
Finding the session id in rails 3
Ruby on-Rails
Ruby
Session
How to rename a file in Ruby?
Ruby
File
Dir
How can I run a command five times using Ruby?
Ruby
Ruby on-Rails-3
Rails 3: yield/content_for with some default value?
Ruby on-Rails
Ruby
Yield
Insecure world writable dir /Users/username in PATH, mode 040777 when running Ruby commands
Ruby
Macos
Permissions
Path
ActiveRecord Arel OR condition
Sql
Ruby on-Rails
Ruby
Activerecord
Arel
Role does not exist and unable to create database when using PostgreSQL
Ruby on-Rails
Ruby
Ruby on-Rails-3
Postgresql
Using Instance Variables in Class Methods - Ruby
Ruby
Instance Variables
How to sort a string's characters alphabetically?
Ruby
String
Sorting
What are the paths that "require" looks up by default?
Ruby
Require
Convert string to decimal number in ruby
Ruby
Numbers
Decimal
Ruby - Difference between Array#<< and Array#push
Ruby
Arrays
Append
Error Installing Jekyll - Native Extension Build
Ruby
Macos
Rubygems
Installation
Jekyll
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
How to signal "not implemented yet"?
Ruby
Exception Handling
Coding Style
Conventions
to_d to always return 2 decimals places in ruby
Ruby on-Rails
Ruby
Math
Decimal
Currency
How do I fetch multiple hash values at once?
Ruby on-Rails
Ruby
Hash
Destructuring
Calling method in parent class from subclass methods in Ruby
Ruby
Bundle command not found mac
Ruby
Macos
Bundler
When to use lambda, when to use Proc.new?
Ruby
Lambda
Proc
What is the best method of handling currency/money?
Ruby on-Rails
Ruby
Currency
rbenv not changing ruby version
Ruby
Rbenv
Difference between as_json and to_json method in Ruby
Ruby on-Rails
Ruby
How to fix Rails's warning messages with Ruby 2.7.0
Ruby on-Rails
Ruby
Warnings
Ruby on-Rails-6
Ruby 2.7
Rails 6.1, Ruby 3.0.0: tests error as they cannot load rexml
Ruby on-Rails
Ruby
Ruby 3
I have a gem installed but require 'gemname' does not work. Why?
Ruby
Rubygems
How to save a base64 string as an image using ruby
Ruby on-Rails
Ruby
Image
File Io
Base64
How to make the class constructor private in Ruby?
Ruby
Constructor
Access Specifier
Difference between the access modes of the `File` object (ie. w+, r+)
Ruby
File
File Io
Io
What does the "$" character mean in Ruby?
Ruby on-Rails
Ruby
Global Variables
Dollar Sign
Load Path
What Ruby and Rails Developers Ought To Know?
Ruby on-Rails
Ruby
Resize existing images to new style in paperclip & RMagick
Ruby on-Rails
Ruby
Imagemagick
Paperclip
Rmagick
What is the "=~" operator in Ruby?
Ruby
Operators
How do I set a blank value for an f.select form field
Ruby on-Rails
Ruby
Select
:as in rails routes.rb
Ruby on-Rails
Ruby
Ruby on-Rails-3
Routing
Changing field separator/delimiter in exported CSV using Ruby CSV
Ruby
Csv
Find the newest record in Rails 3
Ruby on-Rails
Ruby
Ruby on-Rails-3
Lisp and Erlang Atoms, Ruby and Scheme Symbols. How useful are they?
Ruby
Erlang
Scheme
Lisp
Factory Girl - what's the purpose?
Ruby
Factory Bot
Ruby: unless vs if not
Ruby
Coding Style
How do you say not equal to in Ruby?
Ruby
Syntax
Equals
Xcode - configure: error: no acceptable C compiler found in $PATH
Ruby
Xcode
Gcc
Compiler Errors
Rvm
How to check if a value exists in an array in Ruby
Ruby
Arrays
@ variables in Ruby on Rails
Ruby on-Rails
Ruby
Variables
Ruby deleting directories
Ruby
Directory
First element of an array with condition
Ruby
Arrays
Convert CSV file into array of hashes
Ruby
Csv
Multidimensional Array
How to understand strptime vs. strftime
Ruby
Time
gem install fails with openssl failure
Ruby
Macos
Rubygems
Openssl
Cocoapods
How to convert a string to UTF8 in Ruby
Ruby
File
Encoding
Utf 8
Dump
How do I add multiple elements to an array?
Arrays
Ruby
Mysql2::Error: Incorrect string value
Mysql
Ruby on-Rails
Ruby
Encoding
How do you find the namespace/module name programmatically in Ruby on Rails?
Ruby on-Rails
Ruby
Namespaces
Getting output of system() calls in Ruby
Ruby
System
Call
Ruby ampersand colon shortcut
Ruby
database configuration does not specify adapter
Ruby on-Rails
Ruby
Create a ruby method that accepts a hash of parameters
Ruby
How can we watch the Rails development log?
Ruby on-Rails
Ruby
Windows
Logging
Git Bash
Ruby XML to JSON Converter?
Xml
Ruby
Json
Converter
What is the difference between "if" statements with "then" at the end?
Ruby
RVM equivalent for PHP?
Php
Ruby
Rvm
Homebrew
Rbenv
How to test for (ActiveRecord) object equality
Ruby on-Rails
Ruby
Activerecord
Identity
Equality
Combine two Arrays into Hash
Ruby
Regex, how to match multiple lines?
Ruby
Regex
Rubular
Ruby Exceptions -- Why "else"?
Ruby
Exception Handling
Get current ruby process memory usage
Ruby
Memory
Process
Checking character length in ruby
Ruby
String
What is the difference between map, each, and collect?
Ruby
Enumerable
what is the functionality of "&: " operator in ruby?
Ruby
Ruby on Rails plural (controller) and singular (model) convention - explanation
Ruby on-Rails
Ruby
Activerecord
What is the difference between using .exists?, and .present? in Ruby?
Ruby on-Rails
Ruby
Using RSpec to check if something is an instance of another object
Ruby
Testing
Rspec
Instance
How to organize minitest/unit tests?
Ruby on-Rails
Ruby
Minitest
ERROR: While executing gem ... (Gem::FilePermissionError)
Ruby
Macos
Gem
Osx Mountain-Lion
Sudo
Parse command line arguments in a Ruby script
Ruby
Command Line
How do I force ActiveRecord to reload a class?
Ruby on-Rails
Ruby
Activerecord
Migration
Pure-Ruby concurrent Hash
Ruby
Concurrency
Hash
Locking
How to enable auto completion in Ruby's IRB
Ruby
Irb
Tab Completion
Forking a gem for a Rails project
Ruby on-Rails
Ruby
Fork
Gem
How do I remove a node with Nokogiri?
Ruby
Nokogiri
Including rake tasks in gems
Ruby on-Rails
Ruby
Rubygems
Rake
Which key/value store is the most promising/stable?
Python
Ruby
Database
Comparison
In Ruby, how does coerce() actually work?
Ruby
Coercion
Coerce
Type Coercion
Is it right to assign multiple variables like this a = b = c = d = 5?
Ruby on-Rails
Ruby
Errors Installing mysql2 gem via the Bundler
Mysql
Ruby on-Rails
Ruby
Rubygems
Bundler
How do I use RVM and create globally available gems?
Ruby on-Rails
Ruby
Macos
Rubygems
What does the Ruby method 'to_sym' do?
Ruby
String
Methods
Symbols
Rails bundler doesn't install gems inside a group
Ruby on-Rails
Ruby
Rubygems
Bundler
Super keyword in Ruby
Ruby
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
What does "wrong number of arguments (1 for 0)" mean in Ruby?
Ruby
How can I do standard deviation in Ruby?
Ruby
Standard Deviation
Rails 3. How to get the difference between two arrays?
Ruby on-Rails
Ruby
Arrays
Relative path to your project directory
Ruby
Ruby run shell command in a specific directory
Ruby
Shell
Command
Ruby rails - select only few columns from the data base
Ruby on-Rails
Ruby
Ruby on-Rails-3
Rails Activerecord
Programmatically get the number of jobs in a Resque queue
Ruby on-Rails
Ruby
Redis
Resque
Check if a hash's keys include all of a set of keys
Ruby
Ruby check if nil before calling method
Ruby
Null
Ruby: What does the comment "frozen_string_literal: true" do?
Ruby
rbenv install --list does not list version 2.1.2
Ruby
Macos
Homebrew
Osx Mavericks
Rbenv
Guard with RSpec on Rails 4 giving a lot of warnings
Ruby on-Rails
Ruby
Ruby on-Rails-4
Rspec
How to elegantly symbolize_keys for a 'nested' hash
Ruby on-Rails
Ruby
Hash
Dry
Error message: Make sure that `gem install pg -v '0.18.1'` succeeds before bundling
Ruby on-Rails
Ruby
Open the default browser in Ruby
Ruby
Browser
What's this &block in Ruby? And how does it get passed in a method here?
Ruby on-Rails
Ruby
Set the display precision of a float in Ruby
Ruby
Floating Point
Precision
Count the number of lines in a file without reading entire file into memory?
Ruby
Confused, are languages like python, ruby single threaded? unlike say java? (for web apps)
Java
Python
Ruby
Multithreading
When to use node.js vs sinatra vs rails?
Javascript
Ruby on-Rails
Ruby
node.js
Replace words in a string - Ruby
Ruby
Ruby on-Rails-3
'-%>' (minus sign) at the end of a ERb sequence
Ruby on-Rails
Ruby
Understanding ruby-prof output
Ruby
Profiling
Ruby Prof
How to group by count in array without using loop
Ruby
Rails Migration with adding and removing reference
Ruby
Ruby on-Rails-3
Rails Migrations
Good Cucumber examples in the wild?
Ruby
Cucumber
Bdd
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
Check if URL exists in Ruby
Ruby
How to make Rails 3.1 use SASS (Over SCSS) as the default?
Ruby on-Rails
Ruby
Sass
Ruby on-Rails-3.1
What is the answer to the bonus question in test_changing_hashes of Ruby Koans?
Ruby
Vim Command-T plugin error: could not load the C extension
Ruby
Vim
Plugins
Check for multiple items in array using .include? -- Ruby Beginner
Ruby on-Rails
Ruby
How to merge Ruby hashes
Ruby
Hashmap
How to undefine class in Ruby?
Ruby
Ruby on-Rails-3
Activerecord
Mountain Lion rvm install 1.8.7 x11 error
Ruby
Rvm
X11
Osx Mountain-Lion
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
ruby 2.0 rails gem install error "cannot load such file -- openssl"
Ruby on-Rails
Ruby
How to fix bad URI is not URI
Ruby
Ruby on-Rails-3
Uri
How to avoid "cannot load such file -- utils/popen" from homebrew on OSX
Ruby
Macos
Rubygems
Homebrew
Rails 5.2.0 with Ruby 2.5.1 console - `warning:` `already` initialized constant FileUtils::VERSION
Ruby on-Rails
Ruby
Rvm
Rbenv
Fileutils
Radio buttons on Rails
Ruby on-Rails
Ruby
Webforms
Radio Button
God vs. Monit for process monitoring
Ruby on-Rails
Ruby
Monitoring
Monit
God
Nicely formatting output to console, specifying number of tabs
Ruby
Formatted
How to handle Ruby on Rails error: "Please install the postgresql adapter: `gem install activerecord-postgresql-adapter'"
Ruby on-Rails
Ruby
Postgresql
Activerecord
Rubygems
Test whether a variable equals either one of two values
Ruby
Is there a pluralize function in Ruby NOT Rails?
Ruby
Require
Pluralize
Ruby on Rails: How do you explicitly define plural names and singular names in Rails?
Ruby on-Rails
Ruby
accepts_nested_attributes_for with belongs_to polymorphic
Ruby on-Rails
Ruby
Polymorphic Associations
Nested Attributes
Order a collection as DESC
Ruby on-Rails
Ruby
STI, one controller
Ruby on-Rails
Ruby
Ruby on-Rails-3
How do I parse JSON with Ruby on Rails?
Ruby on-Rails
Ruby
Json
When do we use the "||=" operator in Rails ? What is its significance?
Ruby
Operators
Understanding Ruby's load paths
Ruby
after_commit for an attribute
Ruby on-Rails
Ruby
How do I convert a Ruby hash so that all of its keys are symbols?
Ruby
Hash
Ruby - time.now in UTC
Ruby
Is it possible to read a file's modification date with Ruby?
Ruby
How do I reset my sidekiq counters?
Ruby on-Rails
Ruby
Sidekiq
"bin/rails: No such file or directory" w/ Ruby 2 & Rails 4 on Heroku
Ruby on-Rails
Ruby
Heroku
Ruby on-Rails-4
Ruby 2.0
Rails 4 Unpermitted Parameters for Array
Ruby on-Rails
Ruby
Ruby on-Rails-4
Strong Parameters
Best way to handle data attributes in Slim
Ruby on-Rails
Ruby
Haml
Templating
Slim Lang
Warning with fog and AWS: unable to load the 'unf' gem
Ruby on-Rails
Ruby
Amazon Web-Services
Fog
Finding the cause of a memory leak in Ruby
Ruby
Memory Leaks
Valgrind
Using gets() gives "No such file or directory" error when I pass arguments to my script
Ruby
What is the difference between require_relative and require in Ruby?
Ruby
Require
Ruby way to check if a string is not blank?
Ruby
How to get only class name without namespace
Ruby
Namespaces
How do I run Rake tasks within a Ruby script?
Ruby
Rake
Command Line-Interface
diff a ruby string or array
Ruby
Diff
Ruby equivalent of Python's "dir"?
Python
Ruby
Inspection
How do you loop through a multiline string in Ruby?
Ruby
String
While Loop
Loops
Rails POST, PUT, GET
Ruby on-Rails
Ruby
Web Services
Http
How to encode media in base64 given URL in Ruby
Ruby on-Rails
Ruby
Base64
Encode
Activesupport
ruby super keyword
Ruby on-Rails
Ruby
Activerecord
Ruby methods within Javascript within HAML
Javascript
Jquery
Ruby
Haml
Where are my ruby gems?
Ruby
Linux
Gem
Capistrano asks for password when deploying, despite SSH keys
Ruby on-Rails
Ruby
Sinatra
Capistrano
Ssh Keys
How do I update Ruby-interpreters with RVM?
Ruby
Rvm
Sum the value of array in hash
Ruby
Hash
Should one use dashes or underscores when naming a gem with more than one word?
Ruby
Naming Conventions
What does `if __FILE__ == $0` mean in Ruby
Ruby
What’s the best way to handle exceptions from Net::HTTP?
Ruby
What does "WARN Could not determine content-length of response body." mean and how to I get rid of it?
Ruby on-Rails
Ruby
Webrick
How to sort an array in descending order in Ruby
Ruby
Sorting
How do I use the conditional operator (? :) in Ruby?
Ruby
Ternary Operator
Conditional Operator
How do I remove blank elements from an array?
Ruby
Arrays
PG::ConnectionBad - could not connect to server: Connection refused
Ruby on-Rails
Ruby
Database
Postgresql
Database Connection
Outputting errors in a rescue (Ruby/Rails)
Ruby on-Rails
Ruby
Exception
Can Mustache Templates do template extension?
Javascript
Python
Ruby
Templates
Mustache
Ruby: merge nested hash
Ruby
Hash
Merge
Nested
Rails optional argument
Ruby on-Rails
Ruby
Can't find libcurl or curl/curl.h (RuntimeError)
Ruby on-Rails
Ruby
Curl
Gem
Curb
How I can check if an object is null in ruby on rails 2?
Ruby on-Rails
Ruby
Ruby on-Rails-2
Error installing debugger-linecache in Ruby 1.9.3
Ruby
Rubygems
Gem
Ruby 1.9.3
Override Vagrant configuration settings locally (per-dev)
Ruby
Vagrant
What does to_proc method mean?
Ruby
Syntax
Block
Symbols
Proc
Is there simpler (one-line) syntax to alias one class method?
Ruby
Rails Console find users by array of ids
Mysql
Ruby on-Rails
Ruby
Postgresql
Rails Console