[ANN] Jquery_rails3 1.4.2 beta1 released [Note: parts of this message were removed to make it a legal post.] I have released the first cut of jquery_rails3 gem. This gem is a rails3 generator to add the jquery rails.js and jquery to an rails app. To install: gem install jquery_rails3 --pre To add jquery inside a rails3 app: rails g jquery_instal... 12 Aug 2010 09:16
Highline and Chronic I just heard of Chronic and wanted to integrate it with Highline so i could get natural language dates like "yesterday", "tomorrow" etc. I find that I get a nil returned if I do: dob1 = ask("DOB? ", Chronic) However, if i try this it works: class NameClass def self.parse( string ) Chron... 12 Aug 2010 21:21
Multithreading problem On Thu, Aug 12, 2010 at 5:09 AM, Paul Harrington <xeno(a)badenoughdu.de> wrote: Pen Ttt wrote: probem1: the following program can only run in irb console,it can't run with command : ruby /home/test.rb,why? require 'rubygems' require 'net/http' threads = [] open("/home/pt/test/data","a+... 12 Aug 2010 06:01
sqlite3-ruby install error on Ubuntu I have the following error during sqlite3-ruby install: Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for sqlite3.h... no sqlite3.h is missing. Try 'port install sqlite3 +univ... 12 Aug 2010 03:52
does jason convert to hash? I am trying to work with the Etsy API. I make a HTTP request and get data back in json format. I call JSON.parse(table) and the parse method returns the data in something that appears to be a hash. Here is a simplified version of what JSON.parse(table) returns: {"results"=>[{"name"=>"getMethodTable", "uri"=>"/"... 12 Aug 2010 02:47
Multithreading problem probem1: the following program can only run in irb console,it can't run with command : ruby /home/test.rb,why? require 'rubygems' require 'net/http' threads = [] open("/home/pt/test/data","a+") do |wfile| str=%w(http://table.finance.yahoo.com/table.csv?s=IBM http://table.finance.yahoo.com/table.csv?s=YHOO ht... 11 Aug 2010 23:34
xslt param with libxslt ....errr! this one is driving me up a wall, I cant seem to pass a param to the xslt what is wrong here? I keep getting nothingness... <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:param name="stylesheet"/> <xsl:template match="/"> ... 11 Aug 2010 22:28
PLEASE UNSUBSCRIBE Hello, Please Unsubscribe me from the Ruby Talk!!! Thanks for help. greetings from switzerland fabian ... 11 Aug 2010 23:34
[ANN] Rumai 3.3.1 Rumai Ruby interface to the wmii window manager http://snk.tuxfamily.org/lib/rumai/ Rumai is a pure [Ruby] interface to the [wmii] window manager. Its name is a portmanteau of "Ruby" and "wmii", which I pronounce as "vim eye". Version ... 11 Aug 2010 21:20
self in irb versus script Howdy from a Ruby newbie--hope my question isn't too annoying. I'm working through a book on Ruby. Examples using self work fine in irb, but if I type the same examples in a script and run that I get this error message: private method called for...NoMethodError. So, my question is: what do I need to type to p... 12 Aug 2010 20:16 |