Ricardo Amorim

Results 2 issues of Ricardo Amorim

In `db/schema.rb`: ``` t.string "state", default: "active", null: false ``` I would expect that: `Foo.new.state` to be `active`. But without setting `initial: :active` in the state machine definition, it sets...

Env: ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux] rubyzip 1.1.2 Testing with: ``` ruby input = Zip::File.open(file).first.get_input_stream output = Tempfile.new(self.name) while not input.eof? do line = input.readline.strip # ... end ```...