#indyrb IRC Log on irc.freenode.net
IRC Log for 2009-12-09
Timestamps are in GMT/BST.
[11:05] * davidray2 (n=dave@c-98-220-174-19.hsd1.in.comcast.net) has joined #indyrb
[11:08] * dsp (n=dsp@dorado.c-60.org) Quit (barjavel.freenode.net irc.freenode.net)
[11:08] * mileszs (n=mileszs@99-138-55-6.lightspeed.iplsin.sbcglobal.net) Quit (barjavel.freenode.net irc.freenode.net)
[11:11] * mileszs (n=mileszs@99-138-55-6.lightspeed.iplsin.sbcglobal.net) has joined #indyrb
[11:11] * dsp (n=dsp@dorado.c-60.org) has joined #indyrb
[12:07] * davidray2 (n=dave@c-98-220-174-19.hsd1.in.comcast.net) Quit ()
[12:15] * davidray2 (n=dave@c-98-220-174-19.hsd1.in.comcast.net) has joined #indyrb
[12:16] <davidray2> Bronchitis and Shannon say I don't get to go tonight.
[12:31] <davidray2> mileszs, or anyone else, I have a rest question.
[12:32] <davidray2> I've got a standard restful controller for documents
[12:32] <davidray2> and I want to add the ability to download the documents
[12:32] <davidray2> What's the restful way to do that?
[12:33] <davidray2> Do I basically just need to do something in the routes?
[13:07] <davidray2> Never mind. I just passed :download => true into the show action and then checked for that.
[13:08] <mileszs> The RESTful way is probably to specify a different 'format'. Are the documents all of the same type?
[13:11] <mileszs> Hmm. I think a decision must be made as to the Indy.rb meeting versus the weather.
[13:12] <mileszs> Anyone know anything about FatCow hosting?
[13:15] <davidray2> No, they're all over the place
[13:15] <davidray2> (doc types)
[13:16] <davidray2> +1 for rescheduling just cuz Shannon already told me no
[13:25] <mileszs> hahaha ;-)
[13:26] <mileszs> If they're static files, I think that falls outside the RESTful paradigm, anyway.
[13:37] <davidray2> Well, I have a troop_document model that holds metadata about the file, and I have resources mapped for it.
[13:37] <davidray2> Part of the metadata includes the file location, so you're prolly right.
[13:37] <davidray2> Anyway, I'm happy with the way I did it.
[13:58] * davidray2 (n=dave@c-98-220-174-19.hsd1.in.comcast.net) Quit ()
[14:24] <mileszs> Good enough for me, then, sir. :-)
[14:42] <mileszs> Anyone else awake in here and have a opinion on The Weather vs. Indy.rb December 2009?
[14:45] * davidray2 (n=dave@c-98-220-174-19.hsd1.in.comcast.net) has joined #indyrb
[15:07] <davidray2> I had a nice nap. What'd I miss? Is tonight's meetup on?
[15:44] <mileszs> davidray2: Could you go if it were next Wed?
[15:44] <davidray2> Yeah, but is the weather really that bad?
[15:45] <davidray2> I haven't stepped outside once today.
[15:46] <mileszs> Now? No. The roads, however, have been rained on for hours, and then experienced a temperature drop to 26F, plus 40mph winds. (It apparently feels like 10F at this point.)
[15:46] <davidray2> yikes
[15:47] <mileszs> Although we could probably get an okay turnout, I suspect we could get a better turnout next week. So, the motivation is probably more indirectly influenced by the weather than anything. The more books the better!
[15:47] <davidray2> totes. doit.
[15:59] * jqr (n=jqr@rrcs-24-172-165-248.central.biz.rr.com) has joined #indyrb
[16:08] <jqr> Tonight's meeting is postponed until next Wednesday, see you then!
[16:20] <davidray2> yay
[16:37] <mileszs> joelmeador: acts_as_archival causes a conflict with acts_as_ferret. Commenting out the 'extend ClassMethods' fixes it. As far as I can tell, you don't define a ClassMethods module. Is that correct?
[16:37] <mileszs> Sorry, davidray2, I should have posted that in here. I got distracted. :-)
[16:38] <davidray2> It's not a big deal.
[16:48] * jqr (n=jqr@rrcs-24-172-165-248.central.biz.rr.com) Quit ()
[17:13] <joelmeador> mileszs: Yeah, that looks correct
[17:14] * jqr (n=jqr@99-6-3-78.lightspeed.iplsin.sbcglobal.net) has joined #indyrb
[17:16] <joelmeador> Let me know what you think of it
[18:44] * jqr (n=jqr@99-6-3-78.lightspeed.iplsin.sbcglobal.net) Quit ()
[19:05] <mileszs> Will do. Unfortunately I had to sort of ruin it by setting a default_scope that looks for only unarchived records. It's being added to a big app. Retrieving records for that model happens all over the place.
[19:06] <mileszs> It makes me sort of sad. haha.
[21:09] <joelmeador> :/
[21:09] <joelmeador> default_scope
[21:33] * davidray2 (n=dave@c-98-220-174-19.hsd1.in.comcast.net) Quit ()
[22:23] * davidray2 (n=dave@c-98-220-174-19.hsd1.in.comcast.net) has joined #indyrb