Re: [Rails-core] Plugin test fixtures

2010-05-30 Thread Jack Christensen
On 5/28/2010 11:05 PM, Michael Koziarski wrote: Just spent a good bit of time trying to figure out why I couldn't get fixtures to work in a plugin test. I was including ActiveRecord::TestFixtures into ActiveSupport::TestCase and trying to get fixtures to automatically reload for every test like

Re: [Rails-core] Plugin test fixtures

2010-05-30 Thread Michael Koziarski
In a plugin we have to explicitly include ActiveRecord::TestFixtures to enable fixtures in ActiveSupport::TestCase. So my thinking is it should loudly fail instead of silently fail if it doesn't think ActiveRecord is setup. Now if I understand you correctly, you are saying that that would

[Rails-core] no such file to load -- /home/path/to/app/config/environment

2010-05-30 Thread Senthil
I looked at the permissions, it is set to username:group - the same settings which work for another app. Btw, this is running Rails 2.1.something (Its a friends website deployed a while back, just helping him out.) Thanks Full stack msg: no such file to load --

[Rails-core] Problem: Form Helper HTML Command Escaping

2010-05-30 Thread chrispie
Hi there, if I use the form_tag helper every html command within that helper block gets escaped and is not been recognized by the browser as a tag. Is that a bug or a feature? On irc nobody had a answer. Example: % form_tag do % div/div % end % i tried this with rails 2.3.7 and 2.3.8.

Re: [Rails-core] Problem: Form Helper HTML Command Escaping

2010-05-30 Thread Ryan Bigg
This was a bug in 2.3.7 and is not supposed to be the case in 2.3.8. Please ensure your application really is using 2.3.8. On 30 May 2010 08:33, chrispie chrispiets...@googlemail.com wrote: Hi there, if I use the form_tag helper every html command within that helper block gets escaped and is