Skip to content

Instantly share code, notes, and snippets.

@jpinnix
Created March 10, 2009 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpinnix/77155 to your computer and use it in GitHub Desktop.
Save jpinnix/77155 to your computer and use it in GitHub Desktop.
class Foo
def bar
"test"
end
end
class FoosController < ApplicationController
def index
logger.warn(Foo.new.bar)
render :text => Foo.new.bar, :layout => false
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment