search for: rails_develop

Displaying 5 results from an estimated 5 matches for "rails_develop".

2006 Jan 23
4
Proposal: Deprecate ADO support in the SQL Server adapter
The SQL Server adapter can currently operate in two modes, ADO and ODBC, each of which uses a different interface to access the db. The ADO interface is currently the default, while ODBC can be specified as an option. I propose this situation is reversed, and that use of the ADO interface is deprecated, if not removed altogether. Here are some reasons, I'm sure there are more: a) ADO uses
2005 Jan 07
3
ruby on cygwin and mysql - problem connecting to db
...the unix socket thingie works on window at any rate). If I fire up cmd.exe or cygwin and start mysql from command line it connects via tcp/ip. So both of those connection methods are working. Now, on to database.yml: Here is what I have currently. development: adapter: mysql database: rails_development host: localhost username: username password: password socket: /tmp/mysql.sock With mysql.sock in its new home, I''ve tried no socket entry (default setting, correct?) and setting socket to c:/cygwin/tmp/mysql.sock, c:\cygwin\tmp\mysql.sock, and /cygdrive/c/cygwin/tmp/mysq...
2006 Aug 15
6
try creating a table for your model
...I run this command line... ruby script/generate ajax_scaffold Inventory ...and I get this error message: error Before updating scaffolding from new DB schema, try creating a table for your model (Inventory) So I read log/development.log, and it contains this: Error: Table ''rails_development.inventories'' doesn''t exist The system is inexplicably pluralizing my table name. Am I using the system wrong, or is this a false "feature"? Can I fix it by adding a view called ''inventories''? Or must I rename the table? And how, in general, can R...
2008 Sep 13
4
Setting up RoR with Postgresql ---heeellpp!
...at?) my database.yml looks like this: production: adapter: ruby-postgres database: rails_production username: postgres password: myPassword test: adapter: ruby-postgres database: rails_test username: postgres password: myPassword development: adapter: ruby-postgres database: rails_development username: postgres password: myPassword When I created my rails app, I put a flag -d postgresql I have installed different database adapters (ruby-postgres, activerecord-jdbcpostgresql-adapter, postgres-pr). I''ve tried writing adapter: postgresql in the .yml file. But when I tr...
2006 May 02
17
Tests just deleted my production Database!!! PLEASE HELP
Running the functional tests has deleted the data in my production database!!! please help!! Using rails 1.1.1 + Oracle. This is my database.yml file : development: adapter: oci host: "V2:1521/TIM" username: salt password: oracle1 test: adapter: oci host: "V2:1521/TIM" username: rectest password: oracletest production: adapter: oci host: