BACKTRACE

(condense)

Back to Posts List

GET

Connection Options

i found a way to get the connection parameters (other than reading database.yml) of the current database connection.

  1. def connection_hash  
  2.   ActiveRecord::Base.connection.instance_variable_get(:@config_options)  
  3. end  

POST

blog comments powered by Disqus

I Don't have cookies.

ELAD ENV

Variable Value
LINKEDIN
TWITTER
FACEBOOK
GITHUB
WWR
IRC
{ 'irc.freenode.net' => [ '#rubyonrails', '#railsbridge', '#ruby', '#mootools' ]}
SKYPE
eladmeidar

You're seeing this error because I think it is funny.