Commit Graph
2 Commits
Author SHA1 Message Date
Jesse O'Brien 1be274caa6 Change update function so it uses timestamp like save
Calling update() on an eloquent model has no way of overriding
the timestamp that should be set if $timestamps is set on the
model. This changes that so it uses the timestamp() function
which is an easy way to over ride the type of timestamps used.
2012-07-04 15:46:12 -04:00
Jesse O'Brien 67ac2f2f9a Default was never returned. If no IP was found it returns NULL.
While unit testing I found that providing a default IP address to
Request::ip() returns NULL in a CLI environment.
2012-06-06 15:10:06 -04:00