#rubyonrails - Sat 31 Mar 2007 between 19:28 and 19:40

NY Lost Funds



hhaamuypSami, way ahead of you
ypSamiThe easiest way I know of to quickly check is with puts and the console during development.
asdxypSami: rails uses that?
ypSamiasdx: yes
asdx: gem install RMagick
Bongo`That wont work in windows.
ypSamiYou'll need the ImageMagick, or GraphicsMagick libraries installed
Yes it will
Bongo`Have they updated the gem?
OetmetGmmm
Bongo`It didn't work 2 months ago.
oh
_thom_If I want a really really good look at how my request to my app is working, does it make sense to try breakpointing and working in the console?
ypSamiWe had it running months ago for a large scale app on several windows computers
action_thom_ is fed up with this code and doesn't know wht else to do.
_thom_is fed up with this code and doesn't know wht else to do.
Bongo`I had to install the gem locally, since i couldn't compile it.?
hhaamu_thom_, very much so. breakpoint is a great debugging help.
action_thom_ will try to find the section of the skateboard book where it's mentioned
_thom_will try to find the section of the skateboard book where it's mentioned
ypSamiI just typed "gem install RMagick", then installed the libraries I was missing "libmagick9.so", and then it went fine
Bongo`Sweet.
ypSamiI have to admit though
I did end up compiling it from ImageMagick source on ubuntu
Bongo`Hehe
ypSamiand it screwed my packaging
So, ImageMagick was really the bitch, no RMagick
Alright, back to work
I have this huge UML class diagram to convert into rails models
ok, if URI is a reserved Ruby name, what would be a good replacement that would make symantic sense?
semantic
err
ExxKApastie: need link
_thom_do I run the script/breakpointer at the same time as my main process, or instead of it?
pastiehttp://pastie.caboo.se/50847 by ExxKA.
mistergibsonare the find, find_by_blah only available to views and controllers?
ExxKAI have some weird problems trying to use relations in my script.. will you see if you can tell me whats wrong? I have been fighting with it for the last 30 mins.. and im all out of ides / experience..
http://pastie.caboo.se/50847 by ExxKA.
mistergibsonit seems like its an active record thing
ExxKAmistergibson, yeah, i kinda figrued that since it's the only lib I have loaded, and since it's what my script uses..
What bugs me is why my relations doesn't work..
_thom_well CRAP! "Breakpoints are not currently working with Ruby 1.8.5"

Page: 2 9 16 23 30 37 44 51 58 65 72 79 

IrcArchive

NY Lost Funds