Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Added example using proc with :display_with to readme #112

merged 1 commit into from

2 participants


No description provided.

@rogercampos rogercampos merged commit 3696683 into bernat:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 4, 2012
  1. @zubin
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0 
3 
@@ -176,6 +176,9 @@ additional `helper_options` hash:
= best_in_place @user, :money, :display_with => :number_to_currency, :helper_options => {:unit => "€"}
+You can also pass in a proc or lambda like this:
+ = best_in_place @post, :body, :display_with => lambda { |v| textilize(v).html_safe }
##Non Active Record environments
We are not planning to support other ORMs apart from Active Record, at least for now. So, you can perfectly consider the following workaround as *the right way* until a specific implementation is done for your ORM.
Something went wrong with that request. Please try again.