-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreenlog.0
More file actions
227 lines (191 loc) · 31.6 KB
/
screenlog.0
File metadata and controls
227 lines (191 loc) · 31.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
false
=> false
1.9.2-p330 :003 > false.shouldn[K_not
NoMethodError: undefined method `should_not' for false:FalseClass
from (irb):3
from /home/phoenix/.rvm/rubies/ruby-1.9.2-p330/bin/irb:12:in `<main>'
1.9.2-p330 :004 > [H[J1.9.2-p330 :004 > false.valid?
NoMethodError: undefined method `valid?' for false:FalseClass
from (irb):4
from /home/phoenix/.rvm/rubies/ruby-1.9.2-p330/bin/irb:12:in `<main>'
1.9.2-p330 :005 > [H[J1.9.2-p330 :005 > false.valid?[Kfalse.class
=> FalseClass
1.9.2-p330 :006 > False.clasee.[K[K[Kss[K.methods.f[Kgrep()/)/)?/)\?/)
NameError: uninitialized constant Object::False
from (irb):6
from /home/phoenix/.rvm/rubies/ruby-1.9.2-p330/bin/irb:12:in `<main>'
1.9.2-p330 :007 > False.class.methods.grep(/\?/)[1Pclass.methods.grep(/\?/)
NameError: uninitialized constant Object::Falseclass
from (irb):7
from /home/phoenix/.rvm/rubies/ruby-1.9.2-p330/bin/irb:12:in `<main>'
1.9.2-p330 :008 > [H[J1.9.2-p330 :008 > Falseclass.methods.grep(/\?/).class.methods.grep(/\?/)[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[19Pfalse.classvalid?[1Pclass
=> FalseClass
1.9.2-p330 :009 > false.classFalseclass.methods.grep(/\?/)[1Plass.methods.grep(/\?/)Class.methods.grep(/\?/)
=> [:include?, :const_defined?, :class_variable_defined?, :method_defined?, :public_method_defined?, :private_method_defined?, :protected_method_defined?, :autoload?, :nil?, :eql?, :tainted?, :untrusted?, :frozen?, :instance_variable_defined?, :instance_of?, :kind_of?, :is_a?, :respond_to?, :respond_to_missing?, :equal?]
1.9.2-p330 :010 > FalseClass.methods.grep(/\?/)v\?/)a\?/)l\?/)i\?/)d\?/)
=> []
1.9.2-p330 :011 > FalseClass.methods.grep(/valid\?/)[1P\?/)[1P\?/)[1P\?/)[1P\?/)[1P\?/)[H[J1.9.2-p330 :011 > FalseClass.methods.grep(/\?/)
=> [:include?, :const_defined?, :class_variable_defined?, :method_defined?, :public_method_defined?, :private_method_defined?, :protected_method_defined?, :autoload?, :nil?, :eql?, :tainted?, :untrusted?, :frozen?, :instance_variable_defined?, :instance_of?, :kind_of?, :is_a?, :respond_to?, :respond_to_missing?, :equal?]
1.9.2-p330 :012 >
1.9.2-p330 :013 > [H[J1.9.2-p330 :013 > FalseClass.methods.grep(/\?/)
=> [:include?, :const_defined?, :class_variable_defined?, :method_defined?, :public_method_defined?, :private_method_defined?, :protected_method_defined?, :autoload?, :nil?, :eql?, :tainted?, :untrusted?, :frozen?, :instance_variable_defined?, :instance_of?, :kind_of?, :is_a?, :respond_to?, :respond_to_missing?, :equal?]
1.9.2-p330 :014 > [H[J1.9.2-p330 :014 > rails[K[K[K[K[K
phoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ [H[Jphoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ rail M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K
[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K[K[K[29P(reverse-i-search)`':[Cr': irba': rails console --sandbox[1@i[C[C[C[1@l[C[C[C[1@s[C[C[Cphoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ railss console --sandboxM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
Loading development environment in sandbox (Rails 3.0.7)
Any modifications you make will be rolled back on exit
1.9.2-p330 :001 > User;[K.new(){)}):})n})a})m})e})=})>})[1P})>})"})"})P"})h"})o"})e"})n"})i"})x"})[C[1P"})[1P"})[1P"})[1P"})[1P"})[1P"})[1P"})[C,}):})e})m})a})i})l})=})>})"})"})a"})@"})a"})."})c"}) M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CaUser.new({:name=>"",:email=>"a@a.c"}))M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CaUser.new({:name=>"",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C=User.new({:name=>"",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C User.new({:name=>"",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CUser.new({:name=>"",:email=>"a@a.c"[1P})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CUser.new({:name=>"",:email=>"a@a.c"}[1P)M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C User.new({:name=>"",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C=User.new({:name=>"",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C User.new({:name=>"",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
=> #<User id: nil, name: "", email: "a@a.c", created_at: nil, updated_at: nil>
1.9.2-p330 :002 > [H[J1.9.2-p330 :002 > aa.inp[Kspect
=> "#<User id: nil, name: \"\", email: \"a@a.c\", created_at: nil, updated_at: nil>"
1.9.2-p330 :003 > aa.inspect[K[H[J1.9.2-p330 :003 > aa.valid?
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
=> false
1.9.2-p330 :004 > aa.valid?inspect = User.new({:name=>"",:email=>"a@a..c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C = User.new({:name=>"",:email=>"a@a.c[1P"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C = User.new({:name=>"",:email=>"a@a.c"[1P})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cb = User.new({:name=>"",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cb = User.new({:name=>"",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ca",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ca",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ca",:email=>"a@a.c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
[C
=> #<User id: nil, name: "aaa", email: "a@a.c", created_at: nil, updated_at: nil>
1.9.2-p330 :005 > [H[J1.9.2-p330 :005 > bb.valid?
=> true
1.9.2-p330 :006 > bb.valid?.should_not == true
NoMethodError: undefined method `should_not' for true:TrueClass
from (irb):6
from /home/phoenix/.rvm/gems/ruby-1.9.2-p330/gems/railties-3.0.7/lib/rails/commands/console.rb:44:in `start'
from /home/phoenix/.rvm/gems/ruby-1.9.2-p330/gems/railties-3.0.7/lib/rails/commands/console.rb:8:in `start'
from /home/phoenix/.rvm/gems/ruby-1.9.2-p330/gems/railties-3.0.7/lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
1.9.2-p330 :007 > bb.valid?.should_not == true[K = User.new({:name=>"aaa",:email=>"aa@a.c"})M[C[C[C[C[C[C[C[C[C[Caa.valid?[K
[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cinspect = User.new({:name=>"",:email=>"a@a..c"})M[C[C[C[C[C[C[C[C[C[C[C[C[C[8PFalseClass.methods.grep(/\?/)
[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cvalid\?/)[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cfalse.class[KFalseclass.methods.grep(/\?/).class.methods.grep(/\?/)[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[18Pfalse.valid?should_not[K.should_not[4Pvalid?False.class.methods.grep(/\?/)[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[1Pclass.methods.grep(/\?/)[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[18Pfalse.classFalseClass.methods.grep(/valid\?/)[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cfalse.class[KFalseclass.methods.grep(/\?/).class.methods.grep(/\?/)[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[18Pfalse.valid?should_not[K[K[K[K[K[K[H[J1.9.2-p330 :007 > [H[J1.9.2-p330 :007 > a={][K[K[K[Ktxtx[K= [K[K[K = "[K[K""a"[C*5
=> "aaaaa"
1.9.2-p330 :008 > [H[J1.9.2-p330 :008 > a.length
NameError: undefined local variable or method `a' for main:Object
from (irb):8
from /home/phoenix/.rvm/gems/ruby-1.9.2-p330/gems/railties-3.0.7/lib/rails/commands/console.rb:44:in `start'
from /home/phoenix/.rvm/gems/ruby-1.9.2-p330/gems/railties-3.0.7/lib/rails/commands/console.rb:8:in `start'
from /home/phoenix/.rvm/gems/ruby-1.9.2-p330/gems/railties-3.0.7/lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
1.9.2-p330 :009 > [H[J1.9.2-p330 :009 > a.lengthtxt = "a"*5[3Pa.length[Ktxt.lenf[Kght[K[Kth
=> 5
1.9.2-p330 :010 > [H[J1.9.2-p330 :010 > %w[]a]a] ]a]a]a] ]a]a]a]a]
=> ["aa", "aaa", "aaaa"]
1.9.2-p330 :011 > [H[J1.9.2-p330 :011 > User.new[K[K[K[K[K[K[K[K@att = {][K}:}n}o}m}=}>} }[1P}"}"},}:}e}m}a}i}l}=}>}"}"}a"}@"}a"}."}a"}[C[C[C[C[C[C[CP",:email=>"a@a.a"}h",:email=>"a@a.a"}o",:email=>"a@a.a"}e",:email=>"a@a.a"} M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cn",:email=>"a@a.a"}}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ci",:email=>"a@a.a"}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cx",:email=>"a@a.a"}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
=> {:nom=>"Phoenix", :email=>"a@a.a"}
1.9.2-p330 :012 > [H[J1.9.2-p330 :012 > @att.inspect
=> "{:nom=>\"Phoenix\", :email=>\"a@a.a\"}"
1.9.2-p330 :013 > [H[J1.9.2-p330 :013 > ph = User;[K.new)([K[K()@)a)t)t)
=> #<User id: nil, name: nil, email: "a@a.a", created_at: nil, updated_at: nil>
1.9.2-p330 :014 > ph = User.new(@att)[7P@att.inspect = {:nom=>"Phoenix",:email=>"a@a.aa"}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C=>"Phoenix",:email=>"a@a.a"[1P}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C=>"Phoenix",:email=>"a@a.a"}[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C=>"Phoenix",:email=>"a@a.a"} [KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cn=>"Phoenix",:email=>"a@a.a"}}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ca=>"Phoenix",:email=>"a@a.a"}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cm=>"Phoenix",:email=>"a@a.a"}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ce=>"Phoenix",:email=>"a@a.a"}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
=> {:name=>"Phoenix", :email=>"a@a.a"}
1.9.2-p330 :015 > [H[J1.9.2-p330 :015 > @att = {:name=>"Phoenix",:email=>"a@a..a"}M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[18Pph = User.new(@att)
[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[7P@att.inspectph = User.new(@att)
=> #<User id: nil, name: "Phoenix", email: "a@a.a", created_at: nil, updated_at: nil>
1.9.2-p330 :016 > [H[J1.9.2-p330 :016 > ph.n[Kinspect
=> "#<User id: nil, name: \"Phoenix\", email: \"a@a.a\", created_at: nil, updated_at: nil>"
1.9.2-p330 :017 > ph.inspect = User.new(@att)
=> #<User id: nil, name: "Phoenix", email: "a@a.a", created_at: nil, updated_at: nil>
1.9.2-p330 :018 > [H[J1.9.2-p330 :018 > User.new():)n)o)m)=)>)")")l")o")l")[C,):)e)m)a)i)l)=)>)")")a")@")a").")a") M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
=> #<User id: nil, name: nil, email: "a@a.a", created_at: nil, updated_at: nil>
1.9.2-p330 :019 > User.new(:nom=>"lol",:email=>"a@a.a") M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[1P=>"lol",:email=>"a@a.a")
[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[1P=>"lol",:email=>"a@a.a")a=>"lol",:email=>"a@a.a")m=>"lol",:email=>"a@a.a") M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ce=>"lol",:email=>"a@a.a"))M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
=> #<User id: nil, name: "lol", email: "a@a.a", created_at: nil, updated_at: nil>
1.9.2-p330 :020 > [H[J1.9.2-p330 :020 > User.new(:name=>"lol",:email=>"a@a.a"))M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K
[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CUser.new(:name=>"lol",:email=>"a@a.a"))M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CaUser.new(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C=User.new(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C User.new(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
=> #<User id: nil, name: "lol", email: "a@a.a", created_at: nil, updated_at: nil>
1.9.2-p330 :021 > [H[J1.9.2-p330 :021 > a= User.new(:name=>"lol",:email=>"a@a..a")
=> #<User id: nil, name: "lol", email: "a@a.a", created_at: nil, updated_at: nil>
1.9.2-p330 :022 > a= User.new(:name=>"lol",:email=>"a@a..a")
=> #<User id: nil, name: "lol", email: "a@a.a", created_at: nil, updated_at: nil>
1.9.2-p330 :023 > [H[J1.9.2-p330 :023 > a= User.new(:name=>"lol",:email=>"a@a..a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C(:name=>"lol",:email=>"a@a.a[1P")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C(:name=>"lol",:email=>"a@a.a"[1P)M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C(:name=>"lol",:email=>"a@a.a")[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cc(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cr(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ce(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ca(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ct(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ce(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C!(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CUser.create!(:name=>"lol",:email=>"a[1P@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[CUser.create!(:name=>"lol",:email=>"a@[1Pa.a")M[C[C[C[C[C[C[C[C[C[C[C[C[CUser.create!(:name=>"lol",:email=>"a@a[1P.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C
=> #<User id: 1, name: "lol", email: "a@a.a", created_at: "2016-03-02 17:15:48", updated_at: "2016-03-02 17:15:48">
1.9.2-p330 :024 > User.create!(:name=>"lol",:email=>"a@aa.a")M[C[C[C[C[C[C[C[C[C[C[C[C[Ca= User.new(:name=>"lol",:email=>"a@a.[1Pa")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CUser.new(:name=>"lol",:email=>"a@a.a[1P")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CUser.new(:name=>"lol",:email=>"a@a.a"[1P)M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[CUser.new(:name=>"lol",:email=>"a@a.a")[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
=> #<User id: nil, name: "lol", email: "a@a.a", created_at: nil, updated_at: nil>
1.9.2-p330 :025 > [H[J1.9.2-p330 :025 > User.new(:name=>"lol",:email=>"a@a.a"))M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ccreate!(:name=>"lol",:email=>"a@a.a")
=> #<User id: 2, name: "lol", email: "a@a.a", created_at: "2016-03-02 17:18:20", updated_at: "2016-03-02 17:18:20">
1.9.2-p330 :026 > User.create!(:name=>"lol",:email=>"a@aa.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cnew(:name=>"lol",:email=>"a@a.a")[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ccreate!(:name=>"lol",:email=>"a@a.a")M[C[C[C[C[C[C[C[C[C[C[C[C[C[K
[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[H[J1.9.2-p330 :026 > User.methods
=> [:_validators, :_accessible_attributes, :_active_authorizer, :original_table_name, :table_name, :original_primary_key, :primary_key, :original_locking_column, :locking_column, :logger, :logger=, :reset_subclasses, :subclasses, :subclasses_with_deprecation, :subclasses_without_deprecation, :configurations, :configurations=, :primary_key_prefix_type, :primary_key_prefix_type=, :table_name_prefix?, :table_name_prefix=, :table_name_prefix, :table_name_suffix?, :table_name_suffix=, :table_name_suffix, :pluralize_table_names, :pluralize_table_names=, :default_timezone, :default_timezone=, :schema_format, :schema_format=, :timestamped_migrations, :timestamped_migrations=, :_store_full_sti_class=, :store_full_sti_class, :store_full_sti_class?, :store_full_sti_class=, :_store_full_sti_class, :default_scoping, :default_scoping=, :colorize_logging, :colorize_logging=, :find, :first, :last, :all, :exists?, :any?, :many?, :destroy, :destroy_all, :delete, :delete_all, :update, :update_all, :find_each, :find_in_batches, :select, :group, :order, :reorder, :except, :limit, :offset, :joins, :where, :preload, :eager_load, :includes, :from, :lock, :readonly, :having, :create_with, :count, :average, :minimum, :maximum, :sum, :calculate, :find_by_sql, :create, :count_by_sql, :attr_readonly, :readonly_attributes, :serialize, :serialized_attributes, :quoted_table_name, :reset_table_name, :full_table_name_prefix, :inheritance_column, :sequence_name, :reset_sequence_name, :set_table_name, :table_name=, :set_inheritance_column, :inheritance_column=, :set_sequence_name, :sequence_name=, :table_exists?, :columns, :columns_hash, :column_names, :content_columns, :column_methods_hash, :reset_column_information, :reset_column_information_and_inheritable_attributes_for_all_subclasses, :attribute_method?, :lookup_ancestors, :i18n_scope, :descends_from_active_record?, :finder_needs_type_condition?, :inspect, :quote_value, :sanitize, :===, :base_class, :abstract_class, :abstract_class=, :abstract_class?, :respond_to?, :sti_name, :arel_table, :arel_engine, :unscoped, :scoped_methods, :before_remove_const, :with_scope, :with_exclusive_scope, :default_scope, :current_scoped_methods, :reset_scoped_methods, :compute_type, :class_of_active_record_descendant, :sanitize_sql_for_conditions, :sanitize_sql, :sanitize_sql_for_assignment, :aggregate_mapping, :expand_hash_conditions_for_aggregates, :sanitize_sql_hash_for_conditions, :sanitize_sql_hash, :sanitize_sql_hash_for_assignment, :sanitize_sql_array, :sanitize_conditions, :replace_bind_variables, :replace_named_bind_variables, :expand_range_bind_variables, :quote_bound_value, :raise_if_bind_arity_mismatch, :encode_quoted_value, :attributes_protected_by_default, :_validate_callbacks, :_validators?, :_validators=, :lock_optimistically, :lock_optimistically=, :locking_column=, :attribute_types_cached_by_default, :attribute_types_cached_by_default=, :time_zone_aware_attributes, :time_zone_aware_attributes=, :skip_time_zone_conversion_for_attributes, :skip_time_zone_conversion_for_attributes=, :_partial_updates=, :partial_updates, :partial_updates?, :partial_updates=, :_partial_updates, :_accessible_attributes?, :_accessible_attributes=, :_protected_attributes, :_protected_attributes?, :_protected_attributes=, :_active_authorizer?, :_active_authorizer=, :record_timestamps, :record_timestamps=, :_validation_callbacks, :_initialize_callbacks, :after_initialize, :_find_callbacks, :after_find, :_touch_callbacks, :after_touch, :_save_callbacks, :before_save, :around_save, :after_save, :_create_callbacks, :before_create, :around_create, :after_create, :_update_callbacks, :before_update, :around_update, :after_update, :_destroy_callbacks, :before_destroy, :around_destroy, :after_destroy, :nested_attributes_options, :nested_attributes_options=, :include_root_in_json?, :include_root_in_json=, :include_root_in_json, :_commit_callbacks, :_rollback_callbacks, :connection_handler?, :connection_handler=, :connection_handler, :establish_connection, :connection, :connection_pool, :retrieve_connection, :connected?, :remove_connection, :clear_active_connections!, :clear_reloadable_connections!, :clear_all_connections!, :verify_active_connections!, :sqlite3_connection, :composed_of, :transaction, :after_commit, :after_rollback, :create_reflection, :reflections, :reflect_on_all_aggregations, :reflect_on_aggregation, :reflect_on_all_associations, :reflect_on_association, :reflect_on_all_autosave_associations, :has_one, :belongs_to, :has_many, :has_and_belongs_to_many, :accepts_nested_attributes_for, :valid_keys_for_has_many_association, :valid_keys_for_has_many_association=, :valid_keys_for_has_one_association, :valid_keys_for_has_one_association=, :valid_keys_for_belongs_to_association, :valid_keys_for_belongs_to_association=, :valid_keys_for_has_and_belongs_to_many_association, :valid_keys_for_has_and_belongs_to_many_association=, :preload_associations, :scoped, :scopes, :scope, :named_scope, :valid_scope_name?, :before_validation, :after_validation, :before_validation_on_create, :before_validation_on_update, :after_validation_on_create, :after_validation_on_update, :define_model_callbacks, :_define_before_model_callback, :_define_around_model_callback, :_define_after_model_callback, :method_added, :observers=, :observers, :instantiate_observers, :add_observer, :notify_observers, :count_observers, :instantiate_observer, :inherited, :attr_protected, :attr_accessible, :protected_attributes, :accessible_attributes, :active_authorizer, :define_method_attribute, :define_method_attribute=, :quoted_primary_key, :reset_primary_key, :get_primary_key, :set_primary_key, :primary_key=, :cache_attributes, :cached_attributes, :cache_attribute?, :define_attribute_methods, :instance_method_already_implemented?, :defined_activerecord_methods, :define_attr_method, :attribute_method_prefix, :attribute_method_suffix, :attribute_method_affix, :alias_attribute, :undefine_attribute_methods, :generated_attribute_methods, :attribute_methods_generated?, :locking_enabled?, :set_locking_column, :quoted_locking_column, :reset_locking_column, :update_counters, :reset_counters, :increment_counter, :decrement_counter, :create!, :validates_associated, :validates_uniqueness_of, :validates_acceptance_of, :validates_confirmation_of, :validates_exclusion_of, :validates_format_of, :validates_inclusion_of, :validates_length_of, :validates_size_of, :validates_numericality_of, :validates_presence_of, :human_attribute_name, :human_name, :validates_each, :validate, :validate_on_create, :validate_on_update, :validators, :validators_on, :validates, :_parse_validates_options, :validates_with, :__define_runner, :__create_keyed_callback, :__update_callbacks, :set_callback, :skip_callback, :reset_callbacks, :define_callbacks, :direct_descendants, :descendants, :benchmark, :silence, :cache, :uncached, :model_name, :yaml_tag_subclasses?, :allocate, :new, :superclass, :cattr_reader, :cattr_writer, :cattr_accessor, :to_yaml, :duplicable?, :class_inheritable_reader, :class_inheritable_writer, :class_inheritable_array_writer, :class_inheritable_hash_writer, :class_inheritable_accessor, :class_inheritable_array, :class_inheritable_hash, :inheritable_attributes, :write_inheritable_attribute, :write_inheritable_array, :write_inheritable_hash, :read_inheritable_attribute, :reset_inheritable_attributes, :extlib_inheritable_reader, :extlib_inheritable_writer, :extlib_inheritable_accessor, :class_attribute, :superclass_delegating_accessor, :json_creatable?, :freeze, :==, :<=>, :<, :<=, :>, :>=, :to_s, :included_modules, :include?, :name, :ancestors, :instance_methods, :public_instance_methods, :protected_instance_methods, :private_instance_methods, :constants, :const_get, :const_set, :const_defined?, :class_variables, :remove_class_variable, :class_variable_get, :class_variable_set, :class_variable_defined?, :module_exec, :class_exec, :module_eval, :class_eval, :method_defined?, :public_method_defined?, :private_method_defined?, :protected_method_defined?, :public_class_method, :private_class_method, :autoload, :autoload?, :instance_method, :public_instance_method, :remove_possible_method, :redefine_method, :delegate, :deprecate, :alias_method_chain, :syck_yaml_as, :yaml_as, :yaml_tag_class_name, :yaml_tag_read_class, :mattr_reader, :mattr_writer, :mattr_accessor, :instance_method_names, :method_names, :attr_internal_reader, :attr_internal_writer, :attr_internal_accessor, :attr_internal, :anonymous?, :reachable?, :rake_extension, :rake_original_const_missing, :parent_name, :parent, :parents, :local_constants, :local_constant_names, :attr_accessor_with_default, :synchronize, :pretty_print_cycle, :pretty_print, :const_missing, :unloadable, :taguri=, :taguri, :to_yaml_style, :to_yaml_properties, :syck_to_yaml, :blank?, :present?, :presence, :acts_like?, :try, :html_safe?, :`, :returning, :to_param, :to_query, :instance_values, :instance_variable_names, :copy_instance_variables_from, :to_json, :with_options, :as_json, :pretty_print_instance_variables, :pretty_print_inspect, :require_or_load, :require_dependency, :require_association, :load_dependency, :load, :require, :nil?, :=~, :!~, :eql?, :hash, :class, :singleton_class, :clone, :dup, :initialize_dup, :initialize_clone, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :instance_of?, :kind_of?, :is_a?, :tap, :send, :public_send, :respond_to_missing?, :extend, :display, :method, :public_method, :define_singleton_method, :__id__, :object_id, :to_enum, :enum_for, :gem, :silence_warnings, :enable_warnings, :with_warnings, :silence_stderr, :silence_stream, :suppress, :require_library_or_gem, :debugger, :breakpoint, :suppress_warnings, :pretty_inspect, :equal?, :!, :!=, :instance_eval, :instance_exec, :__send__]
1.9.2-p330 :027 > User.methods[K[H[J1.9.2-p330 :027 > ""[C.methods.grep()/)/)d/)o/)w/)n/)
=> [:downcase, :downcase!]
1.9.2-p330 :028 > [H[J1.9.2-p330 :028 > @attr[K[K[K[K[K@holder= =[K[K[K = {},}[1P}:}n}a}m}e}=}>}"}"}P"}j"}h"}e"}[1P"}[1P"}[1P"}h"}e"}[1P"}o"}e"}n"}i"}x"}[C,}:}e}m}a}i}l}=}>} M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C"}}"}a"}@"}a"}."}c"}o"}[1P"}
=> {:name=>"Phoenix", :email=>"a@a.c"}
1.9.2-p330 :029 > [H[J1.9.2-p330 :029 > down = @holder = {:name=>"Phoenix",:email=>"aa@a.c"}M[C[C[C[C[C[C[C[C[C[C[Cdown = [K
[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C@holder][K[]:]e]m]a]i]l][C.downcase
=> "a@a.c"
1.9.2-p330 :030 > [H[J1.9.2-p330 :030 > Usee.[K[Kr.create!()@)h)o)l)d)e)e)[1P)r)[C[C[C[C[C[C[C[C.)m)e)r)g)e)()[C):))e))m))a))i))l))=))>)) M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cd)))M[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Co))w))n))
=> #<User id: 3, name: "Phoenix", email: "a@a.c", created_at: "2016-03-02 17:28:10", updated_at: "2016-03-02 17:28:10">
1.9.2-p330 :031 > [H[J1.9.2-p330 :031 > duplicate = User;n[K[K.new()@)a)t)t)r)[C[C[C[C[1P)[1P)[1P)[1P)h)o)l)d)e)r)
=> #<User id: nil, name: "Phoenix", email: "a@a.c", created_at: nil, updated_at: nil>
1.9.2-p330 :032 > use[K[K[Kduplicates[K.calid?[K[K[K[K[K[Kvalid?
=> true
1.9.2-p330 :033 > [H[J1.9.2-p330 :033 > duplicate.valid?
=> true
1.9.2-p330 :034 >
phoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ railss console --sandboxM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K
[KM[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
phoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ [H[Jphoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ rail s console
Loading development environment (Rails 3.0.7)
1.9.2-p330 :001 > [H[J1.9.2-p330 :001 > Rails.env
=> "development"
1.9.2-p330 :002 > [H[J1.9.2-p330 :002 > Rails.env.developement?
=> false
1.9.2-p330 :003 > Rails.env.developement?[1P?[1P?[1P?[1P?[1P?[1P?[1P?[1P?[1P?[1P?[1P?[1P?t?e?s?t?
=> false
1.9.2-p330 :004 > Terminated
phoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ [H[Jphoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ [Kphoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ [H[Jphoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ [Kphoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$ ls
[0m[01;34mapp[0m Gemfile Rakefile [01;34mtest[0m
[01;34mconfig[0m Gemfile.lock README.markdown [01;34mtmp[0m
config.ru [01;34mlib[0m screenlog.0 [01;34mvendor[0m
[01;34mdb[0m [01;34mlog[0m [01;34mscript[0m
[01;34mdoc[0m [01;34mpublic[0m [01;34mspec[0m
phoenix@robot:~/workspace/Rouineb_Hamza/bootstrap$
Broadcast message from phoenix@robot
(/dev/pts/28) at 18:10 ...
The system is going down for reboot NOW!