search for: idlelion

Displaying 6 results from an estimated 6 matches for "idlelion".

2006 Mar 23
6
[mongrel] [fedora5] install error " can''t find ruby libs"
Installed Fedora5. Installed Ruby 1.8.4. Installed rubygems. Installed rails. Created test app to verify that ruby and rails were working. When I attempted to install mongrel via: sudo gem install mongrel I get this error: Install required dependency daemons? [Yn] y Install required dependency gem_plugin? [Yn] y Building native extensions. This could take a while... can''t find
2006 Mar 21
2
Sorting by computed temporary field
Hey all, I''m rather new to Ruby and Rails (and not great with SQL), but I''m developing a ride sharing app and would like to be able to sort on something I don''t have stored. I have users, events, and rides, each of which has a zip code. Events have_many rides, and rides belong_to events. When an event is selected, I''d like to be able to show a list of
2006 Apr 12
2
Problems doing addition/subtraction with floats
Ok, I am sure this is a simplistic problem that I am just missing right now (maybe eyes are crossed??). However, I am trying to do simply math here. I have these variables initialized as follows: @amount_due = @amount_paid = @total_due = 0.0 I get @total_due and it is set to 1739.6 from the database. I then get @amount_paid and it is set to 1739.6 from the database. I then calculate the
2006 May 02
96
[ADV] Second Edition of Agile Web Development with Rails
ANNOUNCING AGILE WEB DEVELOPMENT WITH RAILS, SECOND EDITION =========================================================== http://www.pragmaticprogrammer.com/titles/rails2/ Rails has changed a lot since we announced the first edition of the book a year ago. DHH says that the 1.1 release "boasts more than 500 fixes, tweaks, and features from more than 100 contributors." Who are we to
2006 May 10
0
OT- GPL, Linux, TiVo
Tivo *has* released their changes to the Linux PPC kernel, as they are required to do by the GPL because they *have* distributed those changes... in every. single. machine. http://www.tivo.com/linux/linux.asp They have not released the source to their own application that runs on Linux, nor are they required to. Chris
2006 Mar 06
4
One-way change
I''m developing an app, and I want to make a single boolean field OK to change from 0 to 1, but not allow 1 to 0. Seems like the model''s validate method would be the right place for this, but I''m not sure how to implement it. Any suggestions (actual or pointers to) are greatly appreciated. -- Posted via http://www.ruby-forum.com/.