bastiaanterhorst/rich — pull request #137 by mackermedia (2014-01-21 22:31:10+00:00)
Title: Updates scope syntax to avoid deprecation warnings in Rails 4.

Was getting deprecation warnings on a Rails 4 project because of scope syntax used. This update removes those.

Example deprecation warning:
```
DEPRECATION WARNING: Using #scope without passing a callable object is deprecated. For example `scope :red, where(color: 'red')` should be changed to `scope :red, -> { where(color: 'red') }`. There are numerous gotchas in the former usage and it makes the implementation more complicated and buggy. (If you prefer, you can just define a class method named `self.red`.). (called from at /my_user/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/rich-1ab79e111a4c/app/models/rich/rich_file.rb:8)
```