Table rename

Extract `.order('created_at DESC')` to scope - http://guides.rubyonrails.org/active_record_querying.html#scopes so you can say something like. `Link.newest_first.paginate(:per_page => 5, :page => params[:page])`.

Also you don't want to call `.all`.