Skip to content

Instantly share code, notes, and snippets.

@biot023
Created July 17, 2010 14:06
Show Gist options
  • Save biot023/479526 to your computer and use it in GitHub Desktop.
Save biot023/479526 to your computer and use it in GitHub Desktop.
require "cells/assertions_helper"
module CellViewHelpers
include Cells::AssertionsHelper
alias_method( :old_render_cell, :render_cell )
def render_cell( *args )
html = old_render_cell( *args )
render( text: html )
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment