s.ross
s.ross
I just don’t know that we ever put much into polymorphic columns. I’ll be honest: I don’t even have a current RubyMotion license, so I would not be in a...
Thanks for the contribution. It should be valuable. It would be great if there were a spec and a README entry. Any chance of doing that?
The README looks good. If you could add some examples to `spec/relation_spec.rb` that we can use to assure ourselves everything is working properly, that would be great. You have the...
This is really great. Also parallels the way Rails _can_ handle validations. Here are a couple of requests: - It would be good to make `proc`s work `:if -> (row)...
It looks like you are doing a send for the `:if` unless I've misunderstood your code. This is air-code below, but see if this handles the two cases. ``` ruby...
I just used `strong_password` as an example. You might want to validate that an address has a numeric zip code if it is in the US. So that might be...
I agree. That makes perfect sense. > On Nov 22, 2014, at 3:53 AM, Albert Viscasillas Campanyà [email protected] wrote: > > Sorry @sxross https://github.com/sxross, I was thinking on it and...
Please try removing `rake` from the `Gemfile`. See if that helps.
In what case are you expecting an invalid date? Aren't you using a date picker?
IIRC, you should be able to use `before_validation(sender)` for this. You may disagree with this approach, but take it out for a spin. ``` def before_validation(sender) !sender.create_date.nil? end ``` or...