Displaying 5 results from an estimated 5 matches for "db_test".
Did you mean:
b_test
2006 Feb 13
8
postgres and rake
...ships with
> the PostgreSQL distribution and can also be found online.
----
seeing as how the above line seems to me to be exactly like the page
that you just referred me to, I have included some clips of my terminal
transactions because quite clearly I am too stupid to understand this...
th-db_test=> ALTER SCHEMA "public" OWNER TO tobyhouse;
ERROR: syntax error at or near "OWNER" at character 23
th-db_test=> ALTER SCHEMA public OWNER TO tobyhouse;
ERROR: syntax error at or near "OWNER" at character 21
# rpm -q postgresql-server
postgresql-server-7.4.8-1...
2008 Apr 05
3
MySQL Unit Test Login Failure
...abase.yml file is configured to use the ODBC login, but it''s not
being passed to my unit tests. Any ideas?
development:
adapter: mysql
encoding: utf8
database: db_development
username: ODBC
password:
socket: /tmp/mysql.sock
test:
adapter: mysql
encoding: utf8
database: db_test
username: ODBC
password:
socket: /tmp/mysql.sock
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email...
2006 Feb 08
8
Strategies for Unit testing 2 databases
Hi,
My application spans 2 (or more) databases for some very specific
reasons... My models are working fine, even dynamically establishing
connections as needed at runtime, and spanning relationships across the
databases (which really impressed me). The problem is, I can''t seem to
force Units for these models (that use a secondary db) to load their
fixtures into and use the
2006 Jan 22
2
a newbie doomed in the first introduction to ruby.
Hello,
I have bought the Dave Thomas Agile Developtment with Rails. (I have
previously bought and read his Programming with Ruby book)
On my winxp sp2 system ruby 1.8.15 (one click installer), rails
1.0framework (with ruby gems) and mysql
5.0 are installed.
While following the example stated in the Chapter Building an Application I
had following problem.
After creating databases for test,
2006 Jan 22
2
a newbie doomed in the first introduction to rails.
...and password.
>
> authentication: &authentication
> adapter: mysql
> host: host_name_here
> username: user_name_here
> password: mysql_password_here
>
> development:
> database: db_development
> <<: *authentication
>
> test:
> database: db_test
> <<: *authentication
>
> production:
> database: db_production
> <<: *authentication
>
> On 1/21/06, John McGrath <jmcgrath@whoi.edu> wrote:
>
> > sounds like a mysql issue. can you connect to the dbs as the users you
> > have configured...