You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently upgrading a 10 year old padrino app (upgraded before 4 years ago) to padrino 0.15.2 - a sinatra and AR based framework. I'd like to use comma for csv exports (to replace MS deprecated openxml xls formats that are now broken :-/ ).
Because comma hooks into AR, I was hoping I could use it like so:
Perhaps predictably, I'm getting an error in that it's not expecting an instance variable here, but I imagine that's because I don't know comma internals well enough. Is there a way to hook into the rails magic you built somewhat easily?
The text was updated successfully, but these errors were encountered:
I'm currently upgrading a 10 year old padrino app (upgraded before 4 years ago) to padrino 0.15.2 - a sinatra and AR based framework. I'd like to use
comma
for csv exports (to replace MS deprecated openxml xls formats that are now broken :-/ ).Because
comma
hooks into AR, I was hoping I could use it like so:Perhaps predictably, I'm getting an error in that it's not expecting an instance variable here, but I imagine that's because I don't know comma internals well enough. Is there a way to hook into the rails magic you built somewhat easily?
The text was updated successfully, but these errors were encountered: