First  |  Prev |  Next  |  Last
Pages: 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
gem update error
dunno what to do. i have a ruby installed on my new machine and cannot add fastercsv. E:\Documents and Settings\TTS>gem install fastercsv WARNING: RubyGems 1.2+ index not found for: http://gems.rubyforge.org/ RubyGems will revert to legacy indexes degrading performance. Bulk updating Gem source index... 3 Apr 2010 11:30
ANN: Sequel 3.10.0 Released
Sequel is a lightweight database access toolkit for Ruby. * Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. * Sequel also includes a lightweight but comprehensive ORM layer for mapping records to Ruby objects and handling associated reco... 2 Apr 2010 18:11
combined ranges...
Anybody know if there's an easy way to accomplish the equivalent of this: [1..20, 30..46].each{|n| # n = 1,2,3,4,5..30, 31, 32 } ? Thanks! -rp -- Posted via http://www.ruby-forum.com/. ... 4 Apr 2010 15:57
A little help needed
Hi,I'm new here. I have a question: What exactly does the '@' symbol mean when used for the scope of a variable? For instance: @screen=[640,400]. I haven't found anything explicitly explaining exactly what this does. Thanks! -- Posted via http://www.ruby-forum.com/. ... 2 Apr 2010 21:28
Fill a table in ruby
Hi, I want to read the datas from a file and fill a table with them. All lines will be a new row for table. And the columns are for the variables of the class. I want to create an array as an object of a class for this. But i don't know how to do it. Class Abc @a @b .... end a[100]=Abc.new() ... 5 Apr 2010 03:57
require rubygems
Hi, I saw people wrote "require 'rubygems'" in their scripts sometime. For what purpose is this module used? Thanks. -eva ... 2 Apr 2010 21:28
about define significance variable(in this situation)
def method_1(options ={}) if some_conditions options = {:method_2 => true} method_2(options) end method_3(options) method_4(options) end def method_2(options ={}) # some code end method_1({:method_1 => true) +++++++++++++++++++++++ in some_condition, the variable options is most... 2 Apr 2010 14:49
Padrino Webapp Framework
Sorry about the formatting on this post. I wish I could edit the content to fix the links but check out the RubyInside post for more information: http://www.rubyinside.com/padrino-sinatra-webapp-framework-3198.html -- Posted via http://www.ruby-forum.com/. ... 1 Apr 2010 23:33
any library to aid me in adding data to fields of a pdf?
Hi, I've got a pdf form that I'd like to fill out from a ruby app. All the tutorials seem to focus on writing altogether new pdf documents and not at all on filling out fields in prepared pdf documents. Any suggestions on how to access the writable fields of a pdf form, write to them and produce the form from ru... 1 Apr 2010 19:06
ruby-sdl problem
Hi, I've been reading this introduction to rubysdl (http://www.oreillynet.com/pub/a/ruby/2007/12/04/creating-games-in-ruby.html) and wanted to try it. My problem is the following: irb(main):001:0> require "rubygems" => true irb(main):002:0> require "sdl" => true irb(main):004:0> SDL::init(SDL::INIT_VI... 2 Apr 2010 07:05
First  |  Prev |  Next  |  Last
Pages: 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142