ruby-1.8
Login with Facebook via Rails
As a relative newbie to Rails, I\'m not sure how to approach this. I am looking to add a basic \"Login with Facebook\" fe开发者_如何学JAVAature to a practice site I am developing. I am stuck on two fr[详细]
2023-02-10 07:06 分类:问答Is this a bug in Method#to_proc? (Ruby 1.8.7)
Given the following method that takes one argument: def foo(arg); p arg; end I can call it with an empty array:[详细]
2023-02-05 10:10 分类:问答I'm running a Rails 2.3.4 app and am wondering if i should upgrade to 3.0?
i am developing a app and have been for a 开发者_如何学JAVAwhile using Rails 2.3.4 but I\'m wondering if i should try to update, or keep waiting, never upgrade, i suppose I have a couple options.[详细]
2023-02-03 10:52 分类:问答How do I re-pass multiple method arguments in Ruby 1.8.5?
I\'m using ruby 1.8.5 and I\'d like to use a helper method to help filter a user\'s preferences like this:[详细]
2023-01-27 14:00 分类:问答How to update Ruby in Google SketchUp?
Currently Google SketchUp for Mac has Ruby version 1.8.5 which I find a bit outdated. I can update Ruby to 1.8.7 (OSX\'s version) by the following commands[详细]
2023-01-08 15:50 分类:问答Ruby require 'file' and relative location
So I\'m writing some rspec tests and I\'m embarrassed at my lack of Ruby understanding. I have a file structure that looks like the following:[详细]
2023-01-07 03:19 分类:问答when will ruby 1.8.6 be retired?
I c开发者_Go百科an\'t seem to find any info on this... when will ruby 1.8.6 be \'retired\'? ruby 1.8.7 is much more functional while maintaining syntax compatibility, and ruby 1.9.1 is significantly b[详细]
2022-12-31 03:19 分类:问答Is there a fast and reliable way of serializing objects across different versions of Ruby?
I have two applications talking to each other using a queue, as of now they run exactly the same version of ruby (1.8.7), so I\'m just marshaling objects back and forth; only objects from the standard[详细]
2022-12-20 19:34 分类:问答How to get code of unicode character using Ruby 1.8.6?
If I add this to the beginning of my script: $KCODE = \'UTF8\' require \'jcode\' then I can walk over every char of a word containing unicode characters. Imagine a word containing umlauts or someth[详细]
2022-12-16 13:55 分类:问答Ruby Array#puts not using overridden implementation?
I am using Ruby 1.8.6 for the following code: # Create an array and override the #to_s on that object thing = [1,2,3][详细]
2022-12-15 05:36 分类:问答