How to have *_url generate urls with https:// protocol Hello, I am using *_path in views and *_url in controllers (with redirect_to, for example). It is my understanding that this is generally considered a good practice. I want to use my app using https, and thought it would work that way as long as I loaded the app by browsing to https://my.app.com. However, it... 26 May 2010 16:55
"Statically linking" native extensions. Hello. I am writing a small game in ruby, using rubygame to do the graphics. I am targeting an audience with little technical experience, which means I won't be using gems, as easy as those are. My perfect scenario is to give somebody a CD with a ruby installer and the game on it and have it work perfectly. This... 26 May 2010 15:48
Money 3.0.1 On Wed, May 26, 2010 at 10:56 PM, Shane Emmons <shane.emmons(a)ffgrp.com> wrote: Money 3.0.1 Released where is it? i just downloaded but it's still v3.0.0 thanks and best regards -botp ... 26 May 2010 11:20
SOAP and NTLM Authentication Andrew Porter wrote: The following code seems to be working: require 'rubygems' gem 'soap4r' require 'defaultDriver' user = 'DOMAIN\username' pass = 'password' driver = ListsSoap.new driver.options['protocol.http.auth.ntlm'] = [nil, user, pass] driver.wiredump_file_base = 'soap.lo... 26 May 2010 11:20
[ANN] Money 3.0.1 Money 3.0.1 Released - Added #eql? method - Updated Numeric#to_money to work with all children of Numeric (BigDecimal, Integer, Fixnum, etc) -- Posted via http://www.ruby-forum.com/. ... 26 May 2010 11:20
round the floating point to nearest halfpoint Hi , I want to round the my floating point result into nearest halfpoint how to do it. Example: 1)My floating point result is 3.3 i want it become 3.5 2) My floating point result is 3.6 i want it become 4 How can we do it -- Posted via http://www.ruby-fo... 26 May 2010 10:14
How to call method in the another file Hello frends, I write the method on one file and call this method on another file but the problem is they not find the method of the another file in first file i write:file_name=first.rb def a() puts "hello world" end in second file i write:file_name=second.rb reqire 'd:\test\first.rb' a() its... 27 May 2010 01:40
Regarding Arrays I am trying to build a Class 'Employee' in which age,address,idno methods should be there . So i need to built a Array in which the elements are called by idno and get sorted. -- Posted via http://www.ruby-forum.com/. ... 27 May 2010 08:09
how to achieve parallelism, using threads? Hey, I'm having a hard time figuring out how threads works, and how to use them. I'm currently working on a project were I need to achieve parallelism in the code, but I always ends up with a multiply threads, working in a queue (after each other, as a single thread program). If we take a look at the code exampl... 26 May 2010 08:02
Watir - finding element in form I'm trying to use Watir to log into a page. I can't seem to find the login button in order to click on it. From the Watir examples I've read it seems I need the following code: browser = Watir::Safari.new browser.goto @login_page browser.text_field(:name, 'UserID').set(ARGV[0]) browser.text_field(:name, 'Pass... 26 May 2010 14:41 |