Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

CodisaIT's Profile

GitHub User: CodisaIT

Comments by

Avatar

I'm trying this line

ruby
pdf = OrderPdf.new(@order, view_context)

but I get this error "SyntaxError in xxxController#index"
syntax error, unexpected ',', expecting ')'

I get this error when adding the "view_context"

I'm using rails 3.2.5