search for: fredcontrol

Displaying 2 results from an estimated 2 matches for "fredcontrol".

Did you mean: findcontrol
2006 Jan 12
2
Engines issue: rake test_plugins failing when it shouldn''t
I create a simple engine with a simple controller: class FredController < ApplicationController def hello render :text => ''Hello, world!'' end end and I create a simple functional test within the engine: class FredControllerTest < Test::Unit::TestCase ... def test_hello get :hello assert_resp...
2007 Sep 07
1
Rails + require returns ??
All, I have a rails controller that is requiring a ruby file ie res = require ''blee'' p res.inspect # <= [] ?? class FredController < ApplicationController .... end Printing the return value of the require, I was expecting to see true or false whether the required ruby file was previously loaded or not. Instead it seems to always return an array. On the first load an array with the module name for blee...