Thu Apr 12, 2007 5:33 am
Replies: 7
Views: 16464
jonsteenbergen - If you're still having problems after comprug's suggestions, I'd recommend contacting support directly so we can take a look at your setup

Thu Apr 12, 2007 5:32 am
Replies: 6
Views: 17423
I believe what we use for our control panel is here: http://www.compoundtheory.com/?action=captcha.index

I'd also agree that often other approaches can work well - asking other types of questions, ...

Tue Apr 03, 2007 9:52 am
Replies: 3
Views: 14896
the above is why Ruby pwns Perl any day of the week. this should work:
class Array
def lazy_eql?(a)
raise ArgumentError unless a.is_a? Array # verify we got an array

...

Sat Mar 24, 2007 8:53 pm
Replies: 1
Views: 12670
Sam, yeah LIKE should work just as you'd expect. e.g.:

Employee.find(:all, :conditions => 'shortname LIKE "Paul%"')

Sat Mar 24, 2007 3:04 pm
Replies: 16
Views: 27025
cah - Just wanted to let you know that we do keep an eye on overall server stability. We have internal tools used to track server problems and compare the relative number between servers of a similar ...

Fri Mar 23, 2007 11:13 pm
Replies: 3
Views: 11035
skaplan - Yes, in fact you need one there for Rails to work w/ Apache + mod_fastcgi at all. You can feel free to edit the default .htaccess file Rails creates, but be careful

Fri Mar 16, 2007 4:14 pm
Replies: 7
Views: 17273
amiridis - There's nothing that needs to be done in the control panel. We have information on how to get started creating an application on your account through SSH, or how to deploy a pre-existing ap ...

Wed Feb 28, 2007 5:29 am
Replies: 6
Views: 13947
The best way to do this is really with a framework like Rails and Apache + mod_rewrite(or app server like mongrel). All requests just pass into "routing" code within the app, and your own code decides ...

Thu Feb 22, 2007 12:33 am
Replies: 6
Views: 12533
Nope, though that would be nice. I left out includes for rubygems/hpricot/mechanize/md5 just for the sake of reducing clutter Smile

Mon Feb 19, 2007 11:08 pm
Replies: 6
Views: 12533
Very cool. Here's some I was writing. Here's some code I was using internally to try to scrape data off one of our internal apps:

agent = WWW::Mechanize.new
page = agent.get(&q ...

Fri Feb 16, 2007 2:25 am
Replies: 0
Views: 6636
[url=http://revolutiononrails.blogspot.com/]These guys have whipped-up some really nice Rails tips and tools. It's great that major sites like this and [url=http://www.dailykos.com/story/2007/2/14/184 ...

Sat Feb 10, 2007 5:38 pm
Replies: 8
Views: 17084
windsorben - I'm not sure I understand the point of doing this. You're doing a SELECT * with no WHERE conditions, and then filtering that query with WHERE conditions? Wouldn't it make more sense to ju ...

Wed Feb 07, 2007 12:23 am
Replies: 16
Views: 38207
Use the full path to the file, or for something a little less machine-specific, start with RAILS_ROOT, e.g.;

File.open("#{RAILS_ROOT}/public/stylesheets/wolf.css", "a&q ...

Sun Feb 04, 2007 11:39 pm
Replies: 16
Views: 38207
Yeah I'm having a bit of trouble reading the view...but it seems a little convoluted. First off I'd recommend using the form helper tags, picking the right variation for whether you're using 1.1.6 or ...

Sun Feb 04, 2007 8:11 pm
Replies: 3
Views: 9551
Ennio - Your basic two options would be updating a text file with a counter, or updating a database table that tracks hits. You could either insert an individual record for each hit, or(probably a muc ...
Page 1 of 12
All times are GMT