[Rails-core] config.force_ssl = true should set SSL application-wide and by default

2014-07-28 Thread Pete
If we apply the logic specify as much as possible on the highest level possible, then config.force_ssl = true should also set SSL for ActionMailer (and its url helpers), meaning application-wide and by default). The following requirement should then be a thing of the past: # development.rb

Re: [Rails-core] config.force_ssl = true should set SSL application-wide and by default

2014-07-28 Thread Pete
Hi, maybe there was a slight misunderstanding - I think SSL should be set *application-wide* once config.force_ssl = true is set. On Monday, July 28, 2014 4:13:46 PM UTC+2, Geoff Harcourt wrote: Hi Pete, I don’t think it’s necessary to require SSL in development, so even if enabling SSL

Re: [Rails-core] Re: Model generator: Invoke active_record only 1x for mulitiple models?

2013-02-24 Thread Pete
/spring, a new tool from jonleighton that's under test and is likely to be the default integration with Rails as part of the development process, I recommend you guys to take a look. Pete, I think the path that zeus and spring are taking is the way to go, since it does not help only

[Rails-core] Model generator: Invoke active_record only 1x for mulitiple models?

2013-02-22 Thread Pete
Currently (3.2.12), Rails needs 1 separate command per model/migration to be generated. Each such rails g ... command invokes active_record once. When a project needs to generate a larger number of models/migrations, this process can take up lots of time. So, this... rails g model_a

[Rails-core] Re: Fix to make has_one/has_many :dependent behaviour consistent (my first patch)

2007-07-30 Thread Pete Yandell
in a way that might break things. Thanks for reminding me of that though...I'll at least add some links between the tickets. Pete Yandell http://notahat.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby

[Rails-core] Re: Fix to make has_one/has_many :dependent behaviour consistent (my first patch)

2007-07-29 Thread Pete Yandell
D'oh! And I just realised I made a typo in the first line of the description. It should read: A has_one or has_many relationship with :dependent set to :nullify... It's been a long day. Pete Yandell http://notahat.com/ --~--~-~--~~~---~--~~ You received

[Rails-core] Lost mySQL connections on OS X, in development mode, with ruby adapter

2007-01-18 Thread pete
to compile for reasons unclear. Pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Core group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send

[Rails-core] Re: ActiveSupport::Multibyte for better Unicode support

2006-09-27 Thread Pete Yandell
area. When and how to normalise is something a developer really needs to think about, so just enabling auto-normalisation of all parameters is possibly not the solution. Pete Yandell --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails-core] Re: ActiveSupport::Multibyte for better Unicode support

2006-09-26 Thread Pete Yandell
a plugin that does all this (if someone doesn't beat me to it). Cheers, Pete Yandell --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Core group. To post to this group, send email to rubyonrails-core

[Rails-core] Re: ActiveSupport::Multibyte for better Unicode support

2006-09-25 Thread Pete Yandell
it hurt, how, and why? Pete Yandell --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Core group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send

[Rails-core] Re: ActiveSupport::Multibyte for better Unicode support

2006-09-23 Thread Pete Yandell
to support unicode nowadays?) Rumour also has it that ActiveRecord, when recreating timed-out database connections, doesn't honour the 'encoding: utf8' setting. I've never run into this personally, so I assume it was fixed at some point? Cheers, Pete Yandell