Top "Ruby-1.9.2" questions

For issues relating to developing in Ruby, version 1.9.2. If your question applies to Ruby in general, use the tag [tag:ruby].

Get list of a class' instance methods

I have a class: class TestClass def method1 end def method2 end def method3 end end How can I get …

ruby reflection ruby-1.9.2
How to set default Ruby version with RVM?

Ubuntu 11. I do the following: $ rvm --default use 1.9.2 and I get: Using /home/md/.rvm/gems/ruby-1.9.2-p180 so that …

ruby-on-rails ruby rvm ruby-1.9.2
Invalid gemspec because of the date format in specification

When I include a gem that I made, thanks to Bundler (version 1.0.12), in a Gemfile and then I try to …

rubygems bundler ruby-1.9 ruby-1.9.2
load works on local path, require doesn't

loadee.rb puts '> This is the second file.' loaddemo.rb puts 'This is the first (master) program …

ruby ruby-1.9.2
capybara - Find with xPath is leaving the within scope

I am trying to build a date selector with Capybara using the default Rails date, time, and datetime fields. I …

ruby ruby-on-rails-3 cucumber capybara ruby-1.9.2
Thread Safety: Class Variables in Ruby

Performing writes/reads on class variables in Ruby is not thread safe. Performing writes/reads on instance variables appears to …

ruby multithreading thread-safety metaprogramming ruby-1.9.2
How to create ActiveRecord tableless Model in Rails 3

I am trying to create a Active Record tableless Model. My user.rb looks like this class User < ActiveRecord::…

ruby-on-rails-3 activerecord model ruby-1.9.2
(Object doesn't support #inspect)

I have a simple case, involving two model classes: class Game < ActiveRecord::Base has_many :snapshots def initialize(params={}) # ... …

ruby-on-rails-3.1 ruby-1.9.2
Neither ruby and nor irb can load .rb file in current directory

I'm having a really noob problem with importing files in Ruby. I'm making a Ruby app in Windows XP. All …

ruby import require irb ruby-1.9.2
Installing linecache19 for Ruby 1.9.2 via rvm

I am having a problem with installing linecache19(dependency of ruby-debug19) for ruby 1.9.2 Here is my term output $ rvm use 1.9.2 …

gem rvm ruby-1.9.2 linecache