Page 1 of 1
[02:18:03] olalonde: does anyone know a channel dedicated to language agnostic web app/distributed system architecture?
[08:30:00] olalonde: anyone knows why I might be getting "Retrying source fetch due to error (2/3): Bundler::HTTPError Could not fetch specs from http://rubygems.org/"
[06:05:59] olalonde: hi all I kind of forgot how to use jekyll. I tried the "rake" command to get a list of rake tasks but getting this error: ake aborted!
[04:54:57] olalonde: for a notification system. some users want to get notified about some orders and some orders not
[12:18:41] olalonde: in rails, do singleton resources and plural resources share the same controller typically?
[12:20:27] olalonde: ah, doesn't that lead to code duplication? they share many actions (show, create, update, delete)
[12:21:23] olalonde: DouweM: ok. let's say you have /user and /users . /user is just an alias for /user/:logged_in_user_id/ really
[12:26:55] olalonde: DouweM: what if you have a before filter in your subclass… which one is executed first?
[12:34:56] olalonde: DouweM: No I mean, let's say you have /companies and /companies/1/users/ . I would probably need before filters from the first in the second
[12:37:53] olalonde: DouweM: how can I avoid code duplication though? when i create a user in companies/123/users, I need to send an email to the user, etc. same as for /users. any advice on avoiding code duplication? put that stuff in my model?
[12:52:42] olalonde: DouweM: what if I have company/123/users/ my Users controller should check if the company exists right?
[18:09:37] olalonde: when you output the JSON for a resource, what are good guidelines to know how many nested objects and how deep you should output?
[18:11:56] olalonde: slash_nick: wouldn't make much sense to output my whole object graph on every request due to bandwidth limitations ...
[18:12:44] olalonde: i was just wondering if there were some common rules for that or if people just go with their common sense :)
[18:13:10] olalonde: probably some REST maniacs would say that you shouldn't output a nested object if it has its own URL
[18:19:41] olalonde: I use a macbook air but i will consider switching to that one when i buy a new laptop, pretty happy with macbook air though