state.code and country.code aren't nil-safe
-
Marnen Laibow-Koser
Since User (and Event!) is composed_of Address, this will probably be easiest to attack if we take care of this in Address, then make User#state and Event#state delegate to Address#state.
-
Marnen Laibow-Koser
Almost working. But we need to unify the handling of coordinates in User and Event.
-
Marnen Laibow-Koser
- State changed from open to hold
Created a ticket (#43) for coords handling. Putting this ticket on hold till we deal with #43 Unify handling of coords in User and Event..
-
Marnen Laibow-Koser
- State changed from hold to open
Reopening now that #43 Unify handling of coords in User and Event. is done.
-
Marnen Laibow-Koser
(from [dcf5d67a5b69e33648edebb7655486732f39f9d1]) Introduce QuietNil class for when we really don't care about chained methods. [#41 state.code and country.code aren't nil-safe] http://github.com/marnen/quorum2/commit/dcf5d67a5b69e33648edebb7655...
-
Marnen Laibow-Koser
(from [edd1bc71ffa9a92334e58983064b5d5a48302d84]) Start trying to use QuietNils. Not working yet. [#41 state.code and country.code aren't nil-safe] http://github.com/marnen/quorum2/commit/edd1bc71ffa9a92334e58983064...
-
Marnen Laibow-Koser
(from [d25469aa06bf6798572b76df140b1404a6fd218b]) Make User#state mass-assignable. Can we maybe just remove the attr_accessible? [#41 state.code and country.code aren't nil-safe] http://github.com/marnen/quorum2/commit/d25469aa06bf6798572b76df140...
-
Marnen Laibow-Koser
(from [8f779577950f68fb07b851cfb1fa2477416ace18]) Introduce AddressUtilities for common address functionality. [#41 state.code and country.code aren't nil-safe] http://github.com/marnen/quorum2/commit/8f779577950f68fb07b851cfb1f...
-
Marnen Laibow-Koser
(from [f82d0eec52515f79d7e5fdbc7c450ece29745ed4]) Refactor composed_of into AddressUtilities. [#41 state.code and country.code aren't nil-safe] http://github.com/marnen/quorum2/commit/f82d0eec52515f79d7e5fdbc7c4...
-
Marnen Laibow-Koser
(from [b4cfd43d84c272a30bdc6a0332245cc1253b784c]) Add a spec to make sure we're nil-safe. [#41 state.code and country.code aren't nil-safe] http://github.com/marnen/quorum2/commit/b4cfd43d84c272a30bdc6a03322...
-
Marnen Laibow-Koser
(from [ba0b6129a5b56b00f8f074ef76d3905fdecfc912]) Make sure User#country and Event#country are nil-safe. [#41 state.code and country.code aren't nil-safe] http://github.com/marnen/quorum2/commit/ba0b6129a5b56b00f8f074ef76d...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.