Skip to content

Instantly share code, notes, and snippets.

@Mikr0Tik
Created February 24, 2010 07:06
Show Gist options
  • Save Mikr0Tik/313198 to your computer and use it in GitHub Desktop.
Save Mikr0Tik/313198 to your computer and use it in GitHub Desktop.
# paginator(people_path) is helper method returning html:
# the '\n' have to be wiped out
page << "$$('.paginate').invoke('update', '#{ j(paginator(people_path).gsub(/\n/,'')) }')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment