Ruby On Merging conditions into an ...

by sferik, November 05, 2009 23:29

This is a nice idea, but to...

1f74b13f1e5c6c69cb5d7fbaabb1e2cb Talk
def merge_query!(options)
  return unless params[:query]
  statements = []
...

Ruby Merging conditions into an ...

by sferik, November 05, 2009 03:33, 2 refactorings, tagged with rails, ruby, merb

This is some controller cod...

1f74b13f1e5c6c69cb5d7fbaabb1e2cb Talk
@total_pages = (total.to_f / per_page).ceil

Ruby On Pagination total page count

by sferik, October 06, 2009 20:15

Looks good to me, except th...

1f74b13f1e5c6c69cb5d7fbaabb1e2cb Talk
<!-- Given the following locals -->
...

Ruby Building params hashes (for...

by sferik, September 30, 2009 19:28, No refactoring, tagged with rails, ruby, merb

This code happens to be for...

1f74b13f1e5c6c69cb5d7fbaabb1e2cb Talk