The 4 byte limit is starting to wrap around; some complaints are being seen online, e.g. https://stackoverflow.com/questions/34477248/rails-paperclip-rangeerror/47999887#47999887 . Use `#sql_type` instead of `#type` in the tests. The `#type` is the category -- string, integer, datetime -- but the `#sql_type` is the storage specifics -- `TEXT`, `VARCHAR`, `BIGINT`, `DATE. Switch to the `#sql_type` so we can be sure it's being stored correctly.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
fixtures | Loading commit data... | |
matchers | Loading commit data... | |
assertions.rb | Loading commit data... | |
fake_model.rb | Loading commit data... | |
fake_rails.rb | Loading commit data... | |
mock_attachment.rb | Loading commit data... | |
mock_interpolator.rb | Loading commit data... | |
mock_url_generator_builder.rb | Loading commit data... | |
model_reconstruction.rb | Loading commit data... | |
reporting.rb | Loading commit data... | |
test_data.rb | Loading commit data... | |
version_helper.rb | Loading commit data... |