From thomas at ravinggenius.com Sun Jan 2 20:38:13 2011 From: thomas at ravinggenius.com (Thomas Ingram) Date: Sun, 2 Jan 2011 20:38:13 -0500 Subject: [raleigh.rb] generate routes with Model#id instead of Model#to_param Message-ID: I am trying to customize routes in a Rails 3 application. I have the following snippet in my config/routes.rb: namespace :admin do resources :nodes, :except => :show end Is there a way to specify, within the :admin namespace, that routes for Node should use Node#id instead of Node#to_param? More details at https://gist.github.com/762969. -- Thomas Ingram ><> From adam at thewilliams.ws Mon Jan 3 15:57:35 2011 From: adam at thewilliams.ws (Adam Williams) Date: Mon, 3 Jan 2011 15:57:35 -0500 Subject: [raleigh.rb] generate routes with Model#id instead of Model#to_param In-Reply-To: References: Message-ID: Is there a reason to_param should not be aliased to id on that class? On Jan 2, 2011, at 8:38 PM, Thomas Ingram wrote: > I am trying to customize routes in a Rails 3 application. I have the > following snippet in my config/routes.rb: > > namespace :admin do > resources :nodes, :except => :show > end > > Is there a way to specify, within the :admin namespace, that routes > for Node should use Node#id instead of Node#to_param? More details at > https://gist.github.com/762969. > > -- > Thomas Ingram ><> > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From thomas at ravinggenius.com Mon Jan 3 18:05:44 2011 From: thomas at ravinggenius.com (Thomas Ingram) Date: Mon, 3 Jan 2011 18:05:44 -0500 Subject: [raleigh.rb] generate routes with Model#id instead of Model#to_param In-Reply-To: References: Message-ID: I was thinking I had to override to_param to get nice, clean URLs. The way I did it worked, but didn't allow the path to contain slashes. After discussing the issue with Paul N, I decided to not override to_params. Instead I added a method that returns either Node#path or Node#id. This works as long as I don't use shortcuts when generating links. I updated the gist to illustrate if you wish to look. On Mon, Jan 3, 2011 at 15:57, Adam Williams wrote: > Is there a reason to_param should not be aliased to id on that class? -- Thomas Ingram ><> From dsnider at bracket7.com Tue Jan 4 12:28:31 2011 From: dsnider at bracket7.com (Daniel Snider) Date: Tue, 4 Jan 2011 12:28:31 -0500 Subject: [raleigh.rb] Job/contract opportunity Message-ID: <01C3992F-2DAC-4D4D-8E43-D53BF16EACA1@bracket7.com> Hello all, We have an opportunity on a fairly large project for someone with EMR/EHR experience. In addition to Rails, iOS and perhaps PHP development experience would be great. If any of you or someone you know might be interested, please contact me directly at dsnider [at] bracket7.com. You can learn more about us here: http://bracket7.com Thanks everyone! Dan Daniel Snider | Bracket7, LLC | 919-461-4996 ext. 3 | www.bracket7.com From lynn at executechllc.com Tue Jan 4 17:38:51 2011 From: lynn at executechllc.com (Lynn Goins) Date: Tue, 04 Jan 2011 17:38:51 -0500 Subject: [raleigh.rb] Developer Opening in the Triangle Message-ID: <4D23A17B.1080304@executechllc.com> I wanted to share a new local opening in case there might be someone that is looking or at least open to entertaining a new position. The position is a permanent position and it is requesting Ruby on Rails experience. Below is a little more information in regards to the requirements. If you would like to discuss this further and receive more information, feel free to call me or send me an email. Developer Job Requirements . 2+ years of software development experience . Ruby on Rails (not required but a huge plus). . Experience with object-oriented development: Java, C++, or C# . Experience with web-technologies: JSP/ASP, Javascript . Proficiency with SQL . Strong Problem-solving skills -- Lynn Goins/ Staffing Executive Direct: 919-556-6977 / Fax: 509-695-6198 Email:lynn at executechllc.com Linkedin Profile:http://www.linkedin.com/in/lynngoins Philippians 4:6-7 and 4:13 -------------- next part -------------- An HTML attachment was scrubbed... URL: From blakewatters at gmail.com Thu Jan 6 11:07:43 2011 From: blakewatters at gmail.com (Blake Watters) Date: Thu, 6 Jan 2011 11:07:43 -0500 Subject: [raleigh.rb] Event: Developing RESTful iOS Apps with RestKit Message-ID: Hi all - I wanted to reach out and let you know about about an event that Two Toasters has organized in partnership with Carrboro Creative Coworking. We're hosting an in-depth four hour workshop to teach local iOS developers how to rapidly develop web service backed iPhone & iPad applications via RestKit, an Apache licensed framework developed at Two Toasters. This event is a fundraiser to benefit the Leukemia and Lymphoma Society. Content will be technical and immediately applicable to the development of production iOS apps. When: Saturday January 22, 2011. 1-5pm Where: Carrboro Creative Coworking Details & ticket info: http://restkit.eventbrite.com/ Early bird tickets are currently on sale at a deep discount -- grab them quick! Happy New Year! - Blake -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at razorkast.com Thu Jan 6 16:27:33 2011 From: dave at razorkast.com (Dave Haney) Date: Thu, 06 Jan 2011 16:27:33 -0500 Subject: [raleigh.rb] Need RoR help in Raleigh Message-ID: <4D2633C5.9060902@razorkast.com> I am the CEO of a bootstrapped start-up in Raleigh that is looking for a senior RubyonRails developer to do some off-hours remote work for our core software application. The work can be done from your house when it is convenient for you. The company already has revenue and a very bright future. This software application IS the company and is mission critical. The application was developed by an excellent RoR architect that is actually part of this group, but he is moving and getting a little too busy with his full-time job to be able to continue to help to the extent needed. I would probably need 5-10 hours per week of work. I need someone that can work autonomously and is adept at basic UI design as well as database engineering. The core technologies used in this project are RubyOnRails, Subversion and PivotalTracker. The application is being hosted on a Linux server at LiNode, so you would need to be comfortable in that environment as well. Please email me if you would have interest in talking further about this at dave at razorkast.com. Thanks! Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From mshiltonj at gmail.com Wed Jan 12 16:22:22 2011 From: mshiltonj at gmail.com (Steven Hilton) Date: Wed, 12 Jan 2011 16:22:22 -0500 Subject: [raleigh.rb] XML Builder and utf-8 encoded text Message-ID: All, I'm trying to output utf-8 encoded xml with Builder, and my results don't seem to match the Builder docs. I'm using ruby 1.8.6 (don't ask) and Builder 2.1.2, although this behavior is still seen on ruby 1.8.7. The docs say I should be able to have utf-8 encoded text: http://builder.rubyforge.org/files/README_rdoc.html "You can get UTF-8 encoded output by making sure that the XML encoding is set to "UTF-8" and that the $KCODE variable is set to "UTF8". " See the utf-8 examples near the bottom of that page. However, my xml seems to stay entity-encoded... require 'rubygems' require 'builder' $KCODE='UTF8' xml = Builder::XmlMarkup.new xml.instruct!(:xml, :encoding => 'UTF-8'); xml.sample('???') puts xml.target! #=> 许可证 Am I doing something wrong? Is there a better way to generate utf-8 encoded xml? Thanks. - Steven From jim at jimvanfleet.com Wed Jan 12 16:54:19 2011 From: jim at jimvanfleet.com (Jim Van Fleet) Date: Wed, 12 Jan 2011 16:54:19 -0500 Subject: [raleigh.rb] XML Builder and utf-8 encoded text In-Reply-To: References: Message-ID: See if this thread helps. https://rails.lighthouseapp.com/projects/8994/tickets/1446-fix-utf-8-output-for-builder Jim On Wed, Jan 12, 2011 at 4:22 PM, Steven Hilton wrote: > All, > > I'm trying to output utf-8 encoded xml with Builder, and my results > don't seem to match the Builder docs. > > I'm using ruby 1.8.6 (don't ask) and Builder 2.1.2, although this > behavior is still seen on ruby 1.8.7. > > The docs say I should be able to have utf-8 encoded text: > > http://builder.rubyforge.org/files/README_rdoc.html > "You can get UTF-8 encoded output by making sure that the XML encoding > is set to "UTF-8" and that the $KCODE variable is set to "UTF8". " > See the utf-8 examples near the bottom of that page. > > However, my xml seems to stay entity-encoded... > > require 'rubygems' > require 'builder' > > $KCODE='UTF8' > xml = Builder::XmlMarkup.new > xml.instruct!(:xml, :encoding => 'UTF-8'); > xml.sample('???') > puts xml.target! #=> encoding="UTF-8"?>许可证 > > Am I doing something wrong? Is there a better way to generate utf-8 encoded > xml? > > Thanks. > > - Steven > _______________________________________________ > 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 mshiltonj at gmail.com Wed Jan 12 17:33:56 2011 From: mshiltonj at gmail.com (Steven Hilton) Date: Wed, 12 Jan 2011 17:33:56 -0500 Subject: [raleigh.rb] XML Builder and utf-8 encoded text In-Reply-To: References: Message-ID: Ah, thank you. I did find one other useful link on the subject: http://iceskysl.1sters.com/?p=451 Which offers monkey patch for the version of Builder were on. Lesson: Stay up to date on your module usage or you end up spinning your wheels on bugs that have already been found and fixed. /me kicks a rock. Thanks. - Steven On Wed, Jan 12, 2011 at 4:54 PM, Jim Van Fleet wrote: > See if this thread helps. > https://rails.lighthouseapp.com/projects/8994/tickets/1446-fix-utf-8-output-for-builder > Jim > > On Wed, Jan 12, 2011 at 4:22 PM, Steven Hilton wrote: >> >> All, >> >> I'm trying to output utf-8 encoded xml with Builder, and my results >> don't seem to match the Builder docs. >> >> I'm using ruby 1.8.6 (don't ask) and Builder 2.1.2, although this >> behavior is still seen on ruby 1.8.7. >> >> The docs say I should be able to have utf-8 encoded text: >> >> http://builder.rubyforge.org/files/README_rdoc.html >> "You can get UTF-8 encoded output by making sure that the XML encoding >> is set to "UTF-8" and that the $KCODE variable is set to "UTF8". " >> See the utf-8 examples near the bottom of that page. >> >> However, my xml seems to stay entity-encoded... >> >> require 'rubygems' >> require 'builder' >> >> $KCODE='UTF8' >> xml = Builder::XmlMarkup.new >> xml.instruct!(:xml, :encoding => 'UTF-8'); >> xml.sample('???') >> puts xml.target! #=> > encoding="UTF-8"?>许可证 >> >> Am I doing something wrong? Is there a better way to generate utf-8 >> encoded xml? >> >> Thanks. >> >> - Steven >> _______________________________________________ >> 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 > From aok at chariotsolutions.com Fri Jan 14 07:07:20 2011 From: aok at chariotsolutions.com (Andrea O. K. Wright) Date: Fri, 14 Jan 2011 07:07:20 -0500 Subject: [raleigh.rb] Philly Event: Jim Weirich, Yehuda Katz, David A. Black, Ola Bini, many others Message-ID: Registration is open for the 6th Annual Philly Emerging Tech Conference (a.k.a. Emerging Technologies for the Enterprise), which is set for April 27 - April 28 at the Society Hill Sheraton in Philadelphia. The Early Bird rate, available through February 15, is $295 per person. If you can take advantage of the group discount (4 colleagues or friends, not necessarily from the same company, registering at the same time), the Early Bird price goes down to $221 per person. The conference sold out last year. To register: http://phillyemergingtech.com/2011/register Rubyists on the roster for this 2-day, 5-track event include: * David A. Black (author of Ruby for Rails and the Well-Grounded Rubyist) * Ola Bini (JRuby Core team; author of Practical JRuby on Rails Web 2.0 Projects) * David Chelimsky (RSpec lead developer) * Davis Frank (Jasmine BDD/JavaScript project committer) * Yehuda Katz (SproutCore project team; Rails Core team) * Nick Sieger (JRuby Core team) * Bruce Tate (author of Seven Languages in Seven Weeks) * Jim Weirich (creator of the rake tool) Talks about a wide array of technologies complement the Ruby-relatedcontent. The event features Ryan Dahl (creator of node.js); David Kaneda (creator of jQtouch); Ron Jeffries (co-author of The Agile Manifesto); Chris Richardson (Head of Cloud Development; SpringSource); Johanna Rothman (author of Manage It! Your Guide to Modern, Pragmatic Project Management); Kevin Smith (author of the Pragmatic Erlang screencasts); Jonathan Stark (author of Building iPhone Apps with HTML, CSS, and JavaScript); and many others. The keynote speakers are Molly Holzschlag (web standard evangelist) and Stormy Peters (head of developer engagement at Mozilla). The list of confirmed speakers to date is here: http://phillyemergingtech.com/2011/speakers More speakers and session abstracts will be added over the next few weeks. From javery at infozerk.com Mon Jan 17 12:19:55 2011 From: javery at infozerk.com (James Avery) Date: Mon, 17 Jan 2011 12:19:55 -0500 Subject: [raleigh.rb] Startup Opportunity Message-ID: Over the last couple of month I have gotten to know Bob Etheridge who is the founder of the site JobKatch.com. Bob is very involved in the startup community in Raleigh/Durham and is looking for a Technical Partner/Co-founder to help him finish launching the site (it is currently in beta with over 500 users). The site is written in rails and most of the work was done by a respectable ruby consulting shop in Florida (no not that one, the other one). Here is a little more about the site/startup from Bob: JobKatch is a Social CRM or Management tool designed to help job seekers stay organized and focused in their job search. JobKatch was built on the similarities of the job search process and the sales process. The system allows users to easily capture interesting job leads from the web and save them in the JobKatch Organizer. JobKatch also taps into a users connections from leading Social Networking sites like Linkedin and Facebook and business contact databases such as Jigsaw.com and Zoominfo to help identify relevant networking contacts that can help them in their job search. JobKatch helps job seekers avoid the resume black hole and connect directly with decision makers. There is a huge opportunity here. With unemployment at record highs and the social web changing the job search process, the market is itching for a product like JobKatch. We also have the opportunity to market JobKatch to millions of job seekers though my first start-up; JobCircle.com. Additionally, there is the opportunity to market the service to College Career Centers, Outplacement companies and career coaches to help manage the activities of their clients. The site recently launched in beta and the feedback has been very good. If you?re interested, please contact me at: bob at jobkatch.com. Thanks, -- James Avery Adzerk - http://adzerk.com TekPub - http://tekpub.com From seancribbs at gmail.com Mon Jan 17 12:57:43 2011 From: seancribbs at gmail.com (Sean Cribbs) Date: Mon, 17 Jan 2011 12:57:43 -0500 Subject: [raleigh.rb] Catching a ride Message-ID: If anyone is heading from CH/Durham area to the meetup tomorrow, I'd love to get a ride to/from the meeting. Thanks, Sean Cribbs From rick.denatale at gmail.com Mon Jan 17 15:02:19 2011 From: rick.denatale at gmail.com (Rick DeNatale) Date: Mon, 17 Jan 2011 15:02:19 -0500 Subject: [raleigh.rb] Catching a ride In-Reply-To: References: Message-ID: I could give you a ride to the meeting from Durham (I'm work between Beyu and Guajilo's on main street), but I won't be coming back until the next morning. On Mon, Jan 17, 2011 at 12:57 PM, Sean Cribbs wrote: > If anyone is heading from CH/Durham area to the meetup tomorrow, I'd > love to get a ride to/from the meeting. > > Thanks, > > Sean Cribbs > _______________________________________________ > 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 Mon Jan 17 15:32:38 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Mon, 17 Jan 2011 15:32:38 -0500 Subject: [raleigh.rb] Pre-meeting Chow Message-ID: Since the meeting tomorrow is at iContact, chow 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 <:((>< From jimmy at jimmythrasher.com Mon Jan 17 16:13:45 2011 From: jimmy at jimmythrasher.com (Jimmy Thrasher) Date: Mon, 17 Jan 2011 16:13:45 -0500 Subject: [raleigh.rb] Catching a ride In-Reply-To: References: Message-ID: I'll be heading back west to Elfland, so I can take you back. Jimmy On Mon, Jan 17, 2011 at 3:02 PM, Rick DeNatale wrote: > I could give you a ride to the meeting from Durham (I'm work between > Beyu and Guajilo's on main street), but I won't be coming back until > the next morning. > > > On Mon, Jan 17, 2011 at 12:57 PM, Sean Cribbs > wrote: > > If anyone is heading from CH/Durham area to the meetup tomorrow, I'd > > love to get a ride to/from the meeting. > > > > Thanks, > > > > Sean Cribbs > > _______________________________________________ > > 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 > -- +1-919-627-7546 -------------- next part -------------- An HTML attachment was scrubbed... URL: From seancribbs at gmail.com Mon Jan 17 17:05:48 2011 From: seancribbs at gmail.com (Sean Cribbs) Date: Mon, 17 Jan 2011 17:05:48 -0500 Subject: [raleigh.rb] Catching a ride In-Reply-To: References: Message-ID: Awesome, thanks guys. Rick, I'll send you my address privately. On Mon, Jan 17, 2011 at 4:13 PM, Jimmy Thrasher wrote: > I'll be heading back west to Elfland, so I can take you back. > Jimmy > > On Mon, Jan 17, 2011 at 3:02 PM, Rick DeNatale > wrote: >> >> I could give you a ride to the meeting from Durham (I'm work between >> Beyu and Guajilo's on main street), but I won't be coming back until >> the next morning. >> >> >> On Mon, Jan 17, 2011 at 12:57 PM, Sean Cribbs >> wrote: >> > If anyone is heading from CH/Durham area to the meetup tomorrow, I'd >> > love to get a ride to/from the meeting. >> > >> > Thanks, >> > >> > Sean Cribbs >> > _______________________________________________ >> > 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 > > > > -- > +1-919-627-7546 > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From sam.bayer at b2b2dot0.com Tue Jan 18 14:40:00 2011 From: sam.bayer at b2b2dot0.com (Sam Bayer) Date: Tue, 18 Jan 2011 14:40:00 -0500 Subject: [raleigh.rb] Career opportunity at b2b2dot0 Message-ID: Dear Ruby lover, It's not just a job or a contract, it could be the perfect career opportunity for the right person. b2b2dot0 is now entering our fourth year of business and are forecasting the need for at least one well rounded, multi-skilled, Agile individual to join our team within the coming months. We are a SaaS provider of B2B ecommerce services to SAP based Manufacturers and are headquartered here in Raleigh, NC with our European HQ in Zurich, Switzerland. Because of last year's growth within our existing client base, and our starting 2011 with a very strong pipeline of potential new clients, I think we're going to need someone with the following skills/experiences before the beginning of April. Technical skills including: - Rails - MySQL - nginx - Javascript - Ajax - Prototype / JQuery Agile Project Management Experience, with the ability to: - lead projects - work on all phases of a project lifecycle cycle (Design, Code, Test, Implement) - work with customer's directly Other Bonus items - Knows some PHP - Knows Magento - Has exerience with e-commerce - Has experience with web service integration Double Bonus Points - Knows what SAP is As you can tell from the skills required, and since we're a small virtual team, you will enjoy the opportunity to wear many hats. However, we'd like for your primary responsibility to be helping our clients implement and enhance our service to meet their business needs. We're in no rush to hire, and when we do, because of our recurring revenue model and focus on preserving the culture of our sustainable lifestyle company, we'll be ready for a lasting commitment. I'm hoping you will be too. I look forward to speaking with you about our company and this position. Regards, Sam Sam Bayer CEO www.b2b2dot0.com 919.676.7429 [image: The AgileStartup] Contact me on: [image: LinkedIn] [image: Twitter] -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at cranehouse.net Wed Jan 19 10:03:35 2011 From: eric at cranehouse.net (Eric Crane) Date: Wed, 19 Jan 2011 10:03:35 -0500 Subject: [raleigh.rb] Short Term Consulting Gig Message-ID: <21541BA7-39C2-414A-AECC-CC7F3B89C717@cranehouse.net> I'm looking for someone to do a short term (2-3 week) consulting engagement with the possibility of additional projects in the future. Initial work includes reviewing a rails project, making suggestions for improvement, doing some coding, setting up production servers and optimizing for performance. Initial plan is to have this work done during February but that is flexible. Please let me know if this is something you are interested in. Thank you. -- Eric Crane www.cranehouse.net eric at cranehouse.net From jeff at jumpstartlab.com Wed Jan 19 17:19:51 2011 From: jeff at jumpstartlab.com (Jeff Casimir) Date: Wed, 19 Jan 2011 17:19:51 -0500 Subject: [raleigh.rb] Ruby and Rails Training in Raleigh Area during March Message-ID: Hi all, Nathaniel and I were talking about the Raleigh Ruby scene at RubyConf and he suggested I come down to teach some classes. I've finally set things up and hope you'll come join us. There are three separate classes: --- (Free) Ruby Primer --- A first introduction to programming with Ruby, ideal for people with NO programming background. 6-9pm on 3/2 20 Seats available at http://jumpstartlab.com/trainings/13-ruby-raleigh --- Introduction to Programming with Ruby --- An introduction to Ruby with no programming background required. We'll build two sample applications practicing basic data manipulation, utilizing external libraries, and accessing a web API. 9AM to 4PM on Sat 3/26 & Sun 3/27 12 Seats @ $375 (early bird) available at http://jumpstartlab.com/trainings/14-ruby-raleigh --- Introduction to Ruby on Rails --- Introduction to Rails for people with some programming background. We'll build a sample application modeling the REST pattern and explore the fundamentals of the Rails framework. 9AM to 4PM on Mon 3/28 & Tue 3/29 8 Seats @ $375 (early bird) available at http://jumpstartlab.com/trainings/15-ruby-raleigh All courses will be hosted at Carrboro Creative Coworking: http://www.carrborocoworking.com/ Please let me know if you have any thoughts or questions! Thanks, Jeff --- Jeff Casimir Jumpstart Lab by Casimir Creative, LLC http://jumpstartlab.com @jumpstartlab on twitter From nathaniel at talbott.ws Thu Jan 20 19:30:04 2011 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Thu, 20 Jan 2011 19:30:04 -0500 Subject: [raleigh.rb] Ruby and Rails Training in Raleigh Area during March In-Reply-To: References: Message-ID: On Wed, Jan 19, 2011 at 5:19 PM, Jeff Casimir wrote: > Nathaniel and I were talking about the Raleigh Ruby scene at RubyConf > and he suggested I come down to teach some classes. ?I've finally set > things up and hope you'll come join us. ?There are three separate > classes: Just to plug Jeff some, we've gotten to know each other through the Ruby community over the past year or two, and I've heard him speak multiple times. He's an awesome teacher. Like super-freakin-amazingly awesome. Like "you've never seen Ruby/Rails training like this before" awesome. This time around I've encouraged him to focus on beginner-level courses, so what we all need to do is think of that person we know who keeps saying they wonder what programming is like (Free Ruby Primer). Or that other person who knows they want to learn to program but isn't sure how to get started (Introduction to Programming with Ruby). Or that smart developer who's always asking what all this Rails hoopla is about (Introduction to Ruby on Rails). We all know them, and any/all of them would benefit from the courses Jeff has on offer here. Also note that all his prices are super reasonable - $375 for a training course of this calibre is an amazing deal - so there's just no excuse for your friends (or even yourself if you're just getting rolling with Ruby/Rails) to come on out. For those of you in other local development communities, definitely make sure to let them know about this, especially the intro to Rails course. And if you're at a local business that's doing Rails, this is a great opportunity to get your boss to send a coworker or two for indoctrination. Finally, I'll just note that if we can help Jeff sell out this time around, I'm sure he'll be coming back to the area for future training. I for one would love to go through his Advanced Git course... -- Nathaniel Talbott <:((>< From jeff at jumpstartlab.com Fri Jan 21 06:45:57 2011 From: jeff at jumpstartlab.com (Jeff Casimir) Date: Fri, 21 Jan 2011 06:45:57 -0500 Subject: [raleigh.rb] Ruby and Rails Training in Raleigh Area during March In-Reply-To: References: Message-ID: Thanks for the recommendation, Nathaniel! Thinking more about the classes this morning, I want to emphasize what Nathaniel said about price. I try to keep my prices really low -- I don't want cost to be the reason people can't attend. If you'd love to be there, I want to find a way to make it work. Especially if you're a current student/recent grad, currently serving/veteran, or currently out of work please let me know. If space is available I want you there. Thanks, Jeff On Thu, Jan 20, 2011 at 7:30 PM, Nathaniel Talbott wrote: > > Just to plug Jeff some, we've gotten to know each other through the > Ruby community over the past year or two, and I've heard him speak > multiple times. He's an awesome teacher. Like super-freakin-amazingly > awesome. Like "you've never seen Ruby/Rails training like this before" > awesome. > > Primer: http://jumpstartlab.com/trainings/13-ruby-raleigh > > Intro Ruby: http://jumpstartlab.com/trainings/14-ruby-raleigh > > Intro Rails: http://jumpstartlab.com/trainings/15-ruby-raleigh From jared.haworth at gmail.com Sat Jan 22 17:58:37 2011 From: jared.haworth at gmail.com (Jared Haworth) Date: Sat, 22 Jan 2011 17:58:37 -0500 Subject: [raleigh.rb] Independent Contractor and Equity Message-ID: Hi everyone, Just a quick question for those of you out there who work as independent contractors: do any of you have experience in accepting a combination of money & equity for doing development work, in the IC context? Is this something that's done often (or at all)? Are there guidelines for it? Regards, Jared Haworth From jimmy at jimmythrasher.com Sat Jan 22 21:25:29 2011 From: jimmy at jimmythrasher.com (Jimmy Thrasher) Date: Sat, 22 Jan 2011 21:25:29 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: References: Message-ID: To add a single data point, I haven't had good luck with it. For one, it's a huge question of trust.. if you don't know the person you don't know his character, the quality of his ideas, his ability to execute, etc, and since you'd essentially be investing in the company with your time, these are important factors. At a more logistical level, it's hard to measure/predict. Do you get paid shares by the hour? Do you get paid shares by the milestone? This can be worked out, though. The bigger issue is the one I stated above. Jimmy On Sat, Jan 22, 2011 at 5:58 PM, Jared Haworth wrote: > Hi everyone, > > Just a quick question for those of you out there who work as independent > contractors: do any of you have experience in accepting a combination of > money & equity for doing development work, in the IC context? Is this > something that's done often (or at all)? Are there guidelines for it? > > Regards, > Jared Haworth > _______________________________________________ > 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 ken.auer at rolemodelsoftware.com Sat Jan 22 23:27:42 2011 From: ken.auer at rolemodelsoftware.com (Ken Auer) Date: Sat, 22 Jan 2011 23:27:42 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: References: Message-ID: My general experience is that ideas are cheap, execution is hard. I've made it a general policy (after not making it a general policy) to get paid for something that gets the idea to a minimum viable product and some real customers. Once I see some customer feedback and see how the owner/company will respond, I have a better idea of whether this is something worth investing in. I really focus my business now on getting people to a minimum viable product as inexpensively as possible so we can both figure out whether its worth investing in further. YMMV On Sat, Jan 22, 2011 at 5:58 PM, Jared Haworth wrote: > Hi everyone, > > Just a quick question for those of you out there who work as independent > contractors: do any of you have experience in accepting a combination of > money & equity for doing development work, in the IC context? Is this > something that's done often (or at all)? Are there guidelines for it? > > Regards, > Jared Haworth > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- Ken Auer The Extreme Programming Software Studio? RoleModel Software 919-557-6352 (v) 6720 RoleModel Way 919-342-5016 (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 fmedlin at gmail.com Sun Jan 23 08:33:24 2011 From: fmedlin at gmail.com (Fred Medlin) Date: Sun, 23 Jan 2011 08:33:24 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: References: Message-ID: Jared, Unless you are one of the founders, my advice is to take the cash. You never see lawyers, accountants, etc. taking equity in return for their services to a startup. There must be a reason for that. Even if you do take equity, you'll probably have private shares that are difficult to sell or otherwise convert until the company is sold or goes public. IOW, not liquid and not really your timeline. Each round of funding that the company will probably reduce the value of your shares. Somehow, the investors' shares always seem to get less diluted. I fondly remember one of my equity deals when there was a 1000 to 1 reverse split in the share price after the company took another round of funding. Good times. HTH, Fred On Sat, Jan 22, 2011 at 5:58 PM, Jared Haworth wrote: > Hi everyone, > > Just a quick question for those of you out there who work as independent > contractors: do any of you have experience in accepting a combination of > money & equity for doing development work, in the IC context? Is this > something that's done often (or at all)? Are there guidelines for it? > > Regards, > Jared Haworth > _______________________________________________ > 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 rick.denatale at gmail.com Sun Jan 23 09:46:37 2011 From: rick.denatale at gmail.com (Rick DeNatale) Date: Sun, 23 Jan 2011 09:46:37 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: References: Message-ID: On Sun, Jan 23, 2011 at 8:33 AM, Fred Medlin wrote: > Jared, > Unless you are one of the founders, my advice is to take the cash. You never > see lawyers, accountants, etc. taking equity in return for their services to > a startup. There must be a reason for that. > Even if you do take equity, you'll probably have private shares that are > difficult to sell or otherwise convert until the company is sold or goes > public. IOW, not liquid and not really your timeline. Each round of funding > that the company will probably reduce the value of your shares. Somehow, the > investors' shares always seem to get less diluted. > I fondly remember one of my equity deals when there was a 1000 to 1 reverse > split in the share price after the company took another round of funding. I've got to agree. I've been approached several time about working for 'equity' by some young entrepreneur offering to get me it on the ground floor of the next facebook/google/Apple in exchange for working for cheap or often free. The problem of course is that becoming the next X is rare, so the offer is really more like, "If you buy me a bunch of lottery tickets, I'll cut you in when one of them wins the Powerball!" -- 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 steve at iannopollo.com Sun Jan 23 11:35:55 2011 From: steve at iannopollo.com (Steve Iannopollo) Date: Sun, 23 Jan 2011 11:35:55 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: References: Message-ID: <46210BBA-3B26-40B3-BCBF-63CE504D64A4@iannopollo.com> > the offer is really more like, "If you buy me a bunch of lottery tickets, > I'll cut you in when one of them wins the Powerball!" Ha! I've always equated "working for equity" as "working for free", because of the gambling nature. It is fun, though, seeing job postings online where people make it sound so great to work without being paid. -Steve From z at zworkbench.com Sun Jan 23 18:23:20 2011 From: z at zworkbench.com (Christopher Garrett) Date: Sun, 23 Jan 2011 18:23:20 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: <46210BBA-3B26-40B3-BCBF-63CE504D64A4@iannopollo.com> References: <46210BBA-3B26-40B3-BCBF-63CE504D64A4@iannopollo.com> Message-ID: I have done it a few times with zero success. This was when I was first getting started doing contract work and didn't have a portfolio. I thought that it couldn't hurt, just to get some additional projects as examples of my work. Even that didn't work out for me because the projects never even got to the point where I would _want_ to show them as examples of my work. So I wouldn't recommend this for anyone. You should invest the same time to get better at selling and marketing your services. And the client should get better at pitching the idea to people with lots of cash. The way I think about this now, is to pretend I were being approached by the same person to invest my cash in this company. So, let's say I am normally making $100 an hour, and they are willing to pay $50/hr+equity for 40 hours of work. ($2000 + $2000 "investment in this awesome idea") If they paid me the full $100/hr, would I then invest $2000 of that cash in this person/company/idea? So far the answer has always been "no thanks, I'll invest that cash elsewhere." Regards, Chris On Sun, Jan 23, 2011 at 11:35 AM, Steve Iannopollo wrote: > > the offer is really more like, "If you buy me a bunch of lottery tickets, > > I'll cut you in when one of them wins the Powerball!" > > Ha! I've always equated "working for equity" as "working for free", because > of the gambling nature. It is fun, though, seeing job postings online where > people make it sound so great to work without being paid. > > -Steve > _______________________________________________ > 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 trent.albright at gmail.com Sun Jan 23 19:40:49 2011 From: trent.albright at gmail.com (Trent Albright) Date: Sun, 23 Jan 2011 19:40:49 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: <46210BBA-3B26-40B3-BCBF-63CE504D64A4@iannopollo.com> References: <46210BBA-3B26-40B3-BCBF-63CE504D64A4@iannopollo.com> Message-ID: http://www.shouldiworkforfree.com/ On Sun, Jan 23, 2011 at 11:35 AM, Steve Iannopollo > > > Ha! I've always equated "working for equity" as "working for free", because > of the gambling nature. It is fun, though, seeing job postings online where > people make it sound so great to work without being paid. > > -Steve > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at thewilliams.ws Sun Jan 23 20:28:44 2011 From: adam at thewilliams.ws (Adam Williams) Date: Sun, 23 Jan 2011 20:28:44 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: References: <46210BBA-3B26-40B3-BCBF-63CE504D64A4@iannopollo.com> Message-ID: <-5717877409264835443@unknownmsgid> This is, now, how I think of it myself. Although time is worth more than money, we somehow tend to measure some things better when someone asks us to pull out our wallets! On Jan 23, 2011, at 7:42 PM, Christopher Garrett wrote: I have done it a few times with zero success. This was when I was first getting started doing contract work and didn't have a portfolio. I thought that it couldn't hurt, just to get some additional projects as examples of my work. Even that didn't work out for me because the projects never even got to the point where I would _want_ to show them as examples of my work. So I wouldn't recommend this for anyone. You should invest the same time to get better at selling and marketing your services. And the client should get better at pitching the idea to people with lots of cash. The way I think about this now, is to pretend I were being approached by the same person to invest my cash in this company. So, let's say I am normally making $100 an hour, and they are willing to pay $50/hr+equity for 40 hours of work. ($2000 + $2000 "investment in this awesome idea") If they paid me the full $100/hr, would I then invest $2000 of that cash in this person/company/idea? So far the answer has always been "no thanks, I'll invest that cash elsewhere." Regards, Chris On Sun, Jan 23, 2011 at 11:35 AM, Steve Iannopollo wrote: > > the offer is really more like, "If you buy me a bunch of lottery tickets, > > I'll cut you in when one of them wins the Powerball!" > > Ha! I've always equated "working for equity" as "working for free", because > of the gambling nature. It is fun, though, seeing job postings online where > people make it sound so great to work without being paid. > > -Steve > _______________________________________________ > 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 blakewatters at gmail.com Mon Jan 24 10:18:43 2011 From: blakewatters at gmail.com (Blake Watters) Date: Mon, 24 Jan 2011 10:18:43 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: References: Message-ID: A key problem I've seen with most developers in equity arrangements is that they don't take the time to evaluate the opportunity with an investor hat on. Often developers view the business side of things as being details that are uninteresting or outside their domain. If you are looking at taking equity as compensation, you are very literally becoming an investor in the venture. You need to grill the entrepreneur the same way a potential investor would: - What does your customer look like? How do you know that? - What is the market size? How do you know? - Who else is investing in this? - What is the exit strategy? - What are some potential pivot points for the business? How do you know when to make one? - What is the burn rate? How much run-way do you have to failure/next fundraising event? - How are you determining pricing your offering? - Are there competitors? How are you going to differentiate from them? - What is the marketing plan? How was it developed? Did you just make this shit up or derive it analytically? - How much is the company worth and how are you making that valuation? How much will it be worth in 5 years? If the entrepreneur can't respond to a thorough grilling intelligently, they probably aren't going to make it. There's absolutely no point in investing time or money in a venture if the person at the helm isn't prepared to execute effectively. Beware of people who think they are the target customer and just have to market to themselves, it's pure ego and always wrong. If you can do some basic research and find competitors they don't know about, they are probably naive about how original their idea is and how to build it. If they seem to know what they are talking about and can intelligently walk you through why this venture is a good bet, then you can start thinking about structure. My personal opinion is that if you are writing all the code in a venture at the ground floor, you are not a developer working for equity -- you are the technical co-founder and have real skin in the game. You should want and receive transparency to the finances of the organization, the marketing plan, customer funnel and all aspects of the business. And you should be using that access to pour as much insight and value into the company as possible. Otherwise its not going to succeed. Some guy with an idea + some guy who can write code will not miraculously execute a start-up. You are looking at a long term partnership that is going to require a lot more than just slinging some code. If you don't want to worry about all the non-technical aspects of building a business, you should just take cash and be happy being a software developer. If you do want to move forward, I'd look at using a convertible note structure. Essentially what you do is make a virtual investment in the company payable as time at your hourly rate. Say you'll invest $25,000 in your development time on a tab over the next six months. That 25k note is payable in 24 months at a low interest rate and optionally convertible into equity at the next fundraising event at a favorable rate. Say you get six months in and there are investors infusing 500k into the venture, you could structure the note such that your 25k investment is convertible into equity at a 25% discounted rate over what the cash investors are paying. So you essentially buy into the pool with time at a discount and defer the valuation to be determined at that fundraising event. Make sure that your convertible equity is of the same class of stock as cash investors, so you are on equal footing. If you don't want to convert into equity, you can cash out at that fundraising moment and get your 25k paid back, with interest. And if the company goes under, you are out just like an investor would be. - Blake On Sat, Jan 22, 2011 at 5:58 PM, Jared Haworth wrote: > Hi everyone, > > Just a quick question for those of you out there who work as independent > contractors: do any of you have experience in accepting a combination of > money & equity for doing development work, in the IC context? Is this > something that's done often (or at all)? Are there guidelines for it? > > Regards, > Jared Haworth > _______________________________________________ > 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 adam at thewilliams.ws Mon Jan 24 11:17:08 2011 From: adam at thewilliams.ws (Adam Williams) Date: Mon, 24 Jan 2011 11:17:08 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: References: Message-ID: I wish I had asked this question, and received this response, a few years ago. Thank you, Blake. On Jan 24, 2011, at 10:18 AM, Blake Watters wrote: > A key problem I've seen with most developers in equity arrangements is that they don't take the time to evaluate the opportunity with an investor hat on. Often developers view the business side of things as being details that are uninteresting or outside their domain. If you are looking at taking equity as compensation, you are very literally becoming an investor in the venture. You need to grill the entrepreneur the same way a potential investor would: From info at lojic.com Mon Jan 24 12:38:01 2011 From: info at lojic.com (Brian Adkins) Date: Mon, 24 Jan 2011 12:38:01 -0500 Subject: [raleigh.rb] Independent Contractor and Equity In-Reply-To: References: Message-ID: <600AFC0A-9239-4A9A-84EA-2B7C4E560581@lojic.com> Jared - I say you take Blake with you to grill the guy :) -- Brian Adkins Lojic Technologies, LLC http://lojic.com/ On Jan 24, 2011, at 10:18 AM, Blake Watters wrote: > A key problem I've seen with most developers in equity arrangements > is that they don't take the time to evaluate the opportunity with an > investor hat on. Often developers view the business side of things > as being details that are uninteresting or outside their domain. If > you are looking at taking equity as compensation, you are very > literally becoming an investor in the venture. You need to grill the > entrepreneur the same way a potential investor would: > - What does your customer look like? How do you know that? > - What is the market size? How do you know? > - Who else is investing in this? > - What is the exit strategy? > - What are some potential pivot points for the business? How do you > know when to make one? > - What is the burn rate? How much run-way do you have to failure/ > next fundraising event? > - How are you determining pricing your offering? > - Are there competitors? How are you going to differentiate from them? > - What is the marketing plan? How was it developed? Did you just > make this shit up or derive it analytically? > - How much is the company worth and how are you making that > valuation? How much will it be worth in 5 years? > > If the entrepreneur can't respond to a thorough grilling > intelligently, they probably aren't going to make it. There's > absolutely no point in investing time or money in a venture if the > person at the helm isn't prepared to execute effectively. Beware of > people who think they are the target customer and just have to > market to themselves, it's pure ego and always wrong. If you can do > some basic research and find competitors they don't know about, they > are probably naive about how original their idea is and how to build > it. > > If they seem to know what they are talking about and can > intelligently walk you through why this venture is a good bet, then > you can start thinking about structure. My personal opinion is that > if you are writing all the code in a venture at the ground floor, > you are not a developer working for equity -- you are the technical > co-founder and have real skin in the game. You should want and > receive transparency to the finances of the organization, the > marketing plan, customer funnel and all aspects of the business. And > you should be using that access to pour as much insight and value > into the company as possible. Otherwise its not going to succeed. > Some guy with an idea + some guy who can write code will not > miraculously execute a start-up. You are looking at a long term > partnership that is going to require a lot more than just slinging > some code. If you don't want to worry about all the non-technical > aspects of building a business, you should just take cash and be > happy being a software developer. > > If you do want to move forward, I'd look at using a convertible note > structure. Essentially what you do is make a virtual investment in > the company payable as time at your hourly rate. Say you'll invest > $25,000 in your development time on a tab over the next six months. > That 25k note is payable in 24 months at a low interest rate and > optionally convertible into equity at the next fundraising event at > a favorable rate. Say you get six months in and there are investors > infusing 500k into the venture, you could structure the note such > that your 25k investment is convertible into equity at a 25% > discounted rate over what the cash investors are paying. So you > essentially buy into the pool with time at a discount and defer the > valuation to be determined at that fundraising event. Make sure that > your convertible equity is of the same class of stock as cash > investors, so you are on equal footing. If you don't want to > convert into equity, you can cash out at that fundraising moment and > get your 25k paid back, with interest. And if the company goes > under, you are out just like an investor would be. > > - Blake > > On Sat, Jan 22, 2011 at 5:58 PM, Jared Haworth > wrote: > Hi everyone, > > Just a quick question for those of you out there who work as > independent contractors: do any of you have experience in accepting > a combination of money & equity for doing development work, in the > IC context? Is this something that's done often (or at all)? Are > there guidelines for it? > > Regards, > Jared Haworth > _______________________________________________ > 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 martin.streicher at gmail.com Mon Jan 24 14:31:36 2011 From: martin.streicher at gmail.com (Martin Streicher) Date: Mon, 24 Jan 2011 14:31:36 -0500 Subject: [raleigh.rb] Rails coders wanted Message-ID: <57FBF919-7359-4EA9-B789-5F0BCD797C62@gmail.com> I have been working with an educational startup for the past couple of months to revise an old app using Rails 3 and cloud services. The startup is well-funded, has national scope, and has the backing of at least two well-known foundations. The application allows students to collaborate and share media -- something of a blend of all social networks, but with rewards for creative work and cooperation. The project is currently in need of at least two additional developers for short-term and long-term work (contract-to-hire is an option). If you are a Rails developer with 2-3 years of experience or more, please contact me for more information. Openings are available now; pay is commensurate with experience. Preferably, you can commit full-time to the endeavor, as more and more sites are adopting the application and there are a lot of features to tackle. Telecommute within the US is an option. You should be able to use Git, MySQL, Mongo, Heroku, Rails 3, jQuery, and Rspec 2. Thanks for your consideration. Martin From info at lojic.com Mon Jan 24 17:05:31 2011 From: info at lojic.com (Brian Adkins) Date: Mon, 24 Jan 2011 17:05:31 -0500 Subject: [raleigh.rb] Adding a URL path argument to a RESTful route Message-ID: <5A9C483A-81B6-45D0-B130-D28D1F8F6B5C@lojic.com> I would like to take the routes produced by the following: map.resources :widgets And prepend a URL path argument. For example, take the following route: widgets GET /widgets/:id(.:format) {:action=>"show", :controller=>"widgets"} and convert it to: widgets GET /:gadget/widgets/:id(.:format) {:action=>"show", :controller=>"widgets"} The following will do that, but at the expense of quite a bit of verbosity. It's simply creating the REST routes manually with the addition of the :gadget URL param: map.with_options({:controller => 'widgets'}) do |o| o.widgets_index '/:gadget/widgets(.:format)', :action => :index, :conditions => { :method => :get } o.connect '/:gadget/widgets(.:format)', :action => :create, :conditions => { :method => :post } o.new_widgets '/:gadget/widgets/new(.:format)', :action => :new, :conditions => { :method => :get } o.edit_widgets '/:gadget/widgets/:id/edit(.:format)', :action => :edit, :conditions => { :method => :get } o.widgets '/:gadget/widgets/:id(.:format)', :action => :show, :conditions => { :method => :get } o.connect '/:gadget/widgets/:id(.:format)', :action => :update, :conditions => { :method => :put } o.connect '/:gadget/widgets/:id(.:format)', :action => :destroy, :conditions => { :method => :delete } end Can this be done more concisely while achieving the exact routes produced by the verbose version above (a simple nested route won't do it)? I thought about utilizing RAILS_RELATIVE_URL_ROOT and extracting :gadget manually in a filter, but there are some aspects about that approach that I don't like. Thanks, Brian -- Brian Adkins Lojic Technologies, LLC http://lojic.com/ From jeremymcanally at gmail.com Mon Jan 24 17:17:41 2011 From: jeremymcanally at gmail.com (Jeremy McAnally) Date: Mon, 24 Jan 2011 17:17:41 -0500 Subject: [raleigh.rb] Adding a URL path argument to a RESTful route In-Reply-To: <5A9C483A-81B6-45D0-B130-D28D1F8F6B5C@lojic.com> References: <5A9C483A-81B6-45D0-B130-D28D1F8F6B5C@lojic.com> Message-ID: Ah, it's easier than that! You can namespace routes: http://stackoverflow.com/questions/3517248/rails-2-3-namespace-and-nested-shallow-resources-prefix-issue --Jeremy On Mon, Jan 24, 2011 at 5:05 PM, Brian Adkins wrote: > I would like to take the routes produced by the following: > > map.resources :widgets > > And prepend a URL path argument. For example, take the following route: > > widgets GET /widgets/:id(.:format) {:action=>"show", > :controller=>"widgets"} > > and convert it to: > > widgets GET /:gadget/widgets/:id(.:format) {:action=>"show", > :controller=>"widgets"} > > > The following will do that, but at the expense of quite a bit of verbosity. > It's simply creating the REST routes manually with the addition of the > :gadget URL param: > > map.with_options({:controller => 'widgets'}) do |o| > o.widgets_index '/:gadget/widgets(.:format)', > :action => :index, :conditions => { :method => :get } > o.connect '/:gadget/widgets(.:format)', > :action => :create, :conditions => { :method => :post } > o.new_widgets '/:gadget/widgets/new(.:format)', > :action => :new, :conditions => { :method => :get } > o.edit_widgets '/:gadget/widgets/:id/edit(.:format)', > :action => :edit, :conditions => { :method => :get } > o.widgets '/:gadget/widgets/:id(.:format)', > :action => :show, :conditions => { :method => :get } > o.connect '/:gadget/widgets/:id(.:format)', > :action => :update, :conditions => { :method => :put } > o.connect '/:gadget/widgets/:id(.:format)', > :action => :destroy, :conditions => { :method => :delete } > end > > Can this be done more concisely while achieving the exact routes produced > by the verbose version above (a simple nested route won't do it)? I thought > about utilizing RAILS_RELATIVE_URL_ROOT and extracting :gadget manually in a > filter, but there are some aspects about that approach that I don't like. > > Thanks, > Brian > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- http://jeremymcanally.com/ - http://intridea.com/ Bowties, ties, and more: http://wickhamhousebrand.com My books: http://r3uh.com http://rbip.info/ http://hlrb.org (FREE!) -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremymcanally at gmail.com Mon Jan 24 17:18:31 2011 From: jeremymcanally at gmail.com (Jeremy McAnally) Date: Mon, 24 Jan 2011 17:18:31 -0500 Subject: [raleigh.rb] Adding a URL path argument to a RESTful route In-Reply-To: References: <5A9C483A-81B6-45D0-B130-D28D1F8F6B5C@lojic.com> Message-ID: Er, looking at it, that question wasn't quite what I was looking for, but if you look in the Rails 2.3 API, you'll see the namespace method on the router. :) --Jeremy On Mon, Jan 24, 2011 at 5:17 PM, Jeremy McAnally wrote: > Ah, it's easier than that! You can namespace routes: > http://stackoverflow.com/questions/3517248/rails-2-3-namespace-and-nested-shallow-resources-prefix-issue > > --Jeremy > > > On Mon, Jan 24, 2011 at 5:05 PM, Brian Adkins wrote: > >> I would like to take the routes produced by the following: >> >> map.resources :widgets >> >> And prepend a URL path argument. For example, take the following route: >> >> widgets GET /widgets/:id(.:format) {:action=>"show", >> :controller=>"widgets"} >> >> and convert it to: >> >> widgets GET /:gadget/widgets/:id(.:format) {:action=>"show", >> :controller=>"widgets"} >> >> >> The following will do that, but at the expense of quite a bit of >> verbosity. It's simply creating the REST routes manually with the addition >> of the :gadget URL param: >> >> map.with_options({:controller => 'widgets'}) do |o| >> o.widgets_index '/:gadget/widgets(.:format)', >> :action => :index, :conditions => { :method => :get } >> o.connect '/:gadget/widgets(.:format)', >> :action => :create, :conditions => { :method => :post } >> o.new_widgets '/:gadget/widgets/new(.:format)', >> :action => :new, :conditions => { :method => :get } >> o.edit_widgets '/:gadget/widgets/:id/edit(.:format)', >> :action => :edit, :conditions => { :method => :get } >> o.widgets '/:gadget/widgets/:id(.:format)', >> :action => :show, :conditions => { :method => :get } >> o.connect '/:gadget/widgets/:id(.:format)', >> :action => :update, :conditions => { :method => :put } >> o.connect '/:gadget/widgets/:id(.:format)', >> :action => :destroy, :conditions => { :method => :delete } >> end >> >> Can this be done more concisely while achieving the exact routes produced >> by the verbose version above (a simple nested route won't do it)? I thought >> about utilizing RAILS_RELATIVE_URL_ROOT and extracting :gadget manually in a >> filter, but there are some aspects about that approach that I don't like. >> >> Thanks, >> Brian >> >> -- >> Brian Adkins >> Lojic Technologies, LLC >> http://lojic.com/ >> >> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > > -- > http://jeremymcanally.com/ - http://intridea.com/ > Bowties, ties, and more: http://wickhamhousebrand.com > > My books: > http://r3uh.com http://rbip.info/ http://hlrb.org (FREE!) > > > -- http://jeremymcanally.com/ - http://intridea.com/ Bowties, ties, and more: http://wickhamhousebrand.com My books: http://r3uh.com http://rbip.info/ http://hlrb.org (FREE!) -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at lojic.com Mon Jan 24 17:42:06 2011 From: info at lojic.com (Brian Adkins) Date: Mon, 24 Jan 2011 17:42:06 -0500 Subject: [raleigh.rb] Adding a URL path argument to a RESTful route In-Reply-To: References: <5A9C483A-81B6-45D0-B130-D28D1F8F6B5C@lojic.com> Message-ID: <3089E95D-D131-4BFA-8152-1340FBD89113@lojic.com> Jeremy: Excellent! I actually came across that article, but I didn't realize the prefix could be dynamic, but I just tried the following, and it appears to work just fine: map.resources :widgets, :path_prefix => "/:gadget" I tried a few different ways to do the above within a map.namespace block since I have a bunch of them, but I couldn't get the route names to be correct. The above will save a ton of boilerplate though. Thanks, Brian On Jan 24, 2011, at 5:17 PM, Jeremy McAnally wrote: > Ah, it's easier than that! You can namespace routes: http://stackoverflow.com/questions/3517248/rails-2-3-namespace-and-nested-shallow-resources-prefix-issue > > --Jeremy > > On Mon, Jan 24, 2011 at 5:05 PM, Brian Adkins wrote: > I would like to take the routes produced by the following: > > map.resources :widgets > > And prepend a URL path argument. For example, take the following > route: > > widgets GET /widgets/:id(.:format) > {:action=>"show", :controller=>"widgets"} > > and convert it to: > > widgets GET /:gadget/widgets/:id(.:format) > {:action=>"show", :controller=>"widgets"} > > > The following will do that, but at the expense of quite a bit of > verbosity. It's simply creating the REST routes manually with the > addition of the :gadget URL param: > > map.with_options({:controller => 'widgets'}) do |o| > o.widgets_index '/:gadget/widgets(.:format)', > :action => :index, :conditions => { :method => :get } > o.connect '/:gadget/widgets(.:format)', > :action => :create, :conditions => { :method => :post } > o.new_widgets '/:gadget/widgets/new(.:format)', > :action => :new, :conditions => { :method => :get } > o.edit_widgets '/:gadget/widgets/:id/edit(.:format)', > :action => :edit, :conditions => { :method => :get } > o.widgets '/:gadget/widgets/:id(.:format)', > :action => :show, :conditions => { :method => :get } > o.connect '/:gadget/widgets/:id(.:format)', > :action => :update, :conditions => { :method => :put } > o.connect '/:gadget/widgets/:id(.:format)', > :action => :destroy, :conditions => { :method => :delete } > end > > Can this be done more concisely while achieving the exact routes > produced by the verbose version above (a simple nested route won't > do it)? I thought about utilizing RAILS_RELATIVE_URL_ROOT and > extracting :gadget manually in a filter, but there are some aspects > about that approach that I don't like. > > Thanks, > Brian > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > -- > http://jeremymcanally.com/ - http://intridea.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at lojic.com Mon Jan 24 18:11:23 2011 From: info at lojic.com (Brian Adkins) Date: Mon, 24 Jan 2011 18:11:23 -0500 Subject: [raleigh.rb] Adding a URL path argument to a RESTful route In-Reply-To: <3089E95D-D131-4BFA-8152-1340FBD89113@lojic.com> References: <5A9C483A-81B6-45D0-B130-D28D1F8F6B5C@lojic.com> <3089E95D-D131-4BFA-8152-1340FBD89113@lojic.com> Message-ID: <467878EA-6093-484E-8D6F-CC620FE137E3@lojic.com> Wrapping them all in a map.with_options instead of map.namespace will do what I want: map.with_options({ :path_prefix => '/:gadget' }) do |m| m.resources :widgets ... end Brian -- Brian Adkins Lojic Technologies, LLC http://lojic.com/ On Jan 24, 2011, at 5:42 PM, Brian Adkins wrote: > Jeremy: > > Excellent! > > I actually came across that article, but I didn't realize the prefix > could be dynamic, but I just tried the following, and it appears to > work just fine: > > map.resources :widgets, :path_prefix => "/:gadget" > > I tried a few different ways to do the above within a map.namespace > block since I have a bunch of them, but I couldn't get the route > names to be correct. The above will save a ton of boilerplate though. > > Thanks, > Brian > > On Jan 24, 2011, at 5:17 PM, Jeremy McAnally wrote: > >> Ah, it's easier than that! You can namespace routes: http://stackoverflow.com/questions/3517248/rails-2-3-namespace-and-nested-shallow-resources-prefix-issue >> >> --Jeremy >> >> On Mon, Jan 24, 2011 at 5:05 PM, Brian Adkins wrote: >> I would like to take the routes produced by the following: >> >> map.resources :widgets >> >> And prepend a URL path argument. For example, take the following >> route: >> >> widgets GET /widgets/:id(.:format) >> {:action=>"show", :controller=>"widgets"} >> >> and convert it to: >> >> widgets GET /:gadget/widgets/:id(.:format) >> {:action=>"show", :controller=>"widgets"} >> >> >> The following will do that, but at the expense of quite a bit of >> verbosity. It's simply creating the REST routes manually with the >> addition of the :gadget URL param: >> >> map.with_options({:controller => 'widgets'}) do |o| >> o.widgets_index '/:gadget/widgets(.:format)', >> :action => :index, :conditions => { :method => :get } >> o.connect '/:gadget/widgets(.:format)', >> :action => :create, :conditions => { :method => :post } >> o.new_widgets '/:gadget/widgets/new(.:format)', >> :action => :new, :conditions => { :method => :get } >> o.edit_widgets '/:gadget/widgets/:id/edit(.:format)', >> :action => :edit, :conditions => { :method => :get } >> o.widgets '/:gadget/widgets/:id(.:format)', >> :action => :show, :conditions => { :method => :get } >> o.connect '/:gadget/widgets/:id(.:format)', >> :action => :update, :conditions => { :method => :put } >> o.connect '/:gadget/widgets/:id(.:format)', >> :action => :destroy, :conditions => { :method => :delete } >> end >> >> Can this be done more concisely while achieving the exact routes >> produced by the verbose version above (a simple nested route won't >> do it)? I thought about utilizing RAILS_RELATIVE_URL_ROOT and >> extracting :gadget manually in a filter, but there are some aspects >> about that approach that I don't like. >> >> Thanks, >> Brian >> >> -- >> Brian Adkins >> Lojic Technologies, LLC >> http://lojic.com/ >> >> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> >> >> -- >> http://jeremymcanally.com/ - http://intridea.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at iannopollo.com Mon Jan 24 18:14:12 2011 From: steve at iannopollo.com (Steve Iannopollo) Date: Mon, 24 Jan 2011 18:14:12 -0500 Subject: [raleigh.rb] Adding a URL path argument to a RESTful route In-Reply-To: <5A9C483A-81B6-45D0-B130-D28D1F8F6B5C@lojic.com> References: <5A9C483A-81B6-45D0-B130-D28D1F8F6B5C@lojic.com> Message-ID: <45A097BA-E6AE-41D9-B88B-B68E8D0467D2@iannopollo.com> I think you might just be able to use the :path_prefix option, like this: map.resources :widgets, :path_prefix => ':gadget' -Steve On Jan 24, 2011, at 5:05 PM, Brian Adkins wrote: > I would like to take the routes produced by the following: > > map.resources :widgets > > And prepend a URL path argument. For example, take the following route: > > widgets GET /widgets/:id(.:format) {:action=>"show", :controller=>"widgets"} > > and convert it to: > > widgets GET /:gadget/widgets/:id(.:format) {:action=>"show", :controller=>"widgets"} > > > The following will do that, but at the expense of quite a bit of verbosity. It's simply creating the REST routes manually with the addition of the :gadget URL param: > > map.with_options({:controller => 'widgets'}) do |o| > o.widgets_index '/:gadget/widgets(.:format)', > :action => :index, :conditions => { :method => :get } > o.connect '/:gadget/widgets(.:format)', > :action => :create, :conditions => { :method => :post } > o.new_widgets '/:gadget/widgets/new(.:format)', > :action => :new, :conditions => { :method => :get } > o.edit_widgets '/:gadget/widgets/:id/edit(.:format)', > :action => :edit, :conditions => { :method => :get } > o.widgets '/:gadget/widgets/:id(.:format)', > :action => :show, :conditions => { :method => :get } > o.connect '/:gadget/widgets/:id(.:format)', > :action => :update, :conditions => { :method => :put } > o.connect '/:gadget/widgets/:id(.:format)', > :action => :destroy, :conditions => { :method => :delete } > end > > Can this be done more concisely while achieving the exact routes produced by the verbose version above (a simple nested route won't do it)? I thought about utilizing RAILS_RELATIVE_URL_ROOT and extracting :gadget manually in a filter, but there are some aspects about that approach that I don't like. > > Thanks, > Brian > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From jeremymcanally at gmail.com Mon Jan 24 19:44:34 2011 From: jeremymcanally at gmail.com (Jeremy McAnally) Date: Mon, 24 Jan 2011 19:44:34 -0500 Subject: [raleigh.rb] Adding a URL path argument to a RESTful route In-Reply-To: <467878EA-6093-484E-8D6F-CC620FE137E3@lojic.com> References: <5A9C483A-81B6-45D0-B130-D28D1F8F6B5C@lojic.com> <3089E95D-D131-4BFA-8152-1340FBD89113@lojic.com> <467878EA-6093-484E-8D6F-CC620FE137E3@lojic.com> Message-ID: Ah yes! Didn't register in my brain you needed it dynamic. Then yup this is the way to do it! --Jeremy On Mon, Jan 24, 2011 at 6:11 PM, Brian Adkins wrote: > Wrapping them all in a map.with_options instead of map.namespace will do > what I want: > > map.with_options({ :path_prefix => '/:gadget' }) do |m| > m.resources :widgets > ... > end > > Brian > > -- > Brian Adkins > Lojic Technologies, LLC > http://lojic.com/ > > > > > On Jan 24, 2011, at 5:42 PM, Brian Adkins wrote: > > Jeremy: > > Excellent! > > I actually came across that article, but I didn't realize the prefix could > be dynamic, but I just tried the following, and it appears to work just > fine: > > map.resources :widgets, :path_prefix => "/:gadget" > > I tried a few different ways to do the above within a map.namespace block > since I have a bunch of them, but I couldn't get the route names to be > correct. The above will save a ton of boilerplate though. > > Thanks, > Brian > > On Jan 24, 2011, at 5:17 PM, Jeremy McAnally wrote: > > Ah, it's easier than that! You can namespace routes: > http://stackoverflow.com/questions/3517248/rails-2-3-namespace-and-nested-shallow-resources-prefix-issue > > --Jeremy > > On Mon, Jan 24, 2011 at 5:05 PM, Brian Adkins wrote: > >> I would like to take the routes produced by the following: >> >> map.resources :widgets >> >> And prepend a URL path argument. For example, take the following route: >> >> widgets GET /widgets/:id(.:format) {:action=>"show", >> :controller=>"widgets"} >> >> and convert it to: >> >> widgets GET /:gadget/widgets/:id(.:format) {:action=>"show", >> :controller=>"widgets"} >> >> >> The following will do that, but at the expense of quite a bit of >> verbosity. It's simply creating the REST routes manually with the addition >> of the :gadget URL param: >> >> map.with_options({:controller => 'widgets'}) do |o| >> o.widgets_index '/:gadget/widgets(.:format)', >> :action => :index, :conditions => { :method => :get } >> o.connect '/:gadget/widgets(.:format)', >> :action => :create, :conditions => { :method => :post } >> o.new_widgets '/:gadget/widgets/new(.:format)', >> :action => :new, :conditions => { :method => :get } >> o.edit_widgets '/:gadget/widgets/:id/edit(.:format)', >> :action => :edit, :conditions => { :method => :get } >> o.widgets '/:gadget/widgets/:id(.:format)', >> :action => :show, :conditions => { :method => :get } >> o.connect '/:gadget/widgets/:id(.:format)', >> :action => :update, :conditions => { :method => :put } >> o.connect '/:gadget/widgets/:id(.:format)', >> :action => :destroy, :conditions => { :method => :delete } >> end >> >> Can this be done more concisely while achieving the exact routes produced >> by the verbose version above (a simple nested route won't do it)? I thought >> about utilizing RAILS_RELATIVE_URL_ROOT and extracting :gadget manually in a >> filter, but there are some aspects about that approach that I don't like. >> >> Thanks, >> Brian >> >> -- >> Brian Adkins >> Lojic Technologies, LLC >> http://lojic.com/ >> >> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > > -- > http://jeremymcanally.com/ - http://intridea.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 > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- http://jeremymcanally.com/ - http://intridea.com/ Bowties, ties, and more: http://wickhamhousebrand.com My books: http://r3uh.com http://rbip.info/ http://hlrb.org (FREE!) -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas at ravinggenius.com Mon Jan 24 22:25:22 2011 From: thomas at ravinggenius.com (Thomas Ingram) Date: Mon, 24 Jan 2011 22:25:22 -0500 Subject: [raleigh.rb] multiple gemfiles in a project Message-ID: I'm building an extension system for my app, and I'd like for each extension to be able to specify gem dependencies in their own Gemfile. Is this possible? I've tried multiple variations on `Dir[Bundler.root + 'vendor' + 'addons' + '**' + '*' + 'Gemfile'].each { |gemfile| require gemfile }` with no success. -- Thomas Ingram ><> From matthew at matthewtodd.org Tue Jan 25 07:48:14 2011 From: matthew at matthewtodd.org (Matthew Todd) Date: Tue, 25 Jan 2011 15:48:14 +0300 Subject: [raleigh.rb] multiple gemfiles in a project In-Reply-To: References: Message-ID: On Jan 25, 2011, at 6:25 AM, Thomas Ingram wrote: > I'm building an extension system for my app, and I'd like for each > extension to be able to specify gem dependencies in their own Gemfile. > Is this possible? I've tried multiple variations on `Dir[Bundler.root > + 'vendor' + 'addons' + '**' + '*' + 'Gemfile'].each { |gemfile| > require gemfile }` with no success. To play nice with bundler, my first thought would be to consider structuring those extensions as gems themselves -- even if they're otherwise-unreleased directories with top-level .gemspec files. Then, you could 'gem "foo", :path => "vendor/addons/foo"' in your app's Gemfile. (You'd need to specify the extensions' dependencies in their .gemspecs, so that bundler-at-the-app-level can know about and resolve them. Each extension-level Gemfile would then just contain "source :rubygems; gemspec".) Cheers, -- Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3743 bytes Desc: not available URL: From minter at lunenburg.org Wed Jan 26 15:40:16 2011 From: minter at lunenburg.org (H. Wade Minter) Date: Wed, 26 Jan 2011 15:40:16 -0500 Subject: [raleigh.rb] Best way to spread reads out among multiple MySQL systems in Rails 2.3? Message-ID: <5FA76818-F96D-40CF-8C36-5A966FE32422@lunenburg.org> I have a Rails 2.3 app that I'd like to extend by spreading database reads out among a master and slave MySQL server, while keeping writes going to the master. I'd also ideally like to do that at the connection proxy layer, not the model. Is there a best-practices way of doing that these days? --Wade From tesmar at statsheet.com Wed Jan 26 16:05:41 2011 From: tesmar at statsheet.com (Tyler Smart) Date: Wed, 26 Jan 2011 16:05:41 -0500 Subject: [raleigh.rb] Best way to spread reads out among multiple MySQL systems in Rails 2.3? In-Reply-To: <5FA76818-F96D-40CF-8C36-5A966FE32422@lunenburg.org> References: <5FA76818-F96D-40CF-8C36-5A966FE32422@lunenburg.org> Message-ID: We use MySQL Proxy, that might be what you are looking for. On Wed, Jan 26, 2011 at 3:40 PM, H. Wade Minter wrote: > I have a Rails 2.3 app that I'd like to extend by spreading database reads > out among a master and slave MySQL server, while keeping writes going to the > master. I'd also ideally like to do that at the connection proxy layer, not > the model. Is there a best-practices way of doing that these days? > > --Wade > _______________________________________________ > 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 seancribbs at gmail.com Wed Jan 26 16:48:08 2011 From: seancribbs at gmail.com (Sean Cribbs) Date: Wed, 26 Jan 2011 16:48:08 -0500 Subject: [raleigh.rb] Positions Available (remote or DC area) Message-ID: If you're looking for a job, I know a small consulting shop in the DC area that is looking for top Ruby talent. You could work remotely or from DC. Ping me for details! Cheers, Sean Cribbs From crnixon at gmail.com Thu Jan 27 09:35:10 2011 From: crnixon at gmail.com (Clinton R. Nixon) Date: Thu, 27 Jan 2011 09:35:10 -0500 Subject: [raleigh.rb] Positions Available (remote or DC area) In-Reply-To: References: Message-ID: On Wed, Jan 26, 2011 at 4:48 PM, Sean Cribbs wrote: > If you're looking for a job, I know a small consulting shop in the DC > area that is looking for top Ruby talent. You could work remotely or > from DC. Ping me for details! Sean, I'm interested in details, although I might not be the best fit. I'm looking for something less than full-time, and looking to start in April sometime. - Clinton From blakewatters at gmail.com Thu Jan 27 10:35:04 2011 From: blakewatters at gmail.com (Blake Watters) Date: Thu, 27 Jan 2011 10:35:04 -0500 Subject: [raleigh.rb] Opportunity with a Fashion Start-Up Message-ID: All - Wanted to pass along an opportunity to work with a great team on an excellent product. The folks at Go Try It On (http://www.gotryiton.com/) are looking to hire on mobile and web development/systems architecture talent. They launched with a big splash last year at SXSW and have a great web product, complimented by a strong mobile offering developed by Two Toasters. The product enables consumers to crowd-source fashion advice by submitting pictures via their mobile device and quickly receive feedback from the community. The market has responded well and they are quickly growing a passionate user-base. They've taken a funding round and are looking to build out their in-house development capabilities. The web tier is built in PHP + javascript and they currently have an iPhone app. They will be expanding to Android and there's opportunity to work with some fun technologies and have a major impact on the product. Details available at: http://www.gotryiton.com/jobs/wae.php Best, Blake -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at lojic.com Thu Jan 27 11:27:07 2011 From: info at lojic.com (Brian Adkins) Date: Thu, 27 Jan 2011 11:27:07 -0500 Subject: [raleigh.rb] Opportunity with a Fashion Start-Up In-Reply-To: References: Message-ID: <86F74C06-18C8-4AF3-8843-8D6A0C196B9B@lojic.com> php != GOOD && ruby == GOOD # => true On Jan 27, 2011, at 10:35 AM, Blake Watters wrote: > All - > > Wanted to pass along an opportunity to work with a great team on an > excellent product. The folks at Go Try It On (http://www.gotryiton.com/ > ) are looking to hire on mobile and web development/systems > architecture talent. They launched with a big splash last year at > SXSW and have a great web product, complimented by a strong mobile > offering developed by Two Toasters. The product enables consumers to > crowd-source fashion advice by submitting pictures via their mobile > device and quickly receive feedback from the community. The market > has responded well and they are quickly growing a passionate user- > base. They've taken a funding round and are looking to build out > their in-house development capabilities. > > The web tier is built in PHP + javascript and they currently have an > iPhone app. They will be expanding to Android and there's > opportunity to work with some fun technologies and have a major > impact on the product. > > Details available at: http://www.gotryiton.com/jobs/wae.php > > Best, > Blake > _______________________________________________ > 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 rick.denatale at gmail.com Fri Jan 28 14:46:49 2011 From: rick.denatale at gmail.com (Rick DeNatale) Date: Fri, 28 Jan 2011 14:46:49 -0500 Subject: [raleigh.rb] Lightweight CI recommendations Message-ID: We're looking for a real lightweight CI thingy at SciMed. What I have in mind is something like RunCodeRun used to do, a git hook which would just run the default rake task and report results. This would be for our own git repo. The guy looking at it was pondering cijoe but we were wondering if there were other better optionss. -- 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 aaron at aaronbedra.com Fri Jan 28 15:27:45 2011 From: aaron at aaronbedra.com (Aaron Bedra) Date: Fri, 28 Jan 2011 15:27:45 -0500 Subject: [raleigh.rb] Lightweight CI recommendations In-Reply-To: References: Message-ID: The best option is still Hudson. I wouldn't mess with the other stuff at this point. Aaron On Fri, Jan 28, 2011 at 2:46 PM, Rick DeNatale wrote: > We're looking for a real lightweight CI thingy at SciMed. What I have > in mind is something like RunCodeRun used to do, a git hook which > would just run the default rake task and report results. > > This would be for our own git repo. > > The guy looking at it was pondering cijoe but we were wondering if > there were other better optionss. > > -- > 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 mriffe at gmail.com Fri Jan 28 15:36:14 2011 From: mriffe at gmail.com (Mel Riffe) Date: Fri, 28 Jan 2011 15:36:14 -0500 Subject: [raleigh.rb] Lightweight CI recommendations In-Reply-To: References: Message-ID: Hey Rick, Have you considered Hudson? http://hudson-ci.org/ Though it's Java-based, it does come in a self-contained war file and has plenty of plugins to address your Git/Rake/Ruby needs. I'm currently using it for a client of mine and it was dead simple to stand-up. I dropped the war file on a server, kicked it off, opened up the web ui, added the Ruby, Rake, and Subversion plugins, created a new project and off it went. I haven't had any problems with it (so far). Cheers, Mel On Fri, Jan 28, 2011 at 2:46 PM, Rick DeNatale wrote: > We're looking for a real lightweight CI thingy at SciMed. What I have > in mind is something like RunCodeRun used to do, a git hook which > would just run the default rake task and report results. > > This would be for our own git repo. > > The guy looking at it was pondering cijoe but we were wondering if > there were other better optionss. > > -- > 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 jeremymcanally at gmail.com Fri Jan 28 15:48:45 2011 From: jeremymcanally at gmail.com (Jeremy McAnally) Date: Fri, 28 Jan 2011 15:48:45 -0500 Subject: [raleigh.rb] Lightweight CI recommendations In-Reply-To: References: Message-ID: Don't you mean Jenkins? ;) Either way, I agree with this. Every time I've tried something else it required too much maintenance. Integrity worked well for us for about a month but then it just started falling over. I've heard good things about cijoe from the guys at Github, but I haven't personally been able to setup a fully-fledge instance of it yet. --Jeremy On Fri, Jan 28, 2011 at 3:27 PM, Aaron Bedra wrote: > The best option is still Hudson. I wouldn't mess with the other stuff at > this point. > > Aaron > > > On Fri, Jan 28, 2011 at 2:46 PM, Rick DeNatale wrote: > >> We're looking for a real lightweight CI thingy at SciMed. What I have >> in mind is something like RunCodeRun used to do, a git hook which >> would just run the default rake task and report results. >> >> This would be for our own git repo. >> >> The guy looking at it was pondering cijoe but we were wondering if >> there were other better optionss. >> >> -- >> 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 >> > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- http://jeremymcanally.com/ - http://intridea.com/ Bowties, ties, and more: http://wickhamhousebrand.com My books: http://r3uh.com http://rbip.info/ http://hlrb.org (FREE!) -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at aaronbedra.com Fri Jan 28 16:17:22 2011 From: aaron at aaronbedra.com (Aaron Bedra) Date: Fri, 28 Jan 2011 16:17:22 -0500 Subject: [raleigh.rb] Lightweight CI recommendations In-Reply-To: References: Message-ID: Agreed and my experience matches. Hudson (Jenkins) also grows with you. There are a ton of plugins and options that help you configure and report. In my experience you always want to start with something light and simple, but in the end each app is a snowflake. It often results in custom configuration and needs. Hudson does a pretty good job of getting out of your way early on, but giving you the power you need down the road. Aaron On Fri, Jan 28, 2011 at 3:48 PM, Jeremy McAnally wrote: > Don't you mean Jenkins? ;) > > Either way, I agree with this. Every time I've tried something else it > required too much maintenance. Integrity worked well for us for about a > month but then it just started falling over. I've heard good things about > cijoe from the guys at Github, but I haven't personally been able to setup a > fully-fledge instance of it yet. > > --Jeremy > > > On Fri, Jan 28, 2011 at 3:27 PM, Aaron Bedra wrote: > >> The best option is still Hudson. I wouldn't mess with the other stuff at >> this point. >> >> Aaron >> >> >> On Fri, Jan 28, 2011 at 2:46 PM, Rick DeNatale wrote: >> >>> We're looking for a real lightweight CI thingy at SciMed. What I have >>> in mind is something like RunCodeRun used to do, a git hook which >>> would just run the default rake task and report results. >>> >>> This would be for our own git repo. >>> >>> The guy looking at it was pondering cijoe but we were wondering if >>> there were other better optionss. >>> >>> -- >>> 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 >>> >> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> > > > > -- > http://jeremymcanally.com/ - http://intridea.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: