Oleksii Fedorov

Results 5 issues of Oleksii Fedorov

- unless it is done in irb/pry

bunnyslope

- unless it is done in irb/pry

enhancement

You can define `inherited` hook on base controller. Example: http://play.crystal-lang.org/#/r/7kn all the hooks can be found in this spec: https://github.com/manastech/crystal/blob/119ccc89065165bc937b3417e5ac2af2bab6e056/spec/compiler/codegen/hooks_spec.cr

ie: in config: ``` ruby config.active_record.without_mysql_lock_by_default = true ``` in migration: ``` ruby with_lock do # ... alter table commands ... end ``` all migration that are not run inside...

``` ruby class Viking include Contracts Contract None => User attr_reader :user Contract None => Hat attr_reader :hat end ``` fails with: ``` [error]: NoMethodError: undefined method `type' for nil:NilClass...