search for: wwonko

Displaying 8 results from an estimated 8 matches for "wwonko".

Did you mean: wonko
2006 May 05
7
vim: space or tab in indenting?
this is semi-off topic but still related to ror. i had a problem with testing my depot program (which i follow the tutorial in agile web development book). it took me many hours to solved the problem. all the while i thought i was using spaces inside the test/fixtures/products.yml programmer_book: id: 1 title: Pragmatic Programmer description: Best book
2006 Apr 28
2
Rails and Firebird
...tests" does not work. Bummer. I suspect that if migrations were fixed, this would work, too. Again, has anyone heard anything about this? I''d love to hear back from anyone successfully using Firebird with Rails! -- Louis Erickson - lerickson@rdwarf.net - http://www.rdwarf.com/~wwonko/ Labor, n.: One of the processes by which A acquires property for B. -- Ambrose Bierce, "The Devil''s Dictionary"
2006 May 05
2
can you do global match regular expressions?
I cant figure out how to do global regular expressions in ruby. Im not even sure if its possible. In the "Programming Ruby" book there is no mention of it. Can you do this? text = "aaa1 bbb2 ccccc3 dddddd4 eee5" re = /\w+\d{1}/ matches = re.match text m[0] = "aaa1" m[1] = nil m[2] = nil and so on.... Is there any way to get an array of all the matches??
2006 May 09
9
Working around the year 2038 bug in Ruby''s Time class?
I would have never imagined that I''d be bitten by the Y2038 bug someday... but it just happened and, trust me, it hurts! I have to deal with a database containing datetime fields with dates up to 2050 and more. ActiveRecord raises an exception because Ruby''s Time class implementation. Besides running Ruby on a 64-bit platform, what can be done to avoid that? Does a
2006 Apr 30
3
New to Rails/Ruby how to proceed?
Being a somewhat jaded Java programmer I''ve decided to make an evaluation of Ruby and Rails. I''ve purchased both the Pragmatic books (Programming Ruby, Agile Web Development with Rails) and I''d like to get people''s opinions as to the best way to use them. When you were learning Rails did you find that you had to read Programming Ruby first or did you
2006 May 03
6
Scaffold Generation Problem
Greetings all, I''m sure there is probably a very obvious reason for the following problem. However, after much hair pulling, I am just not seeing it yet. As you can see from the trace below, I am not able to complete scaffold generation due to some problem between rails and mysql. I double checked MySQL to make sure both my Ruby user and Root user have full rights to the database.
2006 May 05
31
The perfect development environment?
I am trying to create the perfect development environment for rails and i dont know exactly which way to go. Do i create a windows environment or a *nix environment. If i go *nix, what distro is best suited for rails. I would be using mysql, so that would come in to play. If i go *nix, i would use apache. Any ideas for the right environment would be greatly appreciated. I guess the major choice is
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