seattlerb / rubyinline

296 stars 41 forks source link

Error inline on rails #11

Closed thiagocifani closed 13 years ago

thiagocifani commented 13 years ago

I am trying to use inline with rails! I added a method on array class but when I passed my parameters in my action in my controller I got this error

http://pastie.org/2487427

do you know how can I use inline from a outside file and load it in my controller? I didnt find any example on the internet!

thanks

zenspider commented 13 years ago

I know people use inline with rails since they use image_science with rails. There isn't enough information in your bug to really point out anything obvious. I suggest you write a proper rails unit test for your code that uses the inlined function and debug it from there. If that works, then it is probably a configuration error.

zenspider commented 13 years ago

No response for 2 weeks. closing. reopen when you have a repro

thiagocifani commented 12 years ago

It was my mistake! But in the other hand I resolved the problem doing c as a extension in ruby! thanks for everything