Displaying 2 results from an estimated 2 matches for "charlesalopez".
2010 Apr 15
2
Linux/Unix DNS question
While traveling, I found a motel with WiFi where Firefox and the DNS utilities,
nslookup and dig, worked as expected, but wget, termtter (a CLI Twitter
client), my Ruby on Rails applications, and several other programs could not
resolve any domain names (getaddrinfo error, from memory). If I plugged the
IP address obtained with nslookup into /etc/hosts, they worked as expected.
Could anyone
2010 Mar 04
25
how to share variables in data migrations (up/down)
hi there,
How do we share variables in a given data migration?
For example,
the code below fails to work because "statuses" don''t seem to be in
scope for both up and down.
class AddDefaultValuesToStatuses < ActiveRecord::Migration
statuses = [
{
''details'' => ''details'',
},
{