Displaying 4 results from an estimated 4 matches for "gabrito".
Did you mean:
gabriel
2006 May 19
1
Problems generating a model with a namespace
...which causes the
test to fail because it looks for the fixture file in
test/fixtures/tests.yml instead of test/fixtures/namespace.yml. How do I
tell the unit test to look for fixtures in it''s own namespace? Should I
file this as a bug or am I doing something wrong?
Thanks,
Todd
http://gabrito.com
--
Posted via http://www.ruby-forum.com/.
2006 May 23
2
Putting fixtures into subdirectories
...Company::Employee I''d like the fixture to
be in fixtures/company/employees.yml.
However, I can''t figure out how to specify the path of the fixture file.
If I do:
fixtures :employees
in my unit test it can''t find the fixture file. Any suggestions?
Thanks,
Todd
http://gabrito.com
--
Posted via http://www.ruby-forum.com/.
2006 May 14
3
Mac OS X and Uninitialzed Constant Mysql
Development Platform:
ruby 1.8.4
Rails 1.1.2
mysql "gem" 2.7
Mac OS X (10.4.6), 64-bit
Mysql 5.0.19-standard (64-bit)
Lighttpd, 1.4.11
I''m trying to startup a simple test rails app against mysql. Rails
starts up fine and my pages render successfully, until a DB access is
made. I''m getting a "uninitialized constant Mysql". I''ve searched,
but
2006 May 24
22
Components going out of style?
I see in the new Agile Rails 2nd edition that components are going out
of style?
Is this so? has anybody abandoned the idea of components for helpers?
Specifically I''m considering a menu sytem for a website that depends
heavily on the users permissions to decide which menu options a user
would need to see. I thought that components, since they have the logic
in the controller and