This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CitizenshipStatus | |
include Processor | |
def process_field(value) | |
AlienStatus.find_code( value ) | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'ostruct' | |
class Instrument < OpenStruct | |
def self.instruments_array | |
InstrumentsCSVReader.get_from_file | |
end | |
def self.all | |
@all ||= instruments_array.map { |n| new(n) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Seed | |
class CourseRequirement < OpenStruct | |
include Gardener | |
def self.destroyable? | |
true | |
end | |
def attributes | |
{ coming_soon: coming_soon } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install postgres | |
==> Downloading http://ftp.postgresql.org/pub/source/v9.2.2/postgresql-9.2.2.tar.bz2 | |
Already downloaded: /Users/rainyglade/Library/Caches/Homebrew/postgresql-9.2.2.tar.bz2 | |
/usr/bin/tar xf /Users/rainyglade/Library/Caches/Homebrew/postgresql-9.2.2.tar.bz2 | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file src/pl/plpython/Makefile | |
patching file contrib/uuid-ossp/uuid-ossp.c | |
==> ./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.2.2 --datadir=/usr/local/Cellar/postgresql/9.2.2/share/postgresql --docdir=/usr/local/Cellar/postgresql/9.2.2/share/doc/postgresql --enable-thread-safety --with-bonjour --with-gssapi --with-krb5 --with-openssl --with-libxml --with-libxslt --with-ossp-uuid --with-python --with-perl ARCHFLAGS='-arch x86_64' | |
./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.2.2 --datadir=/usr/local/Cellar/postgresql/9.2.2/share/postgresql --docdir=/usr/local/Cellar/postgresql/9.2.2/share/doc/postgresql |
NewerOlder