similar to: "script/server -e production" doesn''t work

Displaying 20 results from an estimated 8000 matches similar to: ""script/server -e production" doesn''t work"

2006 Feb 19
2
Asynchronous Encryption?
Hi Railers, I''m looking for something to do asynchronous encryption - where the encryption and decryption keys are different. This is for a scenario where I want to be able to store some information in the database that can only be decrypted in a different physical location using a secret private key (which will not be stored on the machine doing the encrypting). I''m trying
2006 Apr 04
1
"uninitialized constant Reloadable" error heads-up
I can''t duplicate this problem on my local machine, but also can''t find any mentions of it on the Gmane archive, so thought I''d just throw in a quick mention in case anyone else comes across it. On Textdrive, using gem rails 1.1, in an app that works fine on my local machine, I get the following error in my production.log: "uninitialized constant
2006 Mar 14
4
validates_confirmation_of has stopped working
Hi Railers, I''m past considering myself a noob in Rails land - I think what I''m up against here is more of a bug or an anomaly that I''m unaware of (or that has changed in a recent version). I had a fully working validates_confirmation_of :email_address field in my app - was one of the first things I set up, extremely simple, been working for a long time. Then one
2006 Apr 17
6
Is there anyway to make Rails NOT cache?
Is there anyway to make Rails NOT cache? I''m getting caching in the browser and the server. I have to restart Lighttpd after every view change to see the results. Thanks, phill
2005 Aug 10
5
validates_format_of on an optional field using :if
Hi there, I''ve got the following in my model: validates_format_of :postcode, :with => /^([a-zA-Z]{1,2}[0-9]{1,2} [0-9]{1}[a-zA-Z]{2})$/, :message => "is not valid", :if => :postcode ... but it''s not working - it always insists on validation, even if postcode is empty. Basically, the postcode field is optional, but if it''s filled in, I want to
2006 Jan 18
4
Ruby "htmlentities" replacement: code review please!
Hi Railers, For some time now I''ve been looking for a decent Rails equivalent of PHP''s "htmlentities" command, because ERB''s html_escape (or more commonly called as just "h", eg. <%=h @somevariable %> ) just doesn''t go far enough for me. Back in PHP land, I actually had an extended version of the htmlentities command to deal with
2006 Feb 03
5
writing my own generator
Hi all, I wanted to write my own generator. What would be a good starting point. Is there any documentation on this, Best practices, etc? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060203/c64c4730/attachment.html
2005 Nov 03
1
Builder / rxml views: hyphens in XML element names
I''m having a strange problem with an rxml view - it won''t let me put hyphens in the names of XML elements. The original problem line was: xml.VISA-SSL do But in any other place, if I insert a hyphen into the name of any arbitrary element, I get the following kind of error: undefined method `theTextAfterTheHyphen'' for #<#<Class:0xb7617180>:0xb7616f28>
2005 Sep 21
2
Date Validation: The February 31st Problem
Hi Railers, I''m wondering if anyone has found a nice solution to the problem of validating dates to prevent things like 29th February 2005, or 31st September and so on? I see it was discussed before... http://wrath.rubyonrails.org/pipermail/rails/2005-March/003804.html ...but with no particularly ideal solution... http://wrath.rubyonrails.org/pipermail/rails/2005-March/003815.html
2006 Feb 07
1
Page caching when name contains a dot (period)
Hi Everyone, Just thought I''d post some details of an interesting little quirk I''ve found with page caching. For a site I''ve just built for a small music festival, there are a number of artist profiles. I''m storing the artists in my database, but using caches_page to speed things up when displaying the details to the public. I''ve also made it so
2006 Apr 16
4
wsod since upgrading to 1.1
I just upgraded to 1.1 and I am now getting the wsod for errors that used to display on the screen. E.G. NoMethodError gives wsod. Does any one know what caused this and how I can go back to the previous behavior? -- Posted via http://www.ruby-forum.com/.
2006 Mar 13
6
noob question!! auto fill forms
I''ve been using rails for about 3 months and have a pretty cool app going, but i need to auto-fill some form data. is this possible? i would think so. well anybody to lend me a helping hand, much appreciated. -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
6
rake freeze_gems errors
I''m having problems trying to freeze local rails gem to my app with: rake freeze_gems On OSX 10.4.6 i get the following error: Illformed requirement [=#<Gem::Specification name=rails version=1.1.0>] This is the full output: Freezing to the gems for Rails 1.1.0 rm -rf vendor/rails mkdir -p vendor/rails cd vendor/rails Unpacked gem: ''activesupport-1.3.0'' mv
2006 Feb 11
4
Starting Ruby On Rails
Hi, i m a web developer(php,ajax). i want to start with ruby on rails. can one suggest me online tutorials for ruby on rails? How would i start with ruby on rails,i knew something about ruby? editor for ruby on rails? Plase..... Thank You. -- Posted via http://www.ruby-forum.com/.
2006 Apr 20
5
Rails, FCGI, Dreamhost
Is anybody getting acceptable performance with a Rails application on Dreamhost? By this, I mean response times no greater than 3 seconds, and no large numbers of FCGI processes that you have to kill manually. If so, how? I''ve ended up running a constant ping script (once every ten minutes), and still have to kill some number of excess dispatch.fcgi processes every day. Along with
2006 Apr 07
0
Double opt-in mailing list engine / gem?
Does anyone have any existing code for a double opt-in mailing list system based on Rails? Wouldn''t be hard for me to make one, but I don''t want to reinvent the wheel if someone else has already done it and published the code somewhere? It''s for one-way mailshots only. I don''t need to do much more than collect email addresses of interested people - if the
2006 Mar 30
9
script/console not working after Rails 1.1 upgrade
Whenever I do script/console I get an error message: Loading development enviroment. c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method ''upcase'' for nil:NilClass (NoMethodError) from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' from c:/ruby/bin/irb:13
2006 Apr 14
10
DHH Says...F You
WTF was this about? http://www.flickr.com/photos/planetargon/127984254/ Joe -- Posted via http://www.ruby-forum.com/.
2006 Jun 08
2
Page caching for urls with dots
hi everyone, I have a pesky problem with page caching, sorry if it sounds dummy. Whenever I''m caching an url like /controller/argument.with.dots instead of getting a saved page like /public/controller/arguments.with.dots.html I get /public/controller/arguments.with.dots which makes the webserver confused as to how to send it (it gets a Content-Type of text/plain instead of
2006 Mar 12
2
Dealing with empty 404 images
so i''d like to do the following map.connect ''some/path'', :controller => ''Foo'' if server.status == ''404'' in other words: if i get a 404 response, and a given path, i''d like to handle it by returning my own content. no- i don''t want a generic all-404 error page, i want to be able to handle individual 404s.