Re: MySQL -- Postgres LIKE find error

2010-05-25 Thread edoardoz
Thank for your answer. The business case is to search documents by incomplete (user submitted) id. Due this case is managed out-of-the box by mysql, and we have many cases like this, it's possible to enable implicit casting even in heroku's postgres? Regards. On May 24, 11:42 pm, Jonathan

Re: Class visibility in rake tasks

2010-05-25 Thread ingcarlos
try this task in the console. type heroku console --app name_of_your_app_hosted_in_heroku. On May 20, 6:35 pm, Paul Leader paul.lea...@gmail.com wrote: I have a really odd bug that I can't work out. I have a pair of rake tasks for bootstrapping my database with basic initial data that look a

Ensuring ssl?

2010-05-25 Thread misza222
Hi guys, I want to ensure that my users connect via https. Unfortunately request.scheme always returns http, even if connecting with https. Is this behaviour common for all SSL addons, or just for PiggybackSSL that I am using now and how to ensure ssl if user uses unencrypted protocol? Regards,

Re: No supported authentication methods available

2010-05-25 Thread ingcarlos
mmm, that's weird, look for the git address in the heroku app. g...@heroku.com:appname.git and the command should be git clone and for generating the RSA key, in linux u should use ssh-keygen command. On May 21, 2:22 am, jarkelen johnvanarke...@gmail.com wrote: Hi, I have a Heroku app and I

Re: Rails 2.3.6

2010-05-25 Thread Steve Wilhelm
I was receiving the following error from Authlogic 2.1.4 with Rails 2.3.5. .../.gems/gems/authlogic-2.1.4/lib/authlogic/session/callbacks.rb: 69:in `included': undefined method `singleton_class' for Authlogic::Session::Base:Class (NoMethodError) Author suggests upgrading to Rails 2.3.6, so I

Re: Subdomain without a custom domain?

2010-05-25 Thread Arun Thampi
Hi Michael - Have you set the tld size for subdomain-fu to 1 in production? If you don't have your custom domain name, then the tld size needs to be 2 (to account for heroku.com) I think. HTH. Cheers, Arun On Mon, May 24, 2010 at 2:42 AM, Michael magic6...@gmail.com wrote: Has anyone setup a

Re: MySQL -- Postgres LIKE find error

2010-05-25 Thread Keenan Brock
Edoardo, 1. you may do well to store the id as a string you can index that, and many databases will use an index with a like clause (given the % is on the right hand of the string) only way I know how to create this is using: def after_create if id_string.blank? id_string=id.to_s

Re: Rails 2.3.6

2010-05-25 Thread Keenan Brock
Two things you may want to keep in mind: People mentioned rails 2.3.4 - 2.3.5 breaking a number of tests. I think Rails 2.3.7 is just around the corner. --Keenan On May 25, 2010, at 12:26 PM, Matthew A. Brown wrote: Hmm, interesting. I still haven't been able to get Heroku to install rails

Re: Rails 2.3.6

2010-05-25 Thread Matthew A. Brown
Yeah, I've got pretty good test coverage and it's a pretty small app at this point anyway. And I haven't done any serious monkey-patching of the framework or anything. But the reason I'm so focused on upgrading, actually, is that I'm using mail_style, which has dependencies on activerecord and

Re: Subdomain without a custom domain?

2010-05-25 Thread Michael
Ahhh! that makes sense thanks for the reply. I went ahead and just used one of my spare domains for testing purposes. thanks. On May 25, 12:29 pm, Arun Thampi arun.tha...@gmail.com wrote: Hi Michael - Have you set the tld size for subdomain-fu to 1 in production? If you don't have your

Re: Rails 2.3.6

2010-05-25 Thread Carl Anderson
2.3.7 and 2.3.8 are already out (came out today actually). Silly little mistakes were made but at least they fixed them quickly. LOL Carl On Tue, May 25, 2010 at 9:33 AM, Keenan Brock kee...@thebrocks.net wrote: Two things you may want to keep in mind: People mentioned rails 2.3.4 - 2.3.5

Re: Ensuring ssl?

2010-05-25 Thread Jonathan Dance
Check out http://github.com/rails/ssl_requirement On Sat, May 22, 2010 at 4:02 AM, misza222 misza...@gmail.com wrote: Hi guys, I want to ensure that my users connect via https. Unfortunately request.scheme always returns http, even if connecting with https. Is this behaviour common for all

Re: MySQL -- Postgres LIKE find error

2010-05-25 Thread Jonathan Dance
it's possible to enable implicit casting even in heroku's postgres? I don't believe implicit casting is possible in any version of Postgres - Postgres doesn't try to act like MySQL, it tries to be ANSI SQL compliant (it's like Internet Explorer versus Firefox). -- You received this message