Displaying 20 results from an estimated 3000 matches similar to: "database.yml, what to change?"
2008 Apr 22
3
Installed Rails, problem with 1st Application
so i installed ruby+gems then fetched rails and now i want to start
with an apllication but i dont quite get it:
"""
http://www.rubyonrails.org/down
Make your application
Create your application skeleton and start the server:
rails path/to/your/new/application
cd path/to/your/new/application
ruby script/server
You''re running Ruby on Rails! Follow the instructions on
2006 Jul 21
3
Plain text passwords in database.yml
Hi All,
It is our corporate security policy to not leave plain text passwords
in text files (such as database.yml).
I would like to to roll out a Rails application, but would like to
find another way to connect to MySQL without leaving plain text
passwords in database.yml
Any thoughts?
Thanks,
Brian Long
2006 Oct 16
3
backgroundrb.yml not generated
I''m trying to do the tutorial at http://www.infoq.com/articles/BackgrounDRb. A little more than half-way through it says "Upon instalation, the plugin writes a config file into RAILS_ROOT/config/backgroundrb.yml." It didn''t happen for me.
I installed the plugin with:
ruby script\plugin install svn:\\rubyforge.org//var/svn/backgroundrb
It added a bunch of files,
2006 Apr 26
3
problem with database.yml moving from 0.13.0 to 0.14.4
Hi,
I''m upgrading from 0.13.0 to 0.14.4, and I''m having trouble with my database
authentication. Even though the entries in my database.yml are correct, I
get the
following message when trying to do a ruby script/generate scaffold
myClass...
Access denied for user: ''@localhost to database ''''
Why is the username and database name showing up as
2008 Apr 02
1
Specifying environment in backgroundrb.yml
It seems that regardless of what environment I specify in my
backgroundrb.yml file, it always uses development mode unless I pass
"-e production" to the "script/backgroundrb start" command.
>From looking at bdrb_config.rb, it looks like immediately after
loading the config file it assigns whatever was passed on the command
line (which defaults to development if nothing is
2010 Jan 30
1
RoR & YML
In
ruby\lib\ruby\gems\1.8\gems\actionpack-2.3.5\lib\action_view\locale\en.yml
I see
activerecord:
errors:
template:
header:
one: "1 error prohibited this {{model}} from being saved"
other: "{{count}} errors prohibited this {{model}} from being
saved"
# The variable :count is also available
Where does "model" come
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone,
What are other people doing with regards to database.yml being in
version control? My dilema:
I set up my rails app in svn using these instructions:
http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion
The part to note is where I ignore database.yml, allowing different
developers to keep their own database.yml without clobbering other
developers'' files.
2019 Jul 14
0
.travis.yml ... most likely included in error
Hi Spencer,
To get rid of the .travis.yml note add a .Rbuildignore file with this line:
^\.travis\.yml$
This will exclude the file from the build.
The build is failing because of a warning. As noted in the log, Travis is
treating a warning as an error:
Found warnings, treating as errors
It's a bit hard to find the warning in the logs because of all the pdfTeX
output but it's a warning
2006 Mar 30
2
database.yml and Dreamhost
I am unable to connect to my databases.
Here is the error I am getting:
MysqlError (Can''t connect to local MySQL server through socket
''/var/run/mysqld/mysqld.sock'' (2)):
Here is my database.yml:
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Get the fast C bindings:
# gem install mysql
# (on OS X: gem install mysql --
2006 Mar 05
1
encoding: utf8 in database.yml causes error
Hi
Using ruby 1.8, rails 1.0, mysql 4.1.11
in database.yml:
adapter: mysql
encoding: utf8
database: myproject_development
username: user
password: password
socket: /var/run/mysqld/mysqld.sock
but when I start the error I get:
Can''t initialize character set utf8 (path: /usr/share/libmysqlclient/charsets/)
Can anyone tell me what file it''s looking for, and how I
2006 Jan 11
1
access value set in config/database.yml
Hi all I trying to access from my controller the host, database, user,
password that being set in database.yml in the config directory. Anyone has
any idea?
2006 Oct 18
0
database.yml, postgresql and pgpass.conf conflicts
Hi,
I noticed that, on Windows at least, if I have a password set in the
database.yml file for a database that I also have in my pgpass.conf
file, the Rails adapter will die with a password authentication error.
I don''t seem to have this issue on Unix systems.
It''s simple enough to solve - just comment out the password info in the
database.yml file. I just wondered if there
2006 Dec 24
1
How to get database.yml configuration to use it in a rake taks
Hello,
I want to get the production environment configuration from the
database.yml in the /shared folder of a deployed rails application. I
could use scp to get the file, write it to temporary file, read it and
open it with YAML, but is there a better way to do this?
Best regards,
--
AnĂbal Rojas
http://www.rubycorner.com
http://www.hasmanydevelopers.com
2006 Sep 06
1
Need to override database.yml settings for Capistrano run
All,
Database: SQL Server 2000
SQLServer adapter in ODBC mode
I have a Capistrano deploy script which fails when I run against my
production DB.
Apparently, this is the because the user that is set up for production
has "guest" privileges in my SQL Server database and when Capistrano
runs, instead of looking at the dbo.schema_info table (which has the
correct version # - yes I
2008 May 05
0
Changing ActiveRecord serialize format to XML instead of YML
Hello,
So far, ActiveRecord serialize is working great for me to save
arbitrary data.
I would like to know if there is a way to change the format of
ActiveRecord serialize to XML instead of YML.
I like the readability of YML, but I need to search serialized fields
in the database.
So, it would make sense to use XML because most database vendors
supports XML value extraction, e.g,. ExtractValue
2011 Mar 31
1
Question about setting database config without database.yml
A little background.
We are deploying a rails app on jboss by using warbler and the app is
using rails 3.0.3.
There are several parameters the customer may need to change. Some of
these parameters include database connection information, ie shema,
username, password, host, port, and database. We are connecting
through oracle thorugh the jdbc adapter.
My problem lies in the fact that I cannot
2019 Jul 14
2
.travis.yml ... most likely included in error
Hello:
????? Suggestions for whomever maintains "R CMD":
??? ??????? 1.? Can you change it so it doesn't complain about the
presence of ".travis.yml", at least on GitHub?
??? ??????? 2.? What do you suggest people do to find error messages in
the output?? I ask, because I'm getting "build failing" from
travis-ci.org, but I can't see what failed
2006 Sep 15
2
unable to figure out how to get backgroundrb.yml to be used when starting backgroundrb
i ran rake backgroundrb:setup and modified the default
config/backgroundrb.yml file as:
---
port: "22223"
timer_sleep: 60
load_rails: true
environment: production
host: localhost
database_yml: config/database.yml
acl:
deny: all
allow: localhost 127.0.0.1
order: deny,allow
and my database.yml
production:
adapter: mysql
database: chip2_production
username: xxxxx
password:
2008 May 06
3
Capistrano: chmod 600 database.yml
Would it be wise to chmod 600 your database.yml file using Capistrano
when deploying seeing as it contains your mysql db in plain text?
~ Mark
--
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 to
2006 May 19
1
database.yml and encoding: utf8 -> mysql error
I have Rails 1.1, MySql 5.0 and would like to stor text as utf8 in the
db.
I have changed the character set and collation in the db to utf8 and
utf8_danish_ci - also checked the mysql to if its ok:
show collations like "%danish%";
utf8_danish_ci utf8 203 Yes 8
I then add the following
environment.rb:
$KCODE = ''u''
require ''jcode''
och database.yml