Justin Case
Justin Case
``` ruby class Post < ActiveRecord::Base has_many :comments default_scope -> { where(deleted_at: nil) } end class Comment < ActiveRecord::Base belongs_to :post, -> { unscope(where: :deleted_at) } end ``` Eager-loading an...
Subtracting the awakeme time from the current time is usually negative, causing the loop to continuously run at 1ms intervals.
I'd like to contribute a [Homebrew formula](https://github.com/mxcl/homebrew/wiki/Formula-Cookbook) for this module. Any chance you could create a 0.0.1 [?] release tag so I can point to a stable tarball?
Any thoughts on implementing tax rates for product groups? e.g. ``` JSONVAT.country('GB').rate(:ebooks) ``` I suspect most digital services will be taxed with standard rates. However, eBooks range from 3% to...