From jeffm.keating at gmail.com Mon May 2 13:47:27 2011 From: jeffm.keating at gmail.com (Jeff Keating) Date: Mon, 2 May 2011 13:47:27 -0400 Subject: [raleigh.rb] heroku and restful_authentication Message-ID: Wondering if anyone has tips for installing their app to heroku with the restful_authentication plugin? the plugin works fine locally. I'm getting: uninitialized constant User::Authentication while I try to run my initial heroku rake db:migrate. -jeff From brentmc79 at gmail.com Mon May 2 14:33:52 2011 From: brentmc79 at gmail.com (Brent Collier) Date: Mon, 2 May 2011 14:33:52 -0400 Subject: [raleigh.rb] heroku and restful_authentication In-Reply-To: References: Message-ID: Hey Jerr, I'm guessing the plugin is a git submodule in your repo, so when you push it to heroku, its not pushing the restful_auth plugin code. There's a way to keep it as a submodule and have it push the code along with everything, but I don't remember how off the top of my head. Or you can just remote the .git directory and then 'git add' it to your repo, then push, and everything should be kosher. -Brent On Mon, May 2, 2011 at 1:47 PM, Jeff Keating wrote: > Wondering if anyone has tips for installing their app to heroku with > the restful_authentication plugin? the plugin works fine locally. > > I'm getting: uninitialized constant User::Authentication while I try > to run my initial heroku rake db:migrate. > > -jeff > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Brent Collier | 919.564.6915 | www.BrentCollier.com | www.brentmc79.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brentmc79 at gmail.com Mon May 2 14:34:19 2011 From: brentmc79 at gmail.com (Brent Collier) Date: Mon, 2 May 2011 14:34:19 -0400 Subject: [raleigh.rb] heroku and restful_authentication In-Reply-To: References: Message-ID: Jeff, not Jerr... I can't type. On Mon, May 2, 2011 at 2:33 PM, Brent Collier wrote: > Hey Jerr, > > I'm guessing the plugin is a git submodule in your repo, so when you push > it to heroku, its not pushing the restful_auth plugin code. There's a way > to keep it as a submodule and have it push the code along with everything, > but I don't remember how off the top of my head. Or you can just remote the > .git directory and then 'git add' it to your repo, then push, and everything > should be kosher. > > -Brent > > > On Mon, May 2, 2011 at 1:47 PM, Jeff Keating wrote: > >> Wondering if anyone has tips for installing their app to heroku with >> the restful_authentication plugin? the plugin works fine locally. >> >> I'm getting: uninitialized constant User::Authentication while I try >> to run my initial heroku rake db:migrate. >> >> -jeff >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > > -- > Brent Collier | 919.564.6915 | www.BrentCollier.com | www.brentmc79.com > -- Brent Collier | 919.564.6915 | www.BrentCollier.com | www.brentmc79.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffm.keating at gmail.com Mon May 2 15:06:44 2011 From: jeffm.keating at gmail.com (Jeff Keating) Date: Mon, 2 May 2011 15:06:44 -0400 Subject: [raleigh.rb] heroku and restful_authentication In-Reply-To: References: Message-ID: yes. thank you. I think based on further digging that this is exactly what is happening. I appreciate it. -jeff http://www.linkedin.com/in/keatingjeff On Mon, May 2, 2011 at 2:33 PM, Brent Collier wrote: > Hey Jerr, > I'm guessing the plugin is a git submodule in your repo, so when you push it > to heroku, its not pushing the restful_auth plugin code. ?There's a way to > keep it as a submodule and have it push the code along with everything, but > I don't remember how off the top of my head. ?Or you can just remote the > .git directory and then 'git add' it to your repo, then push, and everything > should be kosher. > -Brent > > On Mon, May 2, 2011 at 1:47 PM, Jeff Keating > wrote: >> >> Wondering if anyone has tips for installing their app to heroku with >> the restful_authentication plugin? the plugin works fine locally. >> >> I'm getting: uninitialized constant User::Authentication while I try >> to run my initial heroku rake db:migrate. >> >> -jeff >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > -- > Brent Collier | 919.564.6915 | www.BrentCollier.com | www.brentmc79.com > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From nathaniel at talbott.ws Mon May 2 16:54:13 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Mon, 2 May 2011 16:54:13 -0400 Subject: [raleigh.rb] Triangle Startup Weekend Message-ID: Not sure how many of you are aware, but Triangle Startup Weekend is approaching fast. It's going to be June 3-5 at the American Tobacco Campus, and looks like it'll be a blast. I especially like it as a way to find and assess "businessy" co-founders; you get to see if they can cut the mustard without any long-term commitment. All the details are here: http://triangle.startupweekend.org/ Hope to see you there! -- Nathaniel Talbott <:((>< From minter at lunenburg.org Wed May 4 16:53:08 2011 From: minter at lunenburg.org (H. Wade Minter) Date: Wed, 4 May 2011 16:53:08 -0400 Subject: [raleigh.rb] TeamSnap is hiring a Rails developer and a UI/UX Designer Message-ID: <514FFDC4-6BC1-4328-BAE0-120873885D1B@lunenburg.org> People of Earth, TeamSnap is looking to hire a Jr.-to-mid-level Rails developer, as well as a User Interface / User Experience designer. We're a Rails application focused on team sports and group management. The product has been in existence since 2007, and charging for the product since 2009 or so. We have a rapidly-growing customer base, and need some help on the dev side. The company is based out of Boulder, Colorado, with the current development team residing right here in the Triangle. The job is a work-from-home deal, though, so candidates who don't want to relocate to Boulder or RDU are certainly welcome to apply. If you want to move, relocation to Boulder may be a possibility. The company website can be found at http://teamsnap.com/ , and the job postings at http://teamsnap.com/jobs.php. Feel free to sign up for a trial and look around the app, or hit me up with questions if you have any. Also feel free to pass this opening along to friends who may be looking in either of those two roles. Thanks, Wade From anthonylebrun at gmail.com Thu May 5 22:07:48 2011 From: anthonylebrun at gmail.com (Pierre Lebrun) Date: Thu, 5 May 2011 22:07:48 -0400 Subject: [raleigh.rb] Tech Jobs Message-ID: To all Rubyists, Tech Jobs Under the Big Top is a (free) startup networking event happening at ATC Bay 7. Fifteen funded and fast growing startups will come to pitch their companies and are specifically looking to recruit people. Free food on their tab to boot! From what I hear, Ruby coders are going to be in big demand. You can find more details at: http://bigtop.it/ And sign up here: http://techjobsbigtop.eventbrite.com/ (attendance is capped at 150 so don't wait too long to rsvp!) The Details: Location: Bay 7 @ American Tobacco Campus in Durham Date: May 24th Time: 5:30pm to 8:30pm Cheers, Pierre Lebrun -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.ball at gmail.com Wed May 11 11:54:00 2011 From: donald.ball at gmail.com (Donald Ball) Date: Wed, 11 May 2011 11:54:00 -0400 Subject: [raleigh.rb] SMS service bleg Message-ID: I'm looking to start sending SMS from one of my rails apps. Poking around the intarwebs, it seems that Twilio and Tropo are the leading contenders for mindshare in the ruby on rails community. I've spent a bit of time playing with their libraries and can't say I'm particularly overwhelmed by either of them so far. Does anyone in the local community have any experience or recommendations they'd care to share? -- donald From jeremymcanally at gmail.com Wed May 11 12:29:30 2011 From: jeremymcanally at gmail.com (Jeremy McAnally) Date: Wed, 11 May 2011 12:29:30 -0400 Subject: [raleigh.rb] SMS service bleg In-Reply-To: References: Message-ID: What don't you like about them? They're pretty easy to use in my experience and offer anything that a communications provider should (i.e., they're not building your app for you...). --Jeremy On Wed, May 11, 2011 at 11:54 AM, Donald Ball wrote: > I'm looking to start sending SMS from one of my rails apps. Poking > around the intarwebs, it seems that Twilio and Tropo are the leading > contenders for mindshare in the ruby on rails community. I've spent a > bit of time playing with their libraries and can't say I'm > particularly overwhelmed by either of them so far. Does anyone in the > local community have any experience or recommendations they'd care to > share? > > -- donald > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- http://jeremymcanally.com/?-?http://arcturo.com/ Bowties, ties, and more:?http://wickhamhousebrand.com My books: http://r3uh.com ?http://rbip.info/ ?http://hlrb.org (FREE!) From seancribbs at gmail.com Wed May 11 12:32:08 2011 From: seancribbs at gmail.com (Sean Cribbs) Date: Wed, 11 May 2011 12:32:08 -0400 Subject: [raleigh.rb] SMS service bleg In-Reply-To: References: Message-ID: Really if you only want to send SMS, Twilio is hard to beat. It's dead simple. Sean On Wed, May 11, 2011 at 12:29 PM, Jeremy McAnally wrote: > What don't you like about them? ?They're pretty easy to use in my > experience and offer anything that a communications provider should > (i.e., they're not building your app for you...). > > --Jeremy > > On Wed, May 11, 2011 at 11:54 AM, Donald Ball wrote: >> I'm looking to start sending SMS from one of my rails apps. Poking >> around the intarwebs, it seems that Twilio and Tropo are the leading >> contenders for mindshare in the ruby on rails community. I've spent a >> bit of time playing with their libraries and can't say I'm >> particularly overwhelmed by either of them so far. Does anyone in the >> local community have any experience or recommendations they'd care to >> share? >> >> -- donald >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > > -- > http://jeremymcanally.com/?-?http://arcturo.com/ > Bowties, ties, and more:?http://wickhamhousebrand.com > My books: > http://r3uh.com ?http://rbip.info/ ?http://hlrb.org (FREE!) > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From donald.ball at gmail.com Wed May 11 12:53:35 2011 From: donald.ball at gmail.com (Donald Ball) Date: Wed, 11 May 2011 12:53:35 -0400 Subject: [raleigh.rb] SMS service bleg In-Reply-To: References: Message-ID: The twilio library seems to be not much more than a tiny wrapper around Net::HTTP, to call any of their API methods you have to construct the path string manually. The tropo library seems more high-level, but unless I'm missing something, is focused on helping your app respond to tropo callbacks, not making calls to tropo. Both services' HTTP API's are functional and well-documented, and I can certainly work with 'em, I was just looking for a more elegant ruby DSL. -- donald From jeremymcanally at gmail.com Wed May 11 13:09:25 2011 From: jeremymcanally at gmail.com (Jeremy McAnally) Date: Wed, 11 May 2011 13:09:25 -0400 Subject: [raleigh.rb] SMS service bleg In-Reply-To: References: Message-ID: Look at the actual "twilio" gem (i.e., not the one they put out named twilio-ruby or whatever). It's MUCH better. It has the logic for sending/calling via their REST API and responding to the callbacks wrapped pretty nicely. --Jeremy On Wed, May 11, 2011 at 12:53 PM, Donald Ball wrote: > The twilio library seems to be not much more than a tiny wrapper > around Net::HTTP, to call any of their API methods you have to > construct the path string manually. The tropo library seems more > high-level, but unless I'm missing something, is focused on helping > your app respond to tropo callbacks, not making calls to tropo. Both > services' HTTP API's are functional and well-documented, and I can > certainly work with 'em, I was just looking for a more elegant ruby > DSL. > > -- donald > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- http://jeremymcanally.com/?-?http://arcturo.com/ Bowties, ties, and more:?http://wickhamhousebrand.com My books: http://r3uh.com ?http://rbip.info/ ?http://hlrb.org (FREE!) From martin.streicher at gmail.com Wed May 11 13:46:39 2011 From: martin.streicher at gmail.com (Martin Streicher) Date: Wed, 11 May 2011 13:46:39 -0400 Subject: [raleigh.rb] SMS service bleg In-Reply-To: References: Message-ID: What about Moonshado? On May 11, 2011, at 11:54 AM, Donald Ball wrote: > I'm looking to start sending SMS from one of my rails apps. Poking > around the intarwebs, it seems that Twilio and Tropo are the leading > contenders for mindshare in the ruby on rails community. I've spent a > bit of time playing with their libraries and can't say I'm > particularly overwhelmed by either of them so far. Does anyone in the > local community have any experience or recommendations they'd care to > share? > > -- donald > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From korebantic at gmail.com Thu May 12 10:11:02 2011 From: korebantic at gmail.com (korebantic) Date: Thu, 12 May 2011 10:11:02 -0400 Subject: [raleigh.rb] Looking for interns Message-ID: Hi, We?re Raritan, located on Jones Franklin Road in Raleigh. We've built an iOS application for one of our main products, Power IQ. We are looking for an intern to assist with the enhancement to this iOS application. The description: We?re looking for a intern with object-oriented experience who is ambitious and wants to become a great developer. Ideally, you have experience with Objective-C and iOS development, or experience with compiled languages, or a keen mind and a strong desire to do mobile application development. Our main product Power IQ, a power management tool, is deployed in hundreds of data centers around the world. We support a large number of power strips and other hardware appliances. The iOS application enhances our main product by providing mobile appropriate functions. As an intern, you will be adding controllers and views to our mobile application, targeting a well-defined and specific set of enhancements. The Power IQ platform is based on Ruby on Rails, so you will also get exposure to the best web framework around. If you?re interested, contact me or careers at raritan.com. Regards, Trent Albright -------------- next part -------------- An HTML attachment was scrubbed... URL: From jared.haworth at gmail.com Thu May 12 16:37:32 2011 From: jared.haworth at gmail.com (Jared Haworth) Date: Thu, 12 May 2011 16:37:32 -0400 Subject: [raleigh.rb] SMS service bleg In-Reply-To: References: Message-ID: <2FA9D432-E6C2-4808-8A59-7526B73F6B41@gmail.com> I'm not sure if you're looking for a paid solution, but the folks at EzTexting have recently released a Ruby Gem for their service. I haven't played around with it yet, but I had bookmarked it last week to take a closer look when I had the chance: https://github.com/EzTexting/eztexting - Jared On May 11, 2011, at 11:54 AM, Donald Ball wrote: > I'm looking to start sending SMS from one of my rails apps. Poking > around the intarwebs, it seems that Twilio and Tropo are the leading > contenders for mindshare in the ruby on rails community. I've spent a > bit of time playing with their libraries and can't say I'm > particularly overwhelmed by either of them so far. Does anyone in the > local community have any experience or recommendations they'd care to > share? > > -- donald > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From nathaniel at talbott.ws Fri May 13 17:42:50 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Fri, 13 May 2011 17:42:50 -0400 Subject: [raleigh.rb] May meeting Message-ID: Hey folks, due to various factors I don't yet have a meeting planned for this coming Tuesday. How about lightning talks? To ensure we don't all end up listening to crickets, I need to get at least six people to commit to giving a 3-5 minute talk. Just chime in on this thread if you're willing and able. Also, feel free to chime in if there's a lightning talk you'd like to hear - a topic you want to hear a bit more about that might inspire someone else to share with us. Thanks, -- Nathaniel Talbott <:((>< From jimmy at jimmythrasher.com Fri May 13 18:42:04 2011 From: jimmy at jimmythrasher.com (Jimmy Thrasher) Date: Fri, 13 May 2011 18:42:04 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: References: Message-ID: I'm willing and able. I'd like to field test an idea I have for the Hoedown. I'd also like to hear lightning talks on PCI compliance and HIPAA compliance from a developer's perspective. Jimmy On Fri, May 13, 2011 at 5:42 PM, Nathaniel Talbott wrote: > Hey folks, due to various factors I don't yet have a meeting planned > for this coming Tuesday. How about lightning talks? To ensure we don't > all end up listening to crickets, I need to get at least six people to > commit to giving a 3-5 minute talk. Just chime in on this thread if > you're willing and able. > > Also, feel free to chime in if there's a lightning talk you'd like to > hear - a topic you want to hear a bit more about that might inspire > someone else to share with us. > > Thanks, > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- +1-919-627-7546 -------------- next part -------------- An HTML attachment was scrubbed... URL: From seancribbs at gmail.com Sat May 14 10:36:39 2011 From: seancribbs at gmail.com (Sean Cribbs) Date: Sat, 14 May 2011 10:36:39 -0400 Subject: [raleigh.rb] Ruby contractor Message-ID: Fellow Rubyists, Basho Technologies, my employer and maker of the Riak "NoSQL" database, is looking for a top-notch Ruby Developer for contract, possibly long-term or contract-to-hire, to do various projects with our customers. You would be working with Ripple (https://github.com/seancribbs/ripple) and other Ruby tools to help develop our customers' applications that use Riak. Familiarity with Riak is helpful but not required; the main qualification is the ability to deliver well-written and reliable code in a timely fashion. You would also get to work with our outstanding team of Engineers and Developer Advocates on other challenging problems. Some travel may be required, depending on customer needs. If this interests you and you are available immediately, please email John Hornbeck , VP Client Services, with your resume and a message expressing your interest and qualifications. Links to GitHub projects and live applications you have worked on are encouraged! Cheers, Sean Cribbs Developer Advocate Basho Technologies, Inc. http://www.basho.com/ From mmzyk at programmersparadox.com Sat May 14 17:58:51 2011 From: mmzyk at programmersparadox.com (Mark Mzyk) Date: Sat, 14 May 2011 17:58:51 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: References: Message-ID: I could potentially do a lightning talk on failure. I think it's a topic not discussed often enough. Don't know enough about PCI or HIPAA to talk to those, sorry Jimmy. - Mark Mzyk On Fri, May 13, 2011 at 5:42 PM, Nathaniel Talbott wrote: > Hey folks, due to various factors I don't yet have a meeting planned > for this coming Tuesday. How about lightning talks? To ensure we don't > all end up listening to crickets, I need to get at least six people to > commit to giving a 3-5 minute talk. Just chime in on this thread if > you're willing and able. > > Also, feel free to chime in if there's a lightning talk you'd like to > hear - a topic you want to hear a bit more about that might inspire > someone else to share with us. > > Thanks, > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathaniel at talbott.ws Sat May 14 18:26:21 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Sat, 14 May 2011 18:26:21 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: References: Message-ID: On Fri, May 13, 2011 at 18:42, Jimmy Thrasher wrote: > I'm willing and able. I'd like to field test an idea I have for the Hoedown. > I'd also like to hear lightning talks on PCI compliance and HIPAA compliance > from a developer's perspective. I'll gladly do a quick talk on PCI compliance. That brings us up to 3 - can we get three more brave souls? -- Nathaniel Talbott <:((>< From seancribbs at gmail.com Sat May 14 18:46:19 2011 From: seancribbs at gmail.com (Sean Cribbs) Date: Sat, 14 May 2011 18:46:19 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: References: Message-ID: I would totally do something but I am flying out of town. :( Sean On Sat, May 14, 2011 at 6:26 PM, Nathaniel Talbott wrote: > On Fri, May 13, 2011 at 18:42, Jimmy Thrasher wrote: > >> I'm willing and able. I'd like to field test an idea I have for the Hoedown. >> I'd also like to hear lightning talks on PCI compliance and HIPAA compliance >> from a developer's perspective. > > I'll gladly do a quick talk on PCI compliance. > > That brings us up to 3 - can we get three more brave souls? > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From mark at imbriaco.com Sat May 14 19:14:14 2011 From: mark at imbriaco.com (Mark Imbriaco) Date: Sat, 14 May 2011 19:14:14 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: References: Message-ID: <8FBCA7B8204747B1A0DD7135C006A7D7@imbriaco.com> On Saturday, May 14, 2011 at 6:26 PM, Nathaniel Talbott wrote: > On Fri, May 13, 2011 at 18:42, Jimmy Thrasher wrote: > > > I'm willing and able. I'd like to field test an idea I have for the Hoedown. > > I'd also like to hear lightning talks on PCI compliance and HIPAA compliance > > from a developer's perspective. > > I'll gladly do a quick talk on PCI compliance. > > That brings us up to 3 - can we get three more brave souls? > I'll do a talk about some Heroku infrastructure. I'm going to be giving a longer talk at Velocity in a few weeks and I can pull a section from that talk and give it standalone. -Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathaniel at talbott.ws Mon May 16 14:59:43 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Mon, 16 May 2011 14:59:43 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: <8FBCA7B8204747B1A0DD7135C006A7D7@imbriaco.com> References: <8FBCA7B8204747B1A0DD7135C006A7D7@imbriaco.com> Message-ID: On Sat, May 14, 2011 at 19:14, Mark Imbriaco wrote: > I'll do a talk about some Heroku infrastructure. I'm going to be giving a > longer talk at Velocity in a few weeks and I can pull a section from that > talk and give it standalone. Great, so we've got 4 - can we get 2 more before the day is over? Could be on anything - a cool piece of open source you used, a project you're working on, something you learned about [profiling|debugging|whatever], etc. You know you want to, -- Nathaniel Talbott <:((>< From rick.denatale at gmail.com Tue May 17 07:48:14 2011 From: rick.denatale at gmail.com (Rick DeNatale) Date: Tue, 17 May 2011 07:48:14 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: References: <8FBCA7B8204747B1A0DD7135C006A7D7@imbriaco.com> Message-ID: I can probably give a short demo of a little hack I did last Friday to generate manual testing scripts from Cucumber features/step definitions. On Mon, May 16, 2011 at 2:59 PM, Nathaniel Talbott wrote: > On Sat, May 14, 2011 at 19:14, Mark Imbriaco wrote: > >> I'll do a talk about some Heroku infrastructure. I'm going to be giving a >> longer talk at Velocity in a few weeks and I can pull a section from that >> talk and give it standalone. > > Great, so we've got 4 - can we get 2 more before the day is over? > Could be on anything - a cool piece of open source you used, a project > you're working on, something you learned about > [profiling|debugging|whatever], etc. > > You know you want to, > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale From ken.auer at rolemodelsoftware.com Tue May 17 08:51:00 2011 From: ken.auer at rolemodelsoftware.com (Ken Auer) Date: Tue, 17 May 2011 08:51:00 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: References: <8FBCA7B8204747B1A0DD7135C006A7D7@imbriaco.com> Message-ID: I can do one showing how we are doing multi-tenanting of an app, choosing the correct layout/template, based on domain and/or subdomain. On Mon, May 16, 2011 at 2:59 PM, Nathaniel Talbott wrote: > On Sat, May 14, 2011 at 19:14, Mark Imbriaco wrote: > > > I'll do a talk about some Heroku infrastructure. I'm going to be giving a > > longer talk at Velocity in a few weeks and I can pull a section from that > > talk and give it standalone. > > Great, so we've got 4 - can we get 2 more before the day is over? > Could be on anything - a cool piece of open source you used, a project > you're working on, something you learned about > [profiling|debugging|whatever], etc. > > You know you want to, > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Ken Auer Software Craftsman RoleModel Software 919-557-7550 (v) 6720 RoleModel Way 626-544-2015 (f) Holly Springs, NC 27540 919-622-8315 (m) "Christianity is not a plug-in, it's an operating system" (see Mark 12:28-31) -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmzyk at programmersparadox.com Tue May 17 08:56:13 2011 From: mmzyk at programmersparadox.com (Mark Mzyk) Date: Tue, 17 May 2011 08:56:13 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: References: <8FBCA7B8204747B1A0DD7135C006A7D7@imbriaco.com> Message-ID: Given that I know several people on this list have done Couch to 5k, I think it would be interesting to hear your experience with the program and what it was like to go through that process. On Tue, May 17, 2011 at 7:48 AM, Rick DeNatale wrote: > I can probably give a short demo of a little hack I did last Friday to > generate manual testing scripts from Cucumber features/step > definitions. > > > On Mon, May 16, 2011 at 2:59 PM, Nathaniel Talbott > wrote: > > On Sat, May 14, 2011 at 19:14, Mark Imbriaco wrote: > > > >> I'll do a talk about some Heroku infrastructure. I'm going to be giving > a > >> longer talk at Velocity in a few weeks and I can pull a section from > that > >> talk and give it standalone. > > > > Great, so we've got 4 - can we get 2 more before the day is over? > > Could be on anything - a cool piece of open source you used, a project > > you're working on, something you learned about > > [profiling|debugging|whatever], etc. > > > > You know you want to, > > > > > > -- > > Nathaniel Talbott > > <:((>< > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Github: http://github.com/rubyredrick > Twitter: @RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathaniel at talbott.ws Tue May 17 09:05:17 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 17 May 2011 09:05:17 -0400 Subject: [raleigh.rb] May meeting In-Reply-To: References: <8FBCA7B8204747B1A0DD7135C006A7D7@imbriaco.com> Message-ID: On Tue, May 17, 2011 at 07:48, Rick DeNatale wrote: > I can probably give a short demo of a little hack I did last Friday to > generate manual testing scripts from Cucumber features/step > definitions. OK, we'll call that enough to go forward: http://meetu.ps/1d2Zm See you all there! -- Nathaniel Talbott <:((>< From rick.denatale at gmail.com Tue May 17 13:21:03 2011 From: rick.denatale at gmail.com (Rick DeNatale) Date: Tue, 17 May 2011 13:21:03 -0400 Subject: [raleigh.rb] Pre-meeting Chow In-Reply-To: References: Message-ID: The usual place and time again tonight? ---------- Forwarded message ---------- From: Nathaniel Talbott Date: Tue, Apr 19, 2011 at 2:05 PM Subject: [raleigh.rb] Pre-meeting Chow To: "The mailing list of raleigh.rb" Chow tonight will be had at Randy's Pizza: ?http://bit.ly/gafHf7 ?http://www.randyspizzartp.com/ I'll be there by 5:30, and everyone is invited to join me to chat a bit and unwind before heading over to iContact for the meeting proper. See you there! -- Nathaniel Talbott <:((>< _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale From nathaniel at talbott.ws Tue May 17 14:10:16 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 17 May 2011 14:10:16 -0400 Subject: [raleigh.rb] Pre-meeting Chow In-Reply-To: References: Message-ID: On Tue, May 17, 2011 at 13:21, Rick DeNatale wrote: > The usual place and time again tonight? Yup - I'll be at Randy's at 5:30 as usual. See ya'll there. -- Nathaniel Talbott <:((>< From ddavis1 at gmail.com Tue May 17 13:32:25 2011 From: ddavis1 at gmail.com (David Davis) Date: Tue, 17 May 2011 13:32:25 -0400 Subject: [raleigh.rb] Pre-meeting Chow In-Reply-To: References: Message-ID: Rick, Who do you think you are? The meeting organizer?! David On Tue, May 17, 2011 at 1:21 PM, Rick DeNatale wrote: > The usual place and time again tonight? > > > ---------- Forwarded message ---------- > From: Nathaniel Talbott > Date: Tue, Apr 19, 2011 at 2:05 PM > Subject: [raleigh.rb] Pre-meeting Chow > To: "The mailing list of raleigh.rb" > > > Chow tonight will be had at Randy's Pizza: > > http://bit.ly/gafHf7 > http://www.randyspizzartp.com/ > > I'll be there by 5:30, and everyone is invited to join me to chat a > bit and unwind before heading over to iContact for the meeting proper. > > See you there! > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Github: http://github.com/rubyredrick > Twitter: @RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nwalls at ismedia.org Fri May 20 14:57:44 2011 From: nwalls at ismedia.org (Nathan L. Walls) Date: Fri, 20 May 2011 14:57:44 -0400 Subject: [raleigh.rb] Well-Grounded Rubyist vs. Programming Ruby 1.9 Message-ID: <3B45A140-ACA3-4BBB-829C-8AC217F11856@ismedia.org> Hi all, The PragProg's are having a Ruby-related 40-percent off sale that ends today. In looking at the qualifying titles (http://pragprog.com/news/rails-sale-40-off), I see Programming Ruby 1.9. Now, if I didn't already have David Black's Well-Grounded Rubyist, I'd bite in a second. But, having Well-Grounded Rubyist, would there still be enough benefit in picking-up the Pickaxe? Thanks, Nathan -- Nathan L. Walls | http://wallscorp.us/ From rick.denatale at gmail.com Fri May 20 17:32:18 2011 From: rick.denatale at gmail.com (Rick DeNatale) Date: Fri, 20 May 2011 17:32:18 -0400 Subject: [raleigh.rb] Well-Grounded Rubyist vs. Programming Ruby 1.9 In-Reply-To: <3B45A140-ACA3-4BBB-829C-8AC217F11856@ismedia.org> References: <3B45A140-ACA3-4BBB-829C-8AC217F11856@ismedia.org> Message-ID: On Fri, May 20, 2011 at 2:57 PM, Nathan L. Walls wrote: > Hi all, > > The PragProg's are having a Ruby-related 40-percent off sale that ends today. In looking at the qualifying titles (http://pragprog.com/news/rails-sale-40-off), I see Programming Ruby 1.9. > > Now, if I didn't already have David Black's Well-Grounded Rubyist, I'd bite in a second. But, having Well-Grounded Rubyist, would there still be enough benefit in picking-up the Pickaxe? > I think so but it's up to you. The pickaxe is a much better Reference to Ruby IMHO. I read the WGR once, but I keep going back to the pickaxe, usually the electronic version, now that the 1.9 edition is available as an ePub and works nicely on my iPad. Dave T, and David B have different styles the tutorial sections of each might strike different people differently. Now, TWGR does have a blurb on the back cover and not one but two nice acknowledgements of a certain local Rubyist, one of those right after the mention of Guy Decoux (an accident of the alphabet I'm sure). -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale From dhughes at alagad.com Mon May 23 14:41:42 2011 From: dhughes at alagad.com (Doug Hughes) Date: Mon, 23 May 2011 14:41:42 -0400 Subject: [raleigh.rb] Looking for a Ruby and Rails Tutor Message-ID: Hi, I've been a programmer for many years and have a good deal of experience with a range of languages and frameworks. However, over the last year I've been putting time here and there into an app I'm writing in Ruby and Rails. The longer I work on this, the more I realize I don't know about Rails and Ruby in general. As a result, I run into issues that are, to me, somewhat impenetrable. I'm looking to find someone who would be willing to be a tutor to me and answer questions as they come up. This would, of course, be paid. For example, I want to create some sort of process that listens for updates from the Twitter Streaming API. Conceptually I know that I can do that using the Daemon gem. I also found a plugin to generate Daemons for RoR. I generated a Daemon and all I can get it to do is dump errors into its log. I simply don't know enough to get past this issue and using Google is not really helping me find the answers. And, besides, 90% of the time I don't understand why the answers that I find work or, in some cases, how to actually use the answer at all. As another example, I eventually want to expose an API to my application. However, I haven't really paid any mind to RESTful urls or routing and I'm concerned I'm coding myself into a corner. I'm hoping that whoever I work with would be able to take some time as these things come up and help me out. I'm happy to pay a fair rate for your time. I may even end up having you do some work here and there for me. I'm currently working with: Ruby 1.8 and 1.9 (I just switched to 1.9.2 yesterday) Rails 3 Postgres Heroku OS X (locally) I'm not quite sure what else to volunteer at this point. If you're interested, drop me an email and let me know how you could help. If you have questions, email on this list or to me personally would be welcomed. Thanks a lot for your time! Doug Hughes, President Alagad Inc. dhughes at alagad.com 888 Alagad4 (x300) Direct: 651 Alagad4 (651-252-4234) Fax: 888-248-7836 Follow Alagad on Twitter: @AlagadInc Follow Doug @DougHughes and @DougsIdeas Fan Alagad on Facebook: http://www.facebook.com/pages/Alagad/214035749318 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhughes at alagad.com Mon May 23 17:37:30 2011 From: dhughes at alagad.com (Doug Hughes) Date: Mon, 23 May 2011 17:37:30 -0400 Subject: [raleigh.rb] Looking for a Ruby and Rails Tutor In-Reply-To: References: Message-ID: In case it makes a difference, I'm not looking for onsite tutoring. I'm really looking for someone I could IM, email or call to discuss issues with. I have an Adobe Connect room and can do screen sharing as well. So no one need deal with me in person. :) Doug Hughes On Mon, May 23, 2011 at 2:41 PM, Doug Hughes wrote: > Hi, I've been a programmer for many years and have a good deal of > experience with a range of languages and frameworks. However, over the last > year I've been putting time here and there into an app I'm writing in Ruby > and Rails. The longer I work on this, the more I realize I don't know about > Rails and Ruby in general. As a result, I run into issues that are, to me, > somewhat impenetrable. > > I'm looking to find someone who would be willing to be a tutor to me and > answer questions as they come up. This would, of course, be paid. > > For example, I want to create some sort of process that listens for updates > from the Twitter Streaming API. Conceptually I know that I can do that > using the Daemon gem. I also found a plugin to generate Daemons for RoR. I > generated a Daemon and all I can get it to do is dump errors into its log. > I simply don't know enough to get past this issue and using Google is not > really helping me find the answers. And, besides, 90% of the time I don't > understand why the answers that I find work or, in some cases, how to > actually use the answer at all. > > As another example, I eventually want to expose an API to my application. > However, I haven't really paid any mind to RESTful urls or routing and I'm > concerned I'm coding myself into a corner. > > I'm hoping that whoever I work with would be able to take some time as > these things come up and help me out. I'm happy to pay a fair rate for your > time. I may even end up having you do some work here and there for me. > > I'm currently working with: > > Ruby 1.8 and 1.9 (I just switched to 1.9.2 yesterday) > Rails 3 > Postgres > Heroku > OS X (locally) > > I'm not quite sure what else to volunteer at this point. If you're > interested, drop me an email and let me know how you could help. If you > have questions, email on this list or to me personally would be welcomed. > > Thanks a lot for your time! > > Doug Hughes, President > Alagad Inc. > dhughes at alagad.com > 888 Alagad4 (x300) > Direct: 651 Alagad4 (651-252-4234) > Fax: 888-248-7836 > > Follow Alagad on Twitter: @AlagadInc > Follow Doug @DougHughes and @DougsIdeas > Fan Alagad on Facebook: http://www.facebook.com/pages/Alagad/214035749318 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nwalls at ismedia.org Mon May 23 18:09:40 2011 From: nwalls at ismedia.org (Nathan L. Walls) Date: Mon, 23 May 2011 18:09:40 -0400 Subject: [raleigh.rb] Placing assets for rspec tests Message-ID: Hi all, I'm converting my shop from svn to Git shortly. Along the way, I'm adding some policy enforcement and issue notifications via hooks. RSpec fits well and testing my commit-msg hook is pretty straightforward. The (small) issue I have is in testing a post-receive hook for when code is pushed to the origin server. I'd like to create a test repository for use in testing the objects I'm building. The question I have is, where to put it? My spec/ directory doesn't feel quite right, nor does vendor/ Thoughts? Thanks, Nathan -- Nathan L. Walls | http://wallscorp.us/ From dhughes at alagad.com Mon May 23 22:33:02 2011 From: dhughes at alagad.com (Doug Hughes) Date: Mon, 23 May 2011 22:33:02 -0400 Subject: [raleigh.rb] Rails question Message-ID: I was wondering if anyone on this list could tell me how to call a controller function in Rails 3 from outside that controller? Specifically, I've created a daemon that handles a Twitter Site Stream to watch tweets. When a tweet comes in I need to call a function on one of my controllers. The controller is TopicsController and the method is quick_rating. Doing the following results in nothing happening that I can see: TopicsController.quick_rating(various, args, go, here) Any suggestions? I figure that calling a controller method may not be something you can do directly. If so, do you have any other suggestions? Thanks for the help, Doug Hughes, President Alagad Inc. dhughes at alagad.com 888 Alagad4 (x300) Direct: 651 Alagad4 (651-252-4234) Fax: 888-248-7836 Follow Alagad on Twitter: @AlagadInc Follow Doug @DougHughes and @DougsIdeas Fan Alagad on Facebook: http://www.facebook.com/pages/Alagad/214035749318 -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.ball at gmail.com Mon May 23 23:05:58 2011 From: donald.ball at gmail.com (Donald Ball) Date: Mon, 23 May 2011 23:05:58 -0400 Subject: [raleigh.rb] Rails question In-Reply-To: References: Message-ID: The standard thinking is that the business logic you're interested in calling should live on your models. The controller should be dedicated to the task of passing the request parameters in to the business method and giving the result to the client in the form it wants. This pattern is called fat model, skinny controller. That's not a bad pattern for you to follow here, probably. Your daemon is itself a kind of controller, receiving tweet requests instead of HTTP requests. If you move the business logic into a model, you can have both your rails HTTP controller and your homegrown twitter controller call it. -- donald From adam at thewilliams.ws Mon May 23 23:08:31 2011 From: adam at thewilliams.ws (Adam Williams) Date: Mon, 23 May 2011 23:08:31 -0400 Subject: [raleigh.rb] Rails question In-Reply-To: References: Message-ID: <8C65382C-44DD-4A84-B377-502947F674C1@thewilliams.ws> Calling controller functions directly is not something I've ever attempted. Would it make sense to have whatever is in that method moved into your model classes? On May 23, 2011, at 10:33 PM, Doug Hughes wrote: > I was wondering if anyone on this list could tell me how to call a controller function in Rails 3 from outside that controller? Specifically, I've created a daemon that handles a Twitter Site Stream to watch tweets. When a tweet comes in I need to call a function on one of my controllers. The controller is TopicsController and the method is quick_rating. Doing the following results in nothing happening that I can see: > > TopicsController.quick_rating(various, args, go, here) > > Any suggestions? I figure that calling a controller method may not be something you can do directly. If so, do you have any other suggestions? > > Thanks for the help, > > Doug Hughes, President > Alagad Inc. > dhughes at alagad.com > 888 Alagad4 (x300) > Direct: 651 Alagad4 (651-252-4234) > Fax: 888-248-7836 > > Follow Alagad on Twitter: @AlagadInc > Follow Doug @DougHughes and @DougsIdeas > Fan Alagad on Facebook: http://www.facebook.com/pages/Alagad/214035749318 > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: From harry.park at gmail.com Mon May 23 23:02:35 2011 From: harry.park at gmail.com (Harry Park) Date: Mon, 23 May 2011 23:02:35 -0400 Subject: [raleigh.rb] Looking for a Ruby and Rails Tutor In-Reply-To: References: Message-ID: Doug, Here's something that might be helpful. Twitter streaming gem + daemon examples. Give it a whack. http://intridea.com/2009/9/22/tweetstream-ruby-access-to-the-twitter-streaming-api?blog=company Gem: https://github.com/intridea/tweetstream Cheers, Harry On Mon, May 23, 2011 at 5:37 PM, Doug Hughes wrote: > In case it makes a difference, I'm not looking for onsite tutoring. I'm > really looking for someone I could IM, email or call to discuss issues with. > I have an Adobe Connect room and can do screen sharing as well. So no one > need deal with me in person. :) > > Doug Hughes > > > On Mon, May 23, 2011 at 2:41 PM, Doug Hughes wrote: > >> Hi, I've been a programmer for many years and have a good deal of >> experience with a range of languages and frameworks. However, over the last >> year I've been putting time here and there into an app I'm writing in Ruby >> and Rails. The longer I work on this, the more I realize I don't know about >> Rails and Ruby in general. As a result, I run into issues that are, to me, >> somewhat impenetrable. >> >> I'm looking to find someone who would be willing to be a tutor to me and >> answer questions as they come up. This would, of course, be paid. >> >> For example, I want to create some sort of process that listens for >> updates from the Twitter Streaming API. Conceptually I know that I can do >> that using the Daemon gem. I also found a plugin to generate Daemons for >> RoR. I generated a Daemon and all I can get it to do is dump errors into >> its log. I simply don't know enough to get past this issue and using Google >> is not really helping me find the answers. And, besides, 90% of the time I >> don't understand why the answers that I find work or, in some cases, how to >> actually use the answer at all. >> >> As another example, I eventually want to expose an API to my application. >> However, I haven't really paid any mind to RESTful urls or routing and I'm >> concerned I'm coding myself into a corner. >> >> I'm hoping that whoever I work with would be able to take some time as >> these things come up and help me out. I'm happy to pay a fair rate for your >> time. I may even end up having you do some work here and there for me. >> >> I'm currently working with: >> >> Ruby 1.8 and 1.9 (I just switched to 1.9.2 yesterday) >> Rails 3 >> Postgres >> Heroku >> OS X (locally) >> >> I'm not quite sure what else to volunteer at this point. If you're >> interested, drop me an email and let me know how you could help. If you >> have questions, email on this list or to me personally would be welcomed. >> >> Thanks a lot for your time! >> >> Doug Hughes, President >> Alagad Inc. >> dhughes at alagad.com >> 888 Alagad4 (x300) >> Direct: 651 Alagad4 (651-252-4234) >> Fax: 888-248-7836 >> >> Follow Alagad on Twitter: @AlagadInc >> Follow Doug @DougHughes and @DougsIdeas >> Fan Alagad on Facebook: http://www.facebook.com/pages/Alagad/214035749318 >> > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhughes at alagad.com Tue May 24 09:36:01 2011 From: dhughes at alagad.com (Doug Hughes) Date: Tue, 24 May 2011 09:36:01 -0400 Subject: [raleigh.rb] Looking for a Ruby and Rails Tutor In-Reply-To: References: Message-ID: Thanks! I actually got this stuff working yesterday. I discovered that the daemon gem's _ctl scripts have a run method which runs it in the current console so I can see output as it works. That was really helpful. It turned out that the gemfile.lock for my rails app specified a few gems from Rails 3.0.3 while I had 3.0.7 installed. I changed the version numbers in that file and viola, it worked. I'm not sure how I figured that out, but I did! At this point I'm able to handle data streaming in and I just need to pass data into my Model. One last point about the tutoring I'm looking for. I'm not looking to be able to just call or IM whenever I want. It's more that I'd setup a time and work with the person. I'm not looking to just interrupt people while they're working. :) Thanks, Doug Hughes, President Alagad Inc. dhughes at alagad.com 888 Alagad4 (x300) Direct: 651 Alagad4 (651-252-4234) Fax: 888-248-7836 Follow Alagad on Twitter: @AlagadInc Follow Doug @DougHughes and @DougsIdeas Fan Alagad on Facebook: http://www.facebook.com/pages/Alagad/214035749318 On Mon, May 23, 2011 at 11:02 PM, Harry Park wrote: > Doug, > > Here's something that might be helpful. Twitter streaming gem + daemon > examples. Give it a whack. > > > http://intridea.com/2009/9/22/tweetstream-ruby-access-to-the-twitter-streaming-api?blog=company > > Gem: https://github.com/intridea/tweetstream > > Cheers, > Harry > > On Mon, May 23, 2011 at 5:37 PM, Doug Hughes wrote: > >> In case it makes a difference, I'm not looking for onsite tutoring. I'm >> really looking for someone I could IM, email or call to discuss issues with. >> I have an Adobe Connect room and can do screen sharing as well. So no one >> need deal with me in person. :) >> >> Doug Hughes >> >> >> On Mon, May 23, 2011 at 2:41 PM, Doug Hughes wrote: >> >>> Hi, I've been a programmer for many years and have a good deal of >>> experience with a range of languages and frameworks. However, over the last >>> year I've been putting time here and there into an app I'm writing in Ruby >>> and Rails. The longer I work on this, the more I realize I don't know about >>> Rails and Ruby in general. As a result, I run into issues that are, to me, >>> somewhat impenetrable. >>> >>> I'm looking to find someone who would be willing to be a tutor to me and >>> answer questions as they come up. This would, of course, be paid. >>> >>> For example, I want to create some sort of process that listens for >>> updates from the Twitter Streaming API. Conceptually I know that I can do >>> that using the Daemon gem. I also found a plugin to generate Daemons for >>> RoR. I generated a Daemon and all I can get it to do is dump errors into >>> its log. I simply don't know enough to get past this issue and using Google >>> is not really helping me find the answers. And, besides, 90% of the time I >>> don't understand why the answers that I find work or, in some cases, how to >>> actually use the answer at all. >>> >>> As another example, I eventually want to expose an API to my application. >>> However, I haven't really paid any mind to RESTful urls or routing and I'm >>> concerned I'm coding myself into a corner. >>> >>> I'm hoping that whoever I work with would be able to take some time as >>> these things come up and help me out. I'm happy to pay a fair rate for your >>> time. I may even end up having you do some work here and there for me. >>> >>> I'm currently working with: >>> >>> Ruby 1.8 and 1.9 (I just switched to 1.9.2 yesterday) >>> Rails 3 >>> Postgres >>> Heroku >>> OS X (locally) >>> >>> I'm not quite sure what else to volunteer at this point. If you're >>> interested, drop me an email and let me know how you could help. If you >>> have questions, email on this list or to me personally would be welcomed. >>> >>> Thanks a lot for your time! >>> >>> Doug Hughes, President >>> Alagad Inc. >>> dhughes at alagad.com >>> 888 Alagad4 (x300) >>> Direct: 651 Alagad4 (651-252-4234) >>> Fax: 888-248-7836 >>> >>> Follow Alagad on Twitter: @AlagadInc >>> Follow Doug @DougHughes and @DougsIdeas >>> Fan Alagad on Facebook: >>> http://www.facebook.com/pages/Alagad/214035749318 >>> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhughes at alagad.com Tue May 24 09:47:39 2011 From: dhughes at alagad.com (Doug Hughes) Date: Tue, 24 May 2011 09:47:39 -0400 Subject: [raleigh.rb] Rails question In-Reply-To: References: Message-ID: Ah, this make sense. In other languages I've worked in you'd tend to specify services that would act as a facade and orchestrated more complex work with Model-level components. From my readings about Rails, it seemed like most people were putting this type of orchestration code in their controllers, especially when the business logic necessitates working with multiple objects. Is there a pattern followed commonly in Rails development where a set of services would be created to provide, essentially, a simplified interface that the controllers could talk to instead of talking directly to business objects in the Model? Doug Hughes, President Alagad Inc. dhughes at alagad.com 888 Alagad4 (x300) Direct: 651 Alagad4 (651-252-4234) Fax: 888-248-7836 Follow Alagad on Twitter: @AlagadInc Follow Doug @DougHughes and @DougsIdeas Fan Alagad on Facebook: http://www.facebook.com/pages/Alagad/214035749318 On Mon, May 23, 2011 at 11:05 PM, Donald Ball wrote: > The standard thinking is that the business logic you're interested in > calling should live on your models. The controller should be dedicated > to the task of passing the request parameters in to the business > method and giving the result to the client in the form it wants. This > pattern is called fat model, skinny controller. > > That's not a bad pattern for you to follow here, probably. Your daemon > is itself a kind of controller, receiving tweet requests instead of > HTTP requests. If you move the business logic into a model, you can > have both your rails HTTP controller and your homegrown twitter > controller call it. > > -- donald > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tj at stank.us Tue May 24 10:17:31 2011 From: tj at stank.us (TJ Stankus) Date: Tue, 24 May 2011 10:17:31 -0400 Subject: [raleigh.rb] Rails question In-Reply-To: References: Message-ID: > Is there a pattern followed commonly in Rails development where a set of > services would be created to provide, essentially, a simplified interface > that the controllers could talk to instead of talking directly to business > objects in the Model? Yes. The Presenter Pattern. If you Google around for this you'll get a lot of hits, but if you're using Rails 3, stick to the most recent information. Rails 3 and ActiveModel have made it simpler to make a Presenter behave like an ActiveRecord object (sans persistence) - which makes it work with form helpers, etc. Here's an intro to ActiveModel: http://railscasts.com/episodes/219-active-model Also, the Rails Antipatterns book introduces the Presenter Pattern as a solution to fat controllers. HTH, -TJ From dhughes at alagad.com Tue May 24 10:59:20 2011 From: dhughes at alagad.com (Doug Hughes) Date: Tue, 24 May 2011 10:59:20 -0400 Subject: [raleigh.rb] Rails question In-Reply-To: References: Message-ID: Excellent info. I'll look at that url later on today. Thanks a lot! Doug Hughes, President Alagad Inc. dhughes at alagad.com 888 Alagad4 (x300) Direct: 651 Alagad4 (651-252-4234) Fax: 888-248-7836 Follow Alagad on Twitter: @AlagadInc Follow Doug @DougHughes and @DougsIdeas Fan Alagad on Facebook: http://www.facebook.com/pages/Alagad/214035749318 On Tue, May 24, 2011 at 10:17 AM, TJ Stankus wrote: > > Is there a pattern followed commonly in Rails development where a set of > > services would be created to provide, essentially, a simplified interface > > that the controllers could talk to instead of talking directly to > business > > objects in the Model? > > Yes. The Presenter Pattern. If you Google around for this you'll get a > lot of hits, but if you're using Rails 3, stick to the most recent > information. Rails 3 and ActiveModel have made it simpler to make a > Presenter behave like an ActiveRecord object (sans persistence) - > which makes it work with form helpers, etc. > > Here's an intro to ActiveModel: > http://railscasts.com/episodes/219-active-model > > Also, the Rails Antipatterns book introduces the Presenter Pattern as > a solution to fat controllers. > > HTH, > > -TJ > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcrawley at gmail.com Wed May 25 12:29:56 2011 From: tcrawley at gmail.com (Tobias Crawley) Date: Wed, 25 May 2011 12:29:56 -0400 Subject: [raleigh.rb] Slides from my TorqueBox presentation (last month) Message-ID: Thanks for allowing me to come pitch TorqueBox to you guys last month, I enjoyed it. I posted the slides and a bit of followup on the TorqueBox blog: http://torquebox.org/news/2011/04/20/raleighrb-preso/ Since then, we've released 1.0, and are releasing 1.0.1 today with some nice boot & deploy speed improvements (among other fixes/enhancements). (I intended to send this out over a month ago, but just found that version in my drafts folder. Apologies for the late delivery!) Toby From dhughes at alagad.com Sun May 29 22:07:58 2011 From: dhughes at alagad.com (Doug Hughes) Date: Sun, 29 May 2011 22:07:58 -0400 Subject: [raleigh.rb] Gem crashing Ruby? Message-ID: Hi, I'm trying to make use of the FBgraph gem (https://github.com/nsanta/fbgraph) in a Rails 3 app. I'm using version 1.8.0 of it. I think I'm using it correctly, but every time I run a method that calls FBGraph::Client.new(....) ruby crashes with this output: Process finished with exit code 133 I'm not so much asking for help with FBgraph, but help figuring out why this is crashing. Does anyone have any suggestions on how I could track this down? I'm not seeing anything useful output to the console or into the logs. I'd try to step through the gem's code to find out where exactly it's dying, but I'm not quite sure how to do that. If I wanted to get the raw source for this gem from github, where would I put this in my rails app to test it? Would I just stick it under /lib? Thanks for the help! Doug Hughes dhughes at alagad.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From nwalls at ismedia.org Mon May 30 16:36:01 2011 From: nwalls at ismedia.org (Nathan L. Walls) Date: Mon, 30 May 2011 16:36:01 -0400 Subject: [raleigh.rb] Gem crashing Ruby? In-Reply-To: References: Message-ID: <149138F1-86E9-4B2B-B76E-307A33B90495@ismedia.org> Hi Doug, My first starting point would be to remove Rails from the equation. Instead of debugging the gem through your app, find the gem directory on your system, and see if there are any tests to run. A number of gems just need to have 'rake' run in the top level directory to execute the test suite. Presuming you're on OS X and not running rvm, look in the following directory: /Library/Ruby/Gems/1.8/gems If the tests pass (and it may be easier to see if there's a github project for the gem you can clone), I'd next turn to IRB and see if you can create an object instance. This would also be my suggestion if it turns out there are no tests. Cheers, Nathan -- Nathan L. Walls | http://wallscorp.us/ On May 29, 2011, at 10:07 PM, Doug Hughes wrote: > Hi, > > I'm trying to make use of the FBgraph gem (https://github.com/nsanta/fbgraph) in a Rails 3 app. I'm using version 1.8.0 of it. I think I'm using it correctly, but every time I run a method that calls FBGraph::Client.new(....) ruby crashes with this output: > > Process finished with exit code 133 > > I'm not so much asking for help with FBgraph, but help figuring out why this is crashing. Does anyone have any suggestions on how I could track this down? I'm not seeing anything useful output to the console or into the logs. > > I'd try to step through the gem's code to find out where exactly it's dying, but I'm not quite sure how to do that. If I wanted to get the raw source for this gem from github, where would I put this in my rails app to test it? Would I just stick it under /lib? > > Thanks for the help! > > Doug Hughes > dhughes at alagad.com > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From dhughes at alagad.com Mon May 30 23:40:43 2011 From: dhughes at alagad.com (Doug Hughes) Date: Mon, 30 May 2011 23:40:43 -0400 Subject: [raleigh.rb] Gem crashing Ruby? In-Reply-To: <149138F1-86E9-4B2B-B76E-307A33B90495@ismedia.org> References: <149138F1-86E9-4B2B-B76E-307A33B90495@ismedia.org> Message-ID: Thanks for the feedback. I actually tracked the issue down to Typhoeus. I can't remember the exact line of code, but it was waaaay deep in the stack. I think the issue may have actually been how FBgraph was using it (via a few other gems). In the end I threw out FBgraph and went for Koala. Interestingly, Koala uses Typhoeus too, but works just fine. Doug Hughes On Mon, May 30, 2011 at 4:36 PM, Nathan L. Walls wrote: > Hi Doug, > > My first starting point would be to remove Rails from the equation. Instead > of debugging the gem through your app, find the gem directory on your > system, and see if there are any tests to run. A number of gems just need to > have 'rake' run in the top level directory to execute the test suite. > > Presuming you're on OS X and not running rvm, look in the following > directory: /Library/Ruby/Gems/1.8/gems > > If the tests pass (and it may be easier to see if there's a github project > for the gem you can clone), I'd next turn to IRB and see if you can create > an object instance. This would also be my suggestion if it turns out there > are no tests. > > Cheers, > > Nathan > -- > Nathan L. Walls | http://wallscorp.us/ > > > > On May 29, 2011, at 10:07 PM, Doug Hughes wrote: > > > Hi, > > > > I'm trying to make use of the FBgraph gem ( > https://github.com/nsanta/fbgraph) in a Rails 3 app. I'm using version > 1.8.0 of it. I think I'm using it correctly, but every time I run a method > that calls FBGraph::Client.new(....) ruby crashes with this output: > > > > Process finished with exit code 133 > > > > I'm not so much asking for help with FBgraph, but help figuring out why > this is crashing. Does anyone have any suggestions on how I could track > this down? I'm not seeing anything useful output to the console or into the > logs. > > > > I'd try to step through the gem's code to find out where exactly it's > dying, but I'm not quite sure how to do that. If I wanted to get the raw > source for this gem from github, where would I put this in my rails app to > test it? Would I just stick it under /lib? > > > > Thanks for the help! > > > > Doug Hughes > > dhughes at alagad.com > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From luke at ehresman.org Tue May 31 09:37:55 2011 From: luke at ehresman.org (Luke Ehresman) Date: Tue, 31 May 2011 09:37:55 -0400 Subject: [raleigh.rb] javascript unit testing best practices? Message-ID: What do you all use for unit testing JavaScript in your Rails applications? I have a CI testing environment, and would like to include automated JavaScript tests as part of the CI process. There are countless half-baked testing solutions out there, I'm interested in learning from your real world experience. What works? The solution I'm looking for needs be headless (i.e. we can run it on our build server without needing human intervention). Thanks, Luke -- Luke Ehresman, luke at ehresman.org CopperEgg - http://copperegg.com Tebros Systems - http://tebros.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at thewilliams.ws Tue May 31 10:05:17 2011 From: adam at thewilliams.ws (Adam Williams) Date: Tue, 31 May 2011 10:05:17 -0400 Subject: [raleigh.rb] javascript unit testing best practices? In-Reply-To: References: Message-ID: I'm going with Jasmine for bdd style testing, and expect to use http://code.google.com/p/phantomjs/ for headless CI execution. There is a Jasmine ruby gem that makes cli easy, but I don't know that it works flawlessly according to your standards. I cannot use the gem out of the box because I am using require.js for JS dependencies, and therefore currently maintain a SpecRunner.html file. I would love to hear back when you get your solution running! On May 31, 2011, at 9:37 AM, Luke Ehresman wrote: > What do you all use for unit testing JavaScript in your Rails applications? I have a CI testing environment, and would like to include automated JavaScript tests as part of the CI process. There are countless half-baked testing solutions out there, I'm interested in learning from your real world experience. What works? > > The solution I'm looking for needs be headless (i.e. we can run it on our build server without needing human intervention). > > Thanks, > Luke > > -- > Luke Ehresman, luke at ehresman.org > CopperEgg - http://copperegg.com > Tebros Systems - http://tebros.com > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathaniel at talbott.ws Tue May 31 10:10:57 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 31 May 2011 10:10:57 -0400 Subject: [raleigh.rb] javascript unit testing best practices? In-Reply-To: References: Message-ID: On Tue, May 31, 2011 at 09:37, Luke Ehresman wrote: > What do you all use for unit testing JavaScript in your Rails applications? > ?I have a CI testing environment, and would like to include automated > JavaScript tests as part of the CI process. ?There are countless half-baked > testing solutions out there, I'm interested in learning from your real world > experience. ?What works? > The solution I'm looking for needs be headless (i.e. we can run it on our > build server without needing human intervention). I'm really intrigued by zombie.js: http://zombie.labnotes.org/ Haven't had a chance to try it out yet, but Assaf's a smart cookie. -- Nathaniel Talbott <:((>< From adam at thewilliams.ws Tue May 31 10:19:20 2011 From: adam at thewilliams.ws (Adam Williams) Date: Tue, 31 May 2011 10:19:20 -0400 Subject: [raleigh.rb] javascript unit testing best practices? In-Reply-To: References: Message-ID: <9D76356F-B7E0-4AF2-A4DC-702C9DBC053E@thewilliams.ws> On May 31, 2011, at 10:10 AM, Nathaniel Talbott wrote: > > I'm really intrigued by zombie.js: > > http://zombie.labnotes.org/ > > Haven't had a chance to try it out yet, but Assaf's a smart cookie. It seems that so far, DOM emulation has been a tough nut to crack. Do you perceive this has overcome that challenge, using JSDOM? Is that better than having the DOM of Webkit, or is it that having Node.js as the runtime makes the tradeoff worth it? From nathaniel at talbott.ws Tue May 31 10:33:04 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Tue, 31 May 2011 10:33:04 -0400 Subject: [raleigh.rb] javascript unit testing best practices? In-Reply-To: <9D76356F-B7E0-4AF2-A4DC-702C9DBC053E@thewilliams.ws> References: <9D76356F-B7E0-4AF2-A4DC-702C9DBC053E@thewilliams.ws> Message-ID: On Tue, May 31, 2011 at 10:19, Adam Williams wrote: > It seems that so far, DOM emulation has been a tough nut to crack. Do you > perceive this has overcome that challenge, using JSDOM? Haven't tried it yet, so can't say. But I think workable browser emulation is an eventuality - a matter of when, not if. PhantomJS looks pretty cool as well, though - have to check that out. > Is that better than > having the DOM of Webkit, or is it that having Node.js as the runtime makes > the tradeoff worth it? Zombie.js seems significantly lighter weight than PhantomJS, which I find is a plus in some situations. I also have a completely unconfirmed hunch Zombie's also a bit faster for most things. FYI, ran across this short presentation while Googling around: http://jquery.bassistance.de/webtesting/presentation.html Good run down of the options and trade-offs. -- Nathaniel Talbott <:((>< From jim at jimvanfleet.com Tue May 31 10:51:21 2011 From: jim at jimvanfleet.com (Jim Van Fleet) Date: Tue, 31 May 2011 10:51:21 -0400 Subject: [raleigh.rb] javascript unit testing best practices? In-Reply-To: References: <9D76356F-B7E0-4AF2-A4DC-702C9DBC053E@thewilliams.ws> Message-ID: I've had good experiences with thoughtbot's capybara-webkit, although I have not yet gone through the gyrations to set it up on a CI server. http://robots.thoughtbot.com/post/4583605733/capybara-webkit. I liked not having to learn something new, and those BDD javascript libraries look to me like everything I don't like about rspec, not the good parts. It is headless and drives a webkit installation via QT. It's not really browser emulation in that sense, but working with a real browser. Not all of them, obviously, but at least it's something. I found it pretty easy to get integrated into a capy/cuke/Rails 3 stack and am running it happily in our test suite in terms of speed. We do have a pretty small suite for now, but as it grows over time, you already tag the tests you want JS integration for with @javascript, so it would be easy to train cuke to have a couple of different modes for rendering. I had to tweak the boot timeout settings, but poke around in what's available on Github and you can find what you're looking for if it's not quite working right. The documentation points to a particular window manager you can have installed on the box to allow QT to do its thing in headless mode. I can't speak to it actually working or not, but the thoughtbot guys are pretty serious about CI, so I presume it's possible. Jim On Tue, May 31, 2011 at 10:33 AM, Nathaniel Talbott wrote: > On Tue, May 31, 2011 at 10:19, Adam Williams wrote: > > > It seems that so far, DOM emulation has been a tough nut to crack. Do you > > perceive this has overcome that challenge, using JSDOM? > > Haven't tried it yet, so can't say. But I think workable browser > emulation is an eventuality - a matter of when, not if. PhantomJS > looks pretty cool as well, though - have to check that out. > > > > Is that better than > > having the DOM of Webkit, or is it that having Node.js as the runtime > makes > > the tradeoff worth it? > > Zombie.js seems significantly lighter weight than PhantomJS, which I > find is a plus in some situations. I also have a completely > unconfirmed hunch Zombie's also a bit faster for most things. > > FYI, ran across this short presentation while Googling around: > > http://jquery.bassistance.de/webtesting/presentation.html > > Good run down of the options and trade-offs. > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at bodkinconsulting.com Tue May 31 12:51:46 2011 From: joe at bodkinconsulting.com (joe Fair) Date: Tue, 31 May 2011 10:51:46 -0600 Subject: [raleigh.rb] javascript unit testing best practices? In-Reply-To: References: Message-ID: I haven't seen a good javascript unit tester. I've had better luck with integration tests. I started with watir, which actually plugged in to windows and ran IE as if you were typing it in. That's how I got started with Ruby. Lately I've just started using SeliniumIDE, which records your keystrokes to create the test then translates the test into whatever language you need. It has Rspec and TestUnit tests in the version I'm using. As far as headless, I haven't done it, but somebody is http://stackoverflow.com/questions/1966371/running-selenium-headless-without-using-xvfb Not really what you're looking for, but something to think about, Joe On Tue, May 31, 2011 at 7:37 AM, Luke Ehresman wrote: > What do you all use for unit testing JavaScript in your Rails applications? > I have a CI testing environment, and would like to include automated > JavaScript tests as part of the CI process. There are countless half-baked > testing solutions out there, I'm interested in learning from your real world > experience. What works? > > The solution I'm looking for needs be headless (i.e. we can run it on our > build server without needing human intervention). > > Thanks, > Luke > > -- > Luke Ehresman, luke at ehresman.org > CopperEgg - http://copperegg.com > Tebros Systems - http://tebros.com > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: