Clone or download
perezperret and paulcsmith Add Float64::Lucky.parse(value : PG::Numeric) overload (#297)
This is to allow for Float64? (optional) model fields
Latest commit 7792e2b Oct 16, 2018

README.md

LuckyRecord

This project is still new. Guides will be posted when things are more complete.

Installation

Add this to your application's shard.yml:

dependencies:
  lucky_record:
    github: luckyframework/lucky_record

Usage

require "lucky_record"

Contributing

  1. Fork it ( https://github.com/luckyframework/lucky_record/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Make your changes
  4. Run ./bin/test to run the specs, build shards, and check formatting
  5. Commit your changes (git commit -am 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create a new Pull Request

Testing

To run the tests:

  • Install Postgres: (macOS/Others)
  • Migrate the database using crystal tasks.cr db.reset
  • Run the tests with crystal spec

Contributors