Displaying 2 results from an estimated 2 matches for "mydb_test".
2007 Oct 15
3
Spec::Rails::DSL::HelperEvalContextController: missing defau
...elper
[4;36;1mSQL (0.000138) [0;1mSET SQL_AUTO_IS_NULL=0
[4;35;1mSQL (0.000095) BEGIN
[4;36;1mSite Columns (0.003708) [0;1mSHOW FIELDS FROM
sites
[4;35;1mSQL (0.000174) ROLLBACK
Here is the portion for the test database from the database.yml file:
test:
adapter: mysql
database: mydb_test
username: root
password:
socket: /tmp/mysql.sock
I have run the rake tmp:clear command (was mentioned by someone else
with this same problem)
Thanks for the help.
--
Posted via http://www.ruby-forum.com/.
2007 Nov 07
5
Unexplainable failure...at least for me
I have an address model with country_id and province_id fields
There is also a full_address method that returns an address that is in a
format that the google maps api will be able to return a long-lat
coords.
Within the full_address method there is a call to obtain the
province/state and country name.
---------
def full_address
...
full_address = [city, self.province.name,