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 PokerRoom < ActiveRecord::Base | |
validates_presence_of :name | |
validates_uniqueness_of :name | |
has_many :poker_room_bonuses | |
has_one :poker_room_image, :dependent => :destroy | |
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
* Setting kernel variables (/etc/sysctl.d/10-process-security.conf)... | |
protect" is an unknown key | |
error: "vm.mmap_min_addr" is an unknown key | |
[fail] | |
* Activating swap... [ OK ] | |
* Checking root file system... | |
2008) | |
/dev/xvda contains a file system with errors, check forced. | |
/dev/xvda: Inodes that were part of a corrupted orphan linked list found. | |
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
oot@cyrus:~# fsck | |
fsck 1.41.3 (12-Oct-2008) | |
e2fsck 1.41.3 (12-Oct-2008) | |
/dev/xvda contains a file system with errors, check forced. | |
Pass 1: Checking inodes, blocks, and sizes | |
Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes | |
Inode 1595 was part of the orphaned inode list. FIXED. | |
Inode 2687 was part of the orphaned inode list. FIXED. | |
Inode 3474 was part of the orphaned inode list. FIXED. |
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 User < ActiveRecord::Base | |
has_attached_file :avatar, :styles => {:thumb => '100x100>'} | |
end | |
########### | |
class CreateUsers < ActiveRecord::Migration | |
def self.up | |
create_table :users do |t| | |
t.string :avatar_file_name |
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
rvm --trace gemset albinochipmunk | |
--trace gemset albinochipmunk | |
rvm 0.1.23 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/] | |
+ [[ -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ 2 -gt 0 ]] |
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
rvm list | |
rvm Rubies | |
ruby-1.8.7-p72 [ x86_64 ] | |
ruby-1.9.1-p378 [ x86_64 ] | |
System Ruby | |
system [ x86_64 i386 ppc ] |
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
# rails3.gems generated gem dump file. Note that any env variable settings will be missing. Append these after using a ';' field separator | |
tzinfo -v0.3.17 | |
builder -v2.1.2 | |
memcache-client -v1.8.1 | |
rack -v1.1.0 | |
rack-test -v0.5.3 | |
rack-mount -v0.6.1 | |
abstract -v1.0.0 | |
erubis -v2.6.5 | |
activesupport -v2.3.5 |
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
rvm list | |
rvm Rubies | |
ruby-1.8.7-p72 [ x86_64 ] | |
ruby-1.9.1-p378 [ x86_64 ] | |
System Ruby | |
system [ x86_64 i386 ppc ] |
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
diff rails3.gems rails3_deps_very_latest.gems | |
2c2 | |
< tzinfo -v0.3.16 | |
--- | |
> tzinfo -v0.3.17 | |
4c4 | |
< memcache-client -v1.7.8 | |
--- | |
> memcache-client -v1.8.1 | |
7c7 |
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
second gemset cannot be used (but can if close and re-open shell) | |
ruby-1.8.7-p72 ~ | |
rvm gemset list | |
gemsets : for ruby-1.8.7-p72 (found in /Users/chris/.rvm/gems/) | |
global | |
ruby-1.8.7-p72 ~ | |
rvm gemset create one | |
Gemset 'one' created. | |
ruby-1.8.7-p72 ~ |