RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: dadachi
Site: http://www.bestforce.org/
See the NSScreencast episode below. - Authentication with AFNetworking #41 - Retrying HTTP Requests #42
def sorted_messages the_messages = messages.arrange(order: :created_at) sorted_messages = the_messages.sort_by{ |key, value| key[:updated_at] }.reverse Hash[sorted_messages] end
See the NSScreencast episode below.
- Authentication with AFNetworking #41
- Retrying HTTP Requests #42