[Rails]

2011-04-29 Thread Charles Johnson
http://klute-it.de/images/ate.php -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to

[Rails] Re: Installing rmagick - failed

2009-05-20 Thread Charles Johnson
On Wed, May 20, 2009 at 1:27 AM, wejrow...@gmail.com wejrow...@gmail.comwrote: I'm not sure.. I have no idea. Hhow would I check? I've tried looking up for a while but can't find anything. Hivelogic has a good tutorial, but none of the zip files are working. When you say none of the zip

[Rails] Re: Getting 500 Errors on production...

2009-05-05 Thread Charles Johnson
What platform/OS are you using for production? What database. Inquiring minds want to know. :) Cheers-- Charles On Tue, May 5, 2009 at 1:00 AM, Mike C snib...@gmail.com wrote: I'm getting 500 errors on my production server running Passenger. I cannot, for the life of me, find out what the

[Rails] Re: Getting 500 Errors on production...

2009-05-05 Thread Charles Johnson
. How does Passenger keep its logs, if any? On May 5, 7:20 am, Charles Johnson gm.johns...@gmail.com wrote: What platform/OS are you using for production? What database. Inquiring minds want to know. :) Cheers-- Charles On Tue, May 5, 2009 at 1:00 AM, Mike C snib...@gmail.com wrote

[Rails] Re: no sql in the controller guideline

2009-05-05 Thread Charles Johnson
Like all good programming rules of thumb there are interesting exceptions. Complicated unions and intersections, especially where the from clause might be a dynamic select, such as might be needed for a report can be very difficult to do without resorting to passing the sql directly to the

[Rails] Re: Getting 500 Errors on production...

2009-05-05 Thread Charles Johnson
and it only seemed to log warnings; I didn't see anything that pertained to the error or exception I got. On May 5, 12:36 pm, Charles Johnson gm.johns...@gmail.com wrote: Try your apache error logs, as well as your system logs. Cheers-- Charles On Tue, May 5, 2009 at 12:35 PM, Mike C snib

[Rails] Re: Where can I find Ruby on Rails work?

2009-05-01 Thread Charles Johnson
http://is.gd/vXH3 Cheers-- Charles On Fri, May 1, 2009 at 4:05 PM, David Beckwith dbitsoluti...@gmail.comwrote: Hello, Where can I find Ruby on Rails work? I have about 2 years of experience with Ruby/Ruby on Rails and I've taught classes in Ruby and Ruby on Rails. I just moved back to

[Rails] Re: apache2 + mod_rails

2009-04-21 Thread Charles Johnson
Can you be more forthcoming about the errors in the log. I use ubuntu and I had to change the owner and group access on a few files like environment.rb to get rails running on ubuntu. This has to do with who the owner is of the rails app as it runs. In my case both environmet.rb and

[Rails] Re: Passenger caching in development mode, wtf?

2009-04-15 Thread Charles Johnson
I've not tried this, but as a last resort you might try: touch tmp/always_restart.txt in your application’s root folder. Cheers-- Charles On Wed, Apr 15, 2009 at 3:11 AM, Frederick Cheung frederick.che...@gmail.com wrote: On Apr 15, 5:58 am, Petr Janda rails-mailing-l...@andreas-s.net

[Rails] Re: Controlling concurrency

2009-04-15 Thread Charles Johnson
If you positively cannot have overbooking (oops, airline talk) over-selling, then all your orders have to either lock a table (using the database to enforce serialization), or they have to be serially examined in someway, such as a single order FIFO queue. You could create an observer, for

[Rails] Re: deploying rails to apache with mongrel cluster

2009-04-14 Thread Charles Johnson
I agree. Dump mongrels and look at Phusion's Passenger instead (modrails.com ). Cheers-- Charles On Tue, Apr 14, 2009 at 8:39 AM, Leonardo Borges leonardo.j...@gmail.comwrote: Honestly you'd be better off using apache with mod_rails. Mongrels are just a pain to manage It's not a

[Rails] Re: Ruby On Rails with Webrick on a Vista System

2009-04-10 Thread Charles Johnson
What database are you using, the default sqlite3? Try looking in log/ in the development log file. What error message are you getting recorded there? Cheers-- Charles On Thu, Apr 9, 2009 at 9:03 PM, SnLStark starko...@comcast.net wrote: Does this work. I am trying to learn ROR on my home

[Rails] Re: ADVANCED Rails Mailing List?

2009-04-08 Thread Charles Johnson
And, of course, you could start one yourself. If you build it, they will come... Cheers-- Charles On Wed, Apr 8, 2009 at 1:46 PM, Phlip phlip2...@gmail.com wrote: Kevin Elliott wrote: Is there an advanced rails mailing list? news://news.gmane.org:119/gmane.comp.web.merb.devel (-:

[Rails] Re: Support Ruby(Rails) Growth

2009-04-07 Thread Charles Johnson
On Tue, Apr 7, 2009 at 8:15 AM, Roderick van Domburg rails-mailing-l...@andreas-s.net wrote: Yay for Ext JS. The concept of having a rich JavaScript client application talking with a RESTful Rails application works very well for back-end applications. I can heartily recommend everyone to try

[Rails] Re: no such file to load -- config/environment - Apache2 Passenger 2.1.1

2009-03-27 Thread Charles Johnson
Yes, CentOS is different than ubuntu. You had said at the beginning that you were running ubuntu. Cheers-- Charles On Thu, Mar 26, 2009 at 11:49 AM, doron doronro...@gmail.com wrote: i use: Rails 1.2.3passenger2.1.2 Apache/2.0.52 (CentOS)

[Rails] Re: no such file to load -- config/environment - Apache2 Passenger 2.1.1

2009-03-25 Thread Charles Johnson
On Wed, Mar 25, 2009 at 9:40 AM, doron doronro...@gmail.com wrote: try here: http://blog.scopeport.org/ruby-on-rails/phusion-passenger-error-file-directory-nonexistent/ Basti כתב: Hi, i recently started using Ruby and Ruby on Rails. For Development i'm using RadRails and InstantRails

[Rails] Re: Authentication plugins

2009-03-20 Thread Charles Johnson
On Thu, Mar 19, 2009 at 7:03 PM, ricardonns ricardo...@gmail.com wrote: Hey there. I am starting a new development and am still a newbie in rails, so i'd like to ask witch authentication plugin do you sugest? Regards, Ricardo I use authlogic because I found it a bit easier for me to

[Rails] Re: gem install blackbook on centos error

2009-03-13 Thread Charles Johnson
On Fri, Mar 13, 2009 at 4:07 AM, Jeba Momin rails-mailing-l...@andreas-s.net wrote: Hello, I'm trying to install the blackbook gem on my m/c with centos , but i get the following error: Building native extensions. This could take a while... ERROR: Error installing blackbook:

[Rails] Re: Which is the best way to do this? (about save time data)

2009-03-13 Thread Charles Johnson
On Fri, Mar 13, 2009 at 8:00 AM, John Smith rails-mailing-l...@andreas-s.net wrote: I think that select_hour(0) and select_minute(0) it's what I need. I just want to save the time it's needed to complete a task, so I only need to select and hour and minutes. How should I save this? Like a

[Rails] Re: Which is the best way to do this? (about save time data

2009-03-13 Thread Charles Johnson
On Fri, Mar 13, 2009 at 11:27 AM, John Smith rails-mailing-l...@andreas-s.net wrote: Thanks for your help, Charles. I appreciate it. What I want is the duration needed to complete a specific task. So when I have a lot of tasks, I will be able to search tasks width its durations is bigger

[Rails] Re: Using LIKE

2009-03-13 Thread Charles Johnson
On Fri, Mar 13, 2009 at 12:42 PM, Mike C snib...@gmail.com wrote: I've heard that using LIKE is very slow, but I see it being used a lot in examples, blogs etc. Is it really that bad? Since Rails doesn't directly support Fulltext search, this is the easiest way to get searching done, right?

[Rails] Re: Using LIKE

2009-03-13 Thread Charles Johnson
On Fri, Mar 13, 2009 at 1:11 PM, Mike C snib...@gmail.com wrote: Thanks, that makes things clearer. But how big is big? I don't plan on my app being hugely popular, but would thousands of entries be ok? Is there an area where LIKE starts to be really slow? Depending on the speed of your

[Rails] Re: How many people are using Ruby now?

2009-03-12 Thread Charles Johnson
On Thu, Mar 12, 2009 at 12:30 AM, Paul_Klipp pkl...@gmail.com wrote: I enjoyed the Linux Counter (http://counter.li.org/) in the early days of Linux adoption and so when we had some free time, one of my team tossed together a little app for registering and counting Ruby users and tracking

[Rails] Re: crypto in Rails 2.x?

2009-03-10 Thread Charles Johnson
On Tue, Mar 10, 2009 at 10:15 AM, Jeff Pritchard rails-mailing-l...@andreas-s.net wrote: MaD wrote: depends on what you are looking for. if want to have a one-way function (for passwords and such) just try it like this: encrypted_item = Digest::SHA256.hexdigest(�string_to_encrypt�)

[Rails] Re: Phusion Passenger Installation Problem

2009-03-10 Thread Charles Johnson
On Tue, Mar 10, 2009 at 4:21 AM, elle wazne...@gmail.com wrote: Hello, I am trying to install Passenger on Mac OS 10.5 but running: % sudo gem install passenger gives me: Error installing passenger: invalid gem format for /Library/Ruby/Gems/1.8/cache/ passenger-2.0.6.gem I

[Rails] Re: Best Rails editor

2009-03-09 Thread Charles Johnson
On Mon, Mar 9, 2009 at 9:26 AM, Juanma Cabello juanma.cabell...@gmail.comwrote: +1 for TextMate on OS X. I've used gEdit in GNU/Linux which it's pretty great.+1 for InType on Windows platform. +1 for textmate on OSX +1 for gedit on linux (I run ubuntu as it happens). I don't use either sqlite

[Rails] Re: development speed boosters

2009-03-09 Thread Charles Johnson
On Mon, Mar 9, 2009 at 9:00 AM, Roger Muthton rails-mailing-l...@andreas-s.net wrote: anyone know of any good development speed booster plugins or gems? the larger my app becomes, the slower development time becomes.. getting painfully slow.. -- Where in the development cycle do you seem

[Rails] Re: Create reports with ActiveRecord to download by user

2009-03-09 Thread Charles Johnson
On Sun, Mar 8, 2009 at 10:02 AM, Shilo Ayalon rails-mailing-l...@andreas-s.net wrote: Hi - I want to enable the user to generate a report based on the database used by the application. I have a few related questions: 1. Assuming my script is called 'create_report.rb' and stored under

[Rails] Re: Application access for non-Rails developers

2009-03-09 Thread Charles Johnson
On Mon, Mar 9, 2009 at 3:14 PM, Ian ian.2...@yahoo.com wrote: I was wondering if anyone gives non-developers access to their Rails applications (like say a tech-savvy content manager or designer) and if so, how? What software? etc. I assume you mean source code, css, and the like. If they

[Rails] Re: JasperReports and Ruby on Rails = disappeared?

2009-03-06 Thread Charles Johnson
On Fri, Mar 6, 2009 at 8:11 AM, InventoryTrackers inventorytrack...@gmail.com wrote: I've been working for the last two weeks to follow the instructions for integrating Jasper Reports ( iReport) with Ruby on Rails and was ready to take the last steps when the article at

[Rails] Re: RubyGems 1.3, Ruby 1.9.1-p0

2009-02-24 Thread Charles Johnson
I run RoR on CentOS 5.2, but I recommend dropping back to ruby 1.8.7, and rails 2.2.2 or even 2.1.1 I use postgressql 8.3.5, but I had to add the postgres repository to get it. I also use apache and passenger with no problems. Cheers-- Charles On Tue, Feb 24, 2009 at 1:18 AM, Ephraim Mamo

[Rails] Re: RubyGems 1.3, Ruby 1.9.1-p0

2009-02-24 Thread Charles Johnson
On Tue, Feb 24, 2009 at 10:46 AM, Ephraim Mamo rails-mailing-l...@andreas-s.net wrote: Charles Johnson wrote: I run RoR on CentOS 5.2, but I recommend dropping back to ruby 1.8.7, and rails 2.2.2 or even 2.1.1 I use postgressql 8.3.5, but I had to add the postgres repository to get

[Rails] Re: Trouble installing rails on CentOS 5.2

2009-02-19 Thread Charles Johnson
On Wed, Feb 18, 2009 at 11:54 PM, Paryank Kansara rails-mailing-l...@andreas-s.net wrote: My PC is running CentOS 5.2 with Ruby 1.8.6 and Ruby-devel package installed. I have installed RubyGems by downloading rubygems-1.3.1.tgz from rubyforge.org. Now I am trying to install Rails by the

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-17 Thread Charles Johnson
/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin directory. Why is this happening? What should I do? Thanks, Elle On Feb 17, 5:52 am, Charles Johnson gm.johns...@gmail.com wrote: Yes, please sign in as root, and be sure you get the path right: is starts /System... but not -/System

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-16 Thread Charles Johnson
directory. Should I sign in as root? Cheers, Elle On Feb 15, 11:16 am, Charles Johnson gm.johns...@gmail.com wrote: The problem is with your path. You want /System/Library... but you are doing -/System/Library... See the difference? Cheers-- Charles On Fri, Feb 13, 2009

[Rails] Re: Problem deploying an app with passenger

2009-02-15 Thread Charles Johnson
On Sat, Feb 14, 2009 at 1:53 PM, landry soules landry.soules.r...@gmail.com wrote: Hello, I'm desperatly trying to install an app with phusion passenger. I've already spent 2 days with no success, can somebody help me, please ? Here is my problem : I already installed phusion passenger

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-14 Thread Charles Johnson
, 8:19 am, Charles Johnson gm.johns...@gmail.com wrote: On Fri, Feb 13, 2009 at 2:43 PM, elle wazne...@gmail.com wrote: Running it with sudo I get: ERROR: While executing gem ... (Gem::InstallError) Unknown gem rails = 0 Do I need to actually sign in as root? Cheers

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-13 Thread Charles Johnson
On Thu, Feb 12, 2009 at 9:22 PM, elle wazne...@gmail.com wrote: I've updated rails and other gems following: http://wiki.rubyonrails.org/rails/pages/HowtoUpgrade When I try to run: gem cleanup, I get the following error: Cleaning up installed gems... Attempting to uninstall rails-1.2.6

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-13 Thread Charles Johnson
On Fri, Feb 13, 2009 at 2:43 PM, elle wazne...@gmail.com wrote: Running it with sudo I get: ERROR: While executing gem ... (Gem::InstallError) Unknown gem rails = 0 Do I need to actually sign in as root? Cheers, Elle You should be OK with sudo. Can you post your *exact* command