This clears up everything :-)
I do have the free chapter, and am subscribed to his weekly emails. I just
need to take the time to sit down and read everything. His blog posts are
very helpful though.
Again, thank you for the help!! :D
On Friday, September 18, 2015 at 9:36:31 AM UTC-4, tamouse
On Thu, Sep 17, 2015 at 2:44 PM, Hunter Stevens wrote:
> The docs I was referring to were Rails Guides, which I take for
> granted as THE docs. Thank you for the appropriate link!
The Guides are great, but definitely not all the documentation! :) The
api documentation is probably more vital to un
Thank you, I did not think of including `greater_than: 0` in the
validations!
The docs I was referring to were Rails Guides, which I take for granted as
THE docs. Thank you for the appropriate link!
Finally, just to clarify (because I want to make sure I understand):
1. The database allows NUL
On Wed, Sep 16, 2015 at 9:54 AM, Hunter Stevens wrote:
> Hello. I know the title may be broad, but I am not sure how else to put it.
>
> I am writing a model, in which the attribute "number_of_extensions" needs
> 2 things:
> 1. It is required for this model
> 2. It must be a whole, positive numbe
Hello. I know the title may be broad, but I am not sure how else to put it.
I am writing a model, in which the attribute "number_of_extensions" needs 2
things:
1. It is required for this model
2. It must be a whole, positive number
I know I can do this simply by
validates :number_of_extensions,
5 matches
Mail list logo