[Rails] rail_upgrade gem fails to recognise environment.rb

2011-06-15 Thread Rob Aldred
The rails 3 upgrade gem is refusing to generate a new application rb for a project i am trying to get onto rails 3. Running: rake rails:upgrade:configuration --trace Results in the following error: There doesn't seem to be a real environment.rb in your app. Are you sure config/environment.rb

[Rails] using haml in internationalisation with haml views

2010-03-30 Thread Rob Aldred
) is the first example the only way to do this? or am I going about this all wrong? -- Rob Aldred http://robaldred.co.uk -- 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-t...@googlegroups.com

[Rails] Re: Writing more advanced activerecord error messages

2010-02-03 Thread Rob Aldred
of conflict with both these libraries. Might have to scrap this whole idea and write markdown or something in my messages and replace the error_message_for method to generate the HTML --Rob On Jan 29, 2:35 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote: Rob Aldred wrote: Although, using a Proc

[Rails] Writing more advanced activerecord error messages

2010-01-29 Thread Rob Aldred
Hi, I want to be able to have a more detailed friendly message for users when they register with an email address thats already taken. At the moment I have written a small validation method to produce what I want, personally I dont like it because I've had to include modules that shouldn't really

[Rails] Re: Writing more advanced activerecord error messages

2010-01-29 Thread Rob Aldred
. On Jan 29, 9:55 am, Rob Aldred rald...@gmail.com wrote: Hi, I want to be able to have a more detailed friendly message for users when they register with an email address thats already taken. At the moment I have written a small validation method to produce what I want, personally I dont

[Rails] Re: Writing more advanced activerecord error messages

2010-01-29 Thread Rob Aldred
, 9:55 am, Rob Aldred rald...@gmail.com wrote: Hi, I want to be able to have a more detailed friendly message for users when they register with an email address thats already taken. At the moment I have written a small validation method to produce what I want, personally I dont like