Guruza search results for irb http://guruza.com/searches/show/1845 Questions recently submitted to Guruza that match the query: irb Thu, 20 Nov 2008 14:17:53 -0800 $0.00 - delete http://guruza.com/question/567/reward-0.00 delete Tue, 11 Mar 2008 15:27:01 -0700 $0.00 - I am trying to use sqlite3 for my dev database with my Rails app (1.2rc2). I... http://guruza.com/question/482/reward-0.00 I am trying to use sqlite3 for my dev database with my Rails app (1.2rc2). I am on OS X so sqlite3 is installed by default (I even installed the lastest version with darwinport), and I have done gem install sqlite3-ruby. However, when I try to do anything that has to do with ActiveRecord, I get errors. Here's an example: >> Domain.new ActiveRecord::StatementInvalid: ActiveRecord::StatementInvalid from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5848/lib/active_record/connection_adapters/sqlite_adapter.rb:273:in `table_structure' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1.5848/lib/active_support/core_ext/object/misc.rb:23:in `returning' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5848/lib/active_record/connection_adapters/sqlite_adapter.rb:272:in `table_structure' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5848/lib/active_record/connection_adapters/sqlite_adapter.rb:210:in `columns' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5848/lib/active_record/base.rb:760:in `columns' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5848/lib/active_record/base.rb:2048:in `attributes_from_column_definition_without_lock' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5848/lib/active_record/locking/optimistic.rb:45:in `attributes_from_column_definition' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5848/lib/active_record/base.rb:1490:in `initialize_without_callbacks' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5848/lib/active_record/callbacks.rb:225:in `initialize' from (irb):1 Any idea? EDIT: The funny thing is that I use sqlite3 and it works great with another project I started some time ago... Mon, 15 Jan 2007 07:58:30 -0800 $76.00 - I am very frustrated with iterm on OS X. I love many of the features but I k... http://guruza.com/question/459/reward-76.00 I am very frustrated with iterm on OS X. I love many of the features but I keep having issue with the wrong characters being sent to the shell. For instance, Meta-Backspace works fine in bash locally, but does not work remotely. It also does not work in my postgres shell or my irb (Ruby) shell. Mon, 11 Dec 2006 09:47:35 -0800 $25.00 - What is the most important thing that we can do to improve Guruza? I will ... http://guruza.com/question/233/reward-25.00 What is the most important thing that we can do to improve Guruza? I will select the 5 "best" answers and then pick one at random for the reward! rich-collins-computer:~ rcollins$ irb irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'facet/array/at_rand' => true irb(main):003:0> "Dave | nerkles | AgeKay | Jake McArthur | funnyguilly | larry | jer | bryce".split(' | ').at_rand => "Dave" irb(main):004:0> Congrats Dave and thanks for all of the suggestions from everyone! Tue, 11 Jul 2006 16:32:22 -0700 $2.00 - I'm trying to figure out what would be the correct regular expression to retu... http://guruza.com/question/131/reward-2.00 I'm trying to figure out what would be the correct regular expression to return "this.is.what.i.want" from the following string: "My identifier: this.is.what.i.want\n". Thu, 29 Jun 2006 10:39:55 -0700 $3.00 - Whats the easiest way to create an array of squares from 1..10, using default... http://guruza.com/question/22/reward-3.00 Whats the easiest way to create an array of squares from 1..10, using default values in an Array.new? Wed, 17 May 2006 12:08:22 -0700