[SDRuby] Looking for software developers

2009-06-23 Thread Chris McCann
Fellow Rubyists, I've been lurking here for a month or two and have the best intentions of actually meeting up with the group at some point, especially since I live pretty close to UCSD. No excuses -- if I'm in town for the next meeting, I'll be there. Let me give a quick introduction. I'm a r

[SDRuby] Re: Looking for software developers

2009-06-24 Thread Chris McCann
> > - Matt > > On Mon, Jun 22, 2009 at 10:20 PM, Chris McCann wrote: > > > > > Fellow Rubyists, > > > I've been lurking here for a month or two and have the best intentions > > of actually meeting up with the group at some point, especially since > >

[SDRuby] Re: Get your RBBQ on!

2009-08-06 Thread Chris McCann
I'll be there as well with some Emeril's special chicken for the grill. I look forward to meeting all of you finally. Cheers, Chris McCann > > > Hey, folks. It's time to have another SD Ruby RBBQ > > > > WHAT > > > This is a potluck cookout

[SDRuby] Re: ecommerce

2009-08-23 Thread Chris McCann
Ben, If you're interested in using Amazon's Flexible Payment Service (FPS) to set up market place or third-party e-commerce the remit plugin will probably give you a good head start. http://rubyforge.org/projects/remit/ Amazon did a webinar on the basics of FPS this past week. You can access t

[SDRuby] Rails Developer needed to build start-up application

2009-08-31 Thread Chris McCann
ecifics of the project in this forum but can do so with interested developers one-on-one. Thanks, Chris McCann --~--~-~--~~~---~--~~ SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby -~--~~~~--~~--~--~---

[SDRuby] Re: Google Wave Invites

2009-12-02 Thread Chris McCann
I'll take one -- thanks, Nic. On Dec 2, 5:30 pm, Nic Benders wrote: > Does anybody still need a Wave invite?  I've got spares. -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] CruiseControl.rb on OS X Snow Leopard (ruby 1.8.7)

2009-12-09 Thread Chris McCann
Has anyone here had luck running CruiseControl.rb on a Mac with the subject configuration? When I run the latest CCRB release (1.4.0) the CPU maxes out at 100% and nothing happens in the terminal window. Running it with --trace doesn't give anything extra. The CCRB docs say that it won't run on 1

[SDRuby] Re: CruiseControl.rb on OS X Snow Leopard (ruby 1.8.7)

2009-12-10 Thread Chris McCann
I got CC.rb working in OS X 10.6 after doing the full "update and reinstall everything after Snow Leopard upgrade" Hokey-Pokey. Between Matt's post (http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow- leopard) and about a half-dozen others I was able to get things working. Some stuff I lea

[SDRuby] Running Rails in https all the time

2009-12-17 Thread Chris McCann
I've got a client who wants me to run their Ruby on Rails site using https all the time because of the type of information they're processing with the application. I'm having trouble getting Rails to use the https protocol. I've deployed to Apache2 with Passenger. I thought it would be a simple

[SDRuby] Re: Running Rails in https all the time

2009-12-17 Thread Chris McCann
/ssl/www.example.com/www.example.com.crt >   SSLCertificateKeyFile /home/user/ssl/www.example.com/www.example.com.key > > > James > > On Thu, Dec 17, 2009 at 1:00 PM, Chris McCann wrote: > > I've got a client who wants me to run their Ruby on Rails site using > > https all t

[SDRuby] Re: Running Rails in https all the time

2009-12-17 Thread Chris McCann
Greg, Thanks, between your advice and James' I think I have the solution at hand. Will give it a shot and report back here. Cheers, Chris On Dec 17, 1:16 pm, Greg Willits wrote: > On Dec 17, 2009, at 1:00 PM, Chris McCann wrote: > > > > > I've got a client who w

[SDRuby] Re: Running Rails in https all the time

2009-12-17 Thread Chris McCann
; ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL >   SSLCertificateFile /home/user/ssl/www.example.com/www.example.com.crt >   SSLCertificateKeyFile /home/user/ssl/www.example.com/www.example.com.key > > > James > > On Thu, Dec 17, 2009 at 1:00 PM, Chris McCann

[SDRuby] Re: Running Rails in https all the time

2009-12-17 Thread Chris McCann
mplications here with both the .htaccess and the   > rewrite solution.  I don't mean to scare you, it's pretty easy to   > become an expert, but it's a bad idea to just pull recommendations   > from a mailing list (as good as that list may be) and trusting that   > your clien

[SDRuby] Looking for Developer with Sinatra/HAML/Sass skills

2009-12-23 Thread Chris McCann
more details if you're interested and have some time to devote to this effort. Cheers, Chris McCann -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] Re: RoR training in SD?

2010-01-06 Thread Chris McCann
Marc, As basic as this may sound I think one of the best, and quickest, ways for someone to jumpstart their knowledge is to get a copy of the "Agile Web Dev with Ruby on Rails" book from Pragmatic Programmers and build the depot application. You can go through that entire exercise in just a few d

[SDRuby] Re: Slides and links for hosting talk

2010-01-08 Thread Chris McCann
Thanks, Nic, really enjoyed your talk. Here's a link to a nice, concise munin tutorial that I just went through to get munin up and running on a rimuhosting VPS slice: http://www.debuntu.org/how-to-monitoring-a-server-with-munin Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com htt

[SDRuby] Re: Slides and links for hosting talk

2010-01-08 Thread Chris McCann
pdate --force-root The end of this tutorial also explains how munin sets up a cron job to run itself, which wasn't apparent from the munin site or the other tutorial. This should be enough to get you up and running. Cheers, Chris On Jan 8, 10:46 pm, Chris McCann wrote: > Thanks, Nic, r

[SDRuby] Re: LA Ruby Conference 2010 - Discount Code

2010-01-10 Thread Chris McCann
Is it normal to not have any speakers or a schedule posted about a month out? I'm debating going but would like to get a feel for what's going to be covered before I do. If anyone has some insight on what to expect please post it here. Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.

[SDRuby] Re: LA Ruby Conference 2010 - Discount Code

2010-01-11 Thread Chris McCann
Thanks, Cynthia, I didn't see the list of proposals. Looks like a great lineup. Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] Best practices for common functionality in 2 apps

2010-02-01 Thread Chris McCann
SD Ruby, What's the best (as in DRY) way to provide functionality that can be used by two different applications? I've got two Rails apps that share a DB. One is a back-office application for the folks who administer a national fraternal organization and the other is a front-end app for local ch

[SDRuby] Compiling data for reports

2010-03-02 Thread Chris McCann
An application I'm building for a charitable foundation includes a membership database. My client wants to be able to report statistics on the numbers of new members who joined, the number who quit, the number who died (the average age of members is 68, so death is not an uncommon reason for leavi

[SDRuby] Job opportunity in Orange County

2010-03-03 Thread Chris McCann
SD Ruby, A headhunter called me today asking if I knew anyone with C/C++ experience who'd be interested in a full time position with a company in Orange County that does data encryption work. Having a security clearance of Secret or higher is a plus but I suspect that being able to get a clearanc

[SDRuby] Progress display using delayed_job

2010-03-08 Thread Chris McCann
SD Ruby, My apologies if any of you are Pragmatic Studio alums as I posted this to the railsstudio mailing list as well to try to find a solution. One of my apps has a task that can run for a good 30-45 seconds and is something the user necessarily has to wait on. In order not to totally block t

[SDRuby] observer + acts_as_secure + rake = fail

2010-03-16 Thread Chris McCann
I use the acts_as_secure plugin to encrypt certain sensitive fields in a model in my Rails app. I recently added an observer for that same model to log certain actions on the model for reporting purposes. I've got an irritating interaction between rake and the observer now that I can't sort out.

[SDRuby] Model update ignores field

2010-03-18 Thread Chris McCann
This is a strange one. I have a model that has a field called magazine_subscription (string). If I update that field in a form it gets saved to the database just as one would expect. But if I use a delayed_job to update a collection of model objects, the magazine_subscription field doesn't get u

[SDRuby] Re: Model update ignores field

2010-03-18 Thread Chris McCann
Thanks, James, I am restarting the DJ process each time and see the changes to the worker code. I can in fact update the attribute with no problem via the console. I've narrowed the problem down to something very strange. If I do this in the job worker: person.update_attributes(:subscription =>

[SDRuby] Need a local Rails dev for late-stage development assistance

2010-05-04 Thread Chris McCann
SD Ruby, I'm involved with the development of a Rails application that's close to going into private beta. We've had pretty good luck working with an off-shore development team for the bulk of the coding so far. However, as we approach production and are winnowing the number of "must fix" bugs do

[SDRuby] Aggregating across associations

2010-05-07 Thread Chris McCann
This seems like a trivial problem but I'll be darned if I can get it to work using ActiveRecord methods. I have a Payment model which has_many :allocations. An allocation is a portion of the total payment that's tagged for a particular purpose. Each allocation belongs_to an accounting_code for b

[SDRuby] Re: Aggregating across associations

2010-05-07 Thread Chris McCann
Ahh, beautiful! It's always amazing to me what another set of eyes can do. Thanks so much, John. I was so fixated on doing this from the Payment side that I never considered the Allocation approach. Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/

[SDRuby] Re: Aggregating across associations

2010-05-09 Thread Chris McCann
 pm, Guyren G Howe wrote: > On May 7, 2010, at 16:02 , Chris McCann wrote: > > > This seems like a trivial problem but I'll be darned if I can get it > > to work using ActiveRecord methods. > > tl;dr :-) but I generally find when I start wondering about things like th

[SDRuby] An article about Why the Lucky Stiff

2010-05-15 Thread Chris McCann
Very interesting article about the mysterious _Why: http://www.smashingmagazine.com/2010/05/15/why-a-tale-of-a-post-modern-genius/ Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] Uninstalling ruby 1.8.6 on Mac

2010-05-20 Thread Chris McCann
SD Ruby, I'm trying to sort out how best to uninstall the default ruby 1.8.6 install that comes with OS X 10.5. I installed 1.8.7 following the Hivelogic advice but now I'm obviously getting conflicts between the two ruby versions. My main goal is to do this without clobbering all of the install

[SDRuby] Re: Uninstalling ruby 1.8.6 on Mac

2010-05-20 Thread Chris McCann
> > > On Thu, May 20, 2010 at 2:33 PM, John Lynch wrote: > > >> Chris, why not try RVM? Its a great way to have multiple Rubies on your > >> machine. > > >>http://rvm.beginrescueend.com/ > > >> Regards, > > >> John Lynch, CTO > >&g

[SDRuby] Re: Uninstalling ruby 1.8.6 on Mac

2010-05-20 Thread Chris McCann
Peter, After reading about the project-specific .rvmrc file I definitely see the benefit of that approach. The one thing I haven't figured out, though, is how to make rvm aware of all the gems that are currently on my system. I really don't want to install all of them again. I tried the last ex

[SDRuby] Re: Uninstalling ruby 1.8.6 on Mac

2010-05-20 Thread Chris McCann
Peter, After reading about the project-specific .rvmrc file I definitely see the benefit of that approach. The one thing I haven't figured out, though, is how to make rvm aware of all the gems that are currently on my system. I really don't want to install all of them again. I tried the last ex

[SDRuby] Generating customizable letters in a Rails app

2010-05-28 Thread Chris McCann
SD Ruby, One of my clients is a charitable foundation that generates lots of letters to donors thanking them for their donations. I've migrated their old system from an Access database to a Rails app. I'm looking for a good replacement for how they used to generate letters to their donors. Prev

[SDRuby] Re: Generating customizable letters in a Rails app

2010-05-29 Thread Chris McCann
Thanks, John, that's a great find. It's certainly given me some ideas now for how to build it myself. Cheers, Chris On May 29, 8:43 am, John Lynch wrote: > Chris, I was researching this same issue a while back, and this GitHub > project has some sample code that might get you going on the > ro

[SDRuby] Re: Future Usability/User Experience topic requests

2010-06-06 Thread Chris McCann
Guyren, This sounds like a great interactive session and one we would all benefit tremendously from! > Is there, somewhere, a library of user interface patterns for programmers? I'm not sure this qualifies but the information here has been very helpful to me: http://designingwebinterfaces.com/d

[SDRuby] Rendering a file and redirecting

2010-07-19 Thread Chris McCann
SD Ruby, I'd like to be able to render a file, update a model attribute and update a div on a page in a single controller action but can't figure how to do it or if it's possible. The scenario is that I have a model with a "letter_sent" boolean attribute. A list of these model objects is display

[SDRuby] diff-lcs and whitepace

2010-08-03 Thread Chris McCann
I'm trying to figure out if the diff-lcs gem has an option to control whether or not whitespace differences are ignored. The Unix diff program has a -w option but I can't seem to find a similar option or switch in diff-lcs that controls this. I've looked through the diff-lcs source but nothing po

[SDRuby] Web site confirmation email and security

2010-08-10 Thread Chris McCann
SD Ruby, I'm working on a site that launched in a private beta today, private in that basic HTTP authentication is required to get into the site. I need some advice on security versus ease of sign-up. We send a confirmation email after someone signs up for an account. It contains a link that has

[SDRuby] Re: :SD_Ruby_RBBQ => "Aug 21, 5 - 9pm"

2010-08-19 Thread Chris McCann
I'll be there though my wife has a birthday party to attend so I'll be solo. I'll bring some Emeril-style chicken to grill along with some cold beer. Chris On Aug 10, 9:16 am, Patrick Crowley wrote: > Hey, folks. > > We're long overdue for another SD Ruby RBBQ, so let's make it happen!!! > > --

[SDRuby] IE8 compatibility expert needed!

2010-08-24 Thread Chris McCann
SD Ruby, We've got a Rails app we're trying to launch. Browser compatibility, every Rails dev's favorite work, has proven to be a major task. Most of our issues seem to be related to JavaScript despite using jQuery and trying not to get too crazy with Ajax. Despite mandating that all our beta u

[SDRuby] Re: Speakers for next week?

2010-09-01 Thread Chris McCann
+1 -- sounds great! Chris On Sep 1, 2:24 pm, Patrick Crowley wrote: > > We need two speakers for next week's meeting. > > We still need speakers, but it's getting kinda late for that. > > Given the release of Rails 3, how about we spend tomorrow's meeting watching > a couple of good videos that

[SDRuby] iPhone and Android app developers needed

2010-10-06 Thread Chris McCann
SD Ruby, I've been asked by a local Intellectual Property attorney who specializes in start-ups to see if there are any developers here with iPhone and/or Android development expertise who might be available to build some mobile apps for a client of hers. If you've got expertise in this area and

[SDRuby] Speakers for December (aka, this week)?

2010-11-30 Thread Chris McCann
It's been pretty quiet on the SDRuby group for the last few weeks especially with the Thanksgiving holiday. Our December meeting is two days away -- does anyone have a talk they're ready to give? I'll start the ball rolling by signing up to give a presentation on Ruleby, a Ruby implementation of

[SDRuby] Re: Speakers for December (aka, this week)?

2010-12-01 Thread Chris McCann
Patrick, I use Google's geocoding service and the acts_as_mappable Rails plugin in one of my apps. I'd be happy to give a talk in January or February on geocoding. > Here are some topics I'd like to talk about next year: > > GEOCODING 101 > - What's geocoding? > - What are good options for geoco

[SDRuby] January Speakers

2010-12-27 Thread Chris McCann
Since we're going to be coming off the holidays just prior to our next meeting I figured I'd start the ball rolling and see who we have for speakers and what topics they're covering. Anybody, anybody, Buehler, Buehler...? I had suggested I could cover geocoding but since I spoke at the last meeti

[SDRuby] Random ad selection with exclusion groups

2010-12-28 Thread Chris McCann
Before I go off and invent something on my own I figured I'd ask here if anyone has done something similar. We have a "sponsored links" section in our app that effectively contains paid advertising. We're finding that branch offices of the same company want to run ads but they want some assurance

[SDRuby] Integrating Twitter into a Rails app

2011-01-04 Thread Chris McCann
What are the best gems/plugins/roll-your-owns for integrating a Twitter feed into a Rails app? Basically we have a Twitter account that's linked to the app that the founder tweets industry-relevant items from. We want to include a scrolling feed of the tweets from this account. Anybody have

Re: [SDRuby] Integrating Twitter into a Rails app

2011-01-04 Thread Chris McCann
Thanks, gents, I'll check into both of those approaches. Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] Best blog platform for integrating with a Rails app?

2011-02-15 Thread Chris McCann
I'm working on a project that would like to integrate a blog with a Rails app we built. Can anyone recommend blogs they've used that play well with a Rails app? By "integrate" I'm thinking in terms of being able to use information from the Rails app (say, links to content) in the blog directly.

[SDRuby] Sitemap indexing

2011-02-28 Thread Chris McCann
This isn't specifically a Ruby or Rails question but I suspect there's plenty of real-world experience in this group that can help. I created a sitemap for our Rails app at principalsmarket.com and submitted it to Google. The sitemap contains URLs for our members' public profiles as well as for e

[SDRuby] Re: diff-lcs and whitepace

2011-03-19 Thread Chris McCann
Jean, No, I never did. It turned out that the problem I was solving actually needed to show whitespace differences so it became a moot point. Chris On Mar 19, 11:25 am, jean wrote: > Looking for the same thing ... Chris were you ever able to find an answer? -- SD Ruby mailing list sdruby@goo

[SDRuby] Re: Join us for another SD Ruby RBBQ on April 14!

2011-04-06 Thread Chris McCann
For those of you who haven't driven east on 56 from the 5 in the afternoon/evening commute: it gets backed up pretty badly between 4:30 and 6:00 pm. If you can avoid having to drive through there I'd highly recommend it! I'll be bringing the Emeril chicken for the grill (there is a grill, correct

[SDRuby] Spreadsheet-like calcs in a Rails app

2011-05-27 Thread Chris McCann
SD Ruby, I'm looking for some suggestions on how best to provide a spreadsheet- like calculation capability in a Rails app. I say "-like" because I'm not trying to present the user with a true web-based Excel replacement or a Google spreadsheet. Instead I'm trying to figure out the best approach

[SDRuby] Re: Spreadsheet-like calcs in a Rails app

2011-05-28 Thread Chris McCann
g in memory. > The difference with your project is that I don't display a spreadsheet, but > instead the final results based on hidden/admin entered || submitted > entries. > > - Matt > > On Fri, May 27, 2011 at 10:13 PM, Chris McCann wrote: > > > > > > >

[SDRuby] Rails and a dose of JRuby

2011-06-08 Thread Chris McCann
As a follow-up to my previous post about manipulating spreadsheets natively in Ruby I figured I'd spread the word on what I learned. The ruby spreadsheet gem is nice but it lacks one key feature: it doesn't support recalculating formulas in a spreadsheet after a dependent value has changed. This

[SDRuby] Re: Rails and a dose of JRuby

2011-06-08 Thread Chris McCann
ying rails apps in java > containers is making sure the jars are all in the right place. > > - John > j...@rigelgroupllc.com > > > > > > > > On Wednesday, June 8, 2011, Chris McCann wrote: > > As a follow-up to my previous post about manipulating spreadsheets

Re: [SDRuby] Digest for sdruby@googlegroups.com - 1 Message in 1 Topic

2011-06-10 Thread Chris McCann
John, Thanks so much. One question: why the 'platforms' switch in the Gemfile? Chris On Jun 10, 2011, at 4:59 PM, sdruby+nore...@googlegroups.com wrote: Today's Topic Summary Group: http://groups.google.com/group/sdruby/topics Rails and a dose of JRuby [1 Update] Topic: Rails and a dose o

[SDRuby] Re: Rails and a dose of JRuby

2011-06-13 Thread Chris McCann
John, I'm almost there but I can't get the server started using Trinidad. I'm getting an error related to a JAR not being found, and I suspect that's what you were alluding to in your previous reply. Here's the stacktrace: [chris@chris (master)]$ jruby -S trinidad Jun 12, 2011 11:43:14 PM org.ap

[SDRuby] JRuby and method calls

2011-07-08 Thread Chris McCann
There was a question last night after my talk regarding how JRuby handles Java methods called from Ruby that are overloaded. Here's an excerpt of what the JRuby book says: *** Let’s say you’re attempting to call the foo method on class X. First, JRuby will use Java reflection to search for all pub

[SDRuby] Python?

2011-07-29 Thread Chris McCann
I need to venture into the dark side for a work project and "get to know" Python. Can any recovering Pythonians here recommend particularly worthwhile books, web sites or tutorials that won't make a diehard Rubyist pull their hair out and look for the tallest building in town for a one-way trip?

[SDRuby] Re: Python?

2011-08-01 Thread Chris McCann
Thanks, all. I'm going through the "Dive into Python" online tutorial with Zed Shaw's "Python the Hard Way" next. Two books are also on their way from Amazon. Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] Marconi Society symposium featuring Vint Cerf

2011-09-03 Thread Chris McCann
The Marconi Society (marconisociety.org) is hosting a symposium this coming Thursday, Sept 8 at UCSD titled "How Will the Internet Survive?" Among the speakers will be Vinton Cerf, one of the fathers of the Internet. This should be a very interesting event, especially for anyone who designs, buil

[SDRuby] Stripe

2011-09-30 Thread Chris McCann
Came across this yesterday and thought it looked promising for anyone needing credit card processing: https://stripe.com/ Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] Moving away from Rails?

2011-11-30 Thread Chris McCann
An interesting post about where Rails fits in with the current web- enabled application landscape. http://broadcastingadam.com/2011/11/moving_on_from_rails Thoughts? Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] Rickshaw: A JavaScript toolkit for creating interactive time series graphs

2011-12-11 Thread Chris McCann
Rickshaw looks interesting and potentially very useful: http://bits.shutterstock.com/?p=103 Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] Efficient SQL update in Rails

2012-01-18 Thread Chris McCann
SD Ruby, What's the most efficient way to update a large batch of ActiveRecord model instances where the same fields are not being updated for each model? Here's the setup: I've got a database of members (about 13,000) and a CSV file that has contact information (3 phone numbers and 3 email addr

[SDRuby] Re: Building a troubleshooting application - what's the appropriate data structure?

2012-01-21 Thread Chris McCann
Rohan, How about a rule processing engine like ruleby? https://github.com/Codalytics/ruleby http://sdruby.org/podcast/89 Cheers, Chris On Jan 21, 5:11 pm, Rob Kaufman wrote: > Hi Rohan, > > Data structure comes down to a few factors > > If you want the system to get smarter based on user fee

[SDRuby] Re: Efficient SQL update in Rails

2012-01-22 Thread Chris McCann
Thanks, all, for the great suggestions. This issue was driving me a little crazy because the performance was so atrocious. I started down the road of moving the update to a background process but thought I should dig a little deeper to understand why it was so glacial in the first place. It turn

[SDRuby] Rails 2.3.5 and jQuery colorbox

2012-01-30 Thread Chris McCann
I'm wrestling with trying to get some Ajaxy UI going in a Rails 2.3.5 app using jQuery's colorbox pop-up/modal plugin. I don't currently have the time to port it to Rails 3 just in case anyone wonders why I'm still using 2.3 (it's a big app). I have a link on a form that opens up a colorbox windo

[SDRuby] Page-specific UJS

2012-02-15 Thread Chris McCann
SD Ruby, I'm adding a bit of JS to a Rails 3.1 app. Specifically, the JS I wrote using jQuery disables a few controls in a form if they're not applicable to the user's situation. As an example, I've got two radio buttons that let you choose one of two methods for adding a name to a list. If you

[SDRuby] Re: Page-specific UJS

2012-02-15 Thread Chris McCann
that's the approach I'm taking. I like the yield :startup approach -- thanks for sharing it. Chris On Feb 15, 10:11 pm, Guyren Howe wrote: > On Feb 15, 2012, at 9:56 PM, Chris McCann wrote: > > > There are three groups of controls that need this treatment on the > > sa

[SDRuby] Rails mass assignment exploit on Github

2012-03-05 Thread Chris McCann
A developer used the Rails mass assignment vulnerability to basically give himself push access to any Github repo. He claims he made Github aware of the problem before taking action to highlight it. Here's an article about it: http://www.h-online.com/open/news/item/GitHub-security-incident-highl

[SDRuby] Two-step :new action?

2012-03-06 Thread Chris McCann
I'm wrestling with the best way to handle what is probably a somewhat common situation with controller actions and creating a new model instance. I need to split the :new action into two parts. The creation of a new :proposal instance is really a two-step operation. The first step sets up some b

[SDRuby] Re: Two-step :new action?

2012-03-08 Thread Chris McCann
Thanks for the inputs, gents. I'm going to use a combo of both suggestions, an after_ callback and an extra controller step. Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] Ruby, Rails and _why

2012-03-15 Thread Chris McCann
Interesting article about the mysterious _why_the_lucky_stiff from Slate.com: http://www.slate.com/articles/technology/technology/2012/03/ruby_ruby_on_rails_and__why_the_disappearance_of_one_of_the_world_s_most_beloved_computer_programmers_.4.html Cheers, Chris -- SD Ruby mailing list sdruby@g

Re: [SDRuby] Digest for sdruby@googlegroups.com - 5 Messages in 4 Topics

2012-03-23 Thread Chris McCann
I'm in. On Mar 23, 2012, at 5:37 PM, sdruby@googlegroups.com wrote: > Today's Topic Summary > Group: http://groups.google.com/group/sdruby/topics > > RailsConf in Austin! [2 Updates] > Front End Ruby Developer Needed [1 Update] > Back End Developer [1 Update] > Apache+Passenger Optimization Q

[SDRuby] An app to challenge homelessness

2012-04-09 Thread Chris McCann
I read in the Air Force Times today that Jon Bon Jovi (yes, that Bon Jovi), has helped launch a developer challenge to combat homelessness, including homeless military veterans. Anyone interested in joining forces with me on this? We need something ready by July 28, 2012. Here's the link to the

[SDRuby] Re: An app to challenge homelessness

2012-04-09 Thread Chris McCann
After posting this I went back to the Challenge site to read all the rules. There's a bit of a conversation going on about the submission deadline. Effectively it sounds like the people who put on the challenge will accept the first five apps that meet the basic criteria as the five finalists (an

[SDRuby] Rails Developer Opportunity near SF

2012-06-21 Thread Chris McCann
I was contacted by a recruiter about this position. It sounds interesting, and the hourly rate was very good ($75-90/hour and up). If you're interested, contact Connor Bell. === Ruby on Rails Developer, Location: San Francisco We are looking for developers who love game chang

[SDRuby] Dynmically add fields with incrementing number

2012-06-28 Thread Chris McCann
SD Ruby, I'm struggling with a Javascript issue that I'm hoping one of you gurus can help with. One of my forms has a JS link that adds additional fields to the form for a nested form attribute. There's also a hidden field that should have an incrementing number in it that will increment for

Re: [SDRuby] Dynmically add fields with incrementing number

2012-06-28 Thread Chris McCann
Super, Patrick, that's a great start. How can I display that value in the view? On Thu, Jun 28, 2012 at 4:46 PM, Patrick Crowley wrote: > > I can't sort out how to keep a JS var to hold the "next" increment > number and to set the hidden field value to that value when the new nested > fields are

Re: [SDRuby] Dynmically add fields with incrementing number

2012-06-28 Thread Chris McCann
Thanks, Guyren -- no, it's not for an ID, it's mostly for display purposes. On Thu, Jun 28, 2012 at 4:49 PM, Guyren Howe wrote: > On Jun 28, 2012, at 4:39 PM, Chris McCann wrote: > > I can't sort out how to keep a JS var to hold the "next" increment number >

[SDRuby] Inverse partial

2012-07-07 Thread Chris McCann
Okay, so what do I mean by an "inverse partial"? I've got a situation where I want to wrap the content of multiple views in a single controller with a common form_for block that includes some other HTML markup as well as the Submit button and Cancel link. I'm trying to find a DRY approach. Le

Re: [SDRuby] Inverse partial

2012-07-08 Thread Chris McCann
. Will let you know what success I have. Cheers, Chris On Sun, Jul 8, 2012 at 12:04 AM, Guyren Howe wrote: > On Jul 7, 2012, at 23:23 , Chris McCann wrote: > > Can anyone recommend an approach that will let me re-use the outer > form_for and other mark-up? > > > A share

[SDRuby] MacBook Air vs MB Pro Retina?

2012-07-19 Thread Chris McCann
I know several of you have MacBook Air laptops you use for development and seem to universally love them. I recently got a MacBook Pro Retina at work and have to say, it's a damn impressive machine. Fast, gorgeous display, thinner and lighter than my current 15" MB Pro (that's 3 1/2 years old)

[SDRuby] Ruby debugger on OS X 10.7.4

2012-09-03 Thread Chris McCann
Has anyone had luck installing the debugger gem in Mountain Lion? I'm shaving a field full of yaks trying to get the gem installed. Here's what I get when I try to install it: gem install debugger -- --with-ruby-include=/Users/chris/.rvm/src/ruby-1.9.2-p320/ Building native extensions. This c

[SDRuby] Columnar table layout in Rails view

2012-09-17 Thread Chris McCann
SD Ruby, I'm wrestling with a view that displays data from a collection of model objects in an HTML table with the data from each model instance shown in a column. I sense there's an elegant way to do what I'm trying to do but I'm at a loss as to how. The markup below shows how the end result

Re: [SDRuby] Re: Columnar table layout in Rails view

2012-09-17 Thread Chris McCann
all that. > > Second, how about initializing an array for each row, looping through the > models once, tacking the fields you want on to the arrays, and then pulling > from the arrays to construct the view? > > Scott > > > On Monday, September 17, 2012 11:15:40 AM UTC-7,

Re: [SDRuby] Columnar table layout in Rails view

2012-09-17 Thread Chris McCann
it would be to make > it do what you want, but I thought I'd mention it anyway.) > > > Regards, > > John Lynch > j...@rigelgroupllc.com > > > > > On Mon, Sep 17, 2012 at 11:15 AM, Chris McCann > wrote: > > SD Ruby, > > > > I'm wrest

Re: [SDRuby] Re: Columnar table layout in Rails view

2012-09-17 Thread Chris McCann
ler wrote: > If you don't like iterating over the instances a dozen times, you could > make an array of the headers, iterate over the headers, then iterate over > instances once within that block. > > James > > On Monday, September 17, 2012 at 11:42 AM, Chris McCann

Re: [SDRuby] Re: Columnar table layout in Rails view

2012-09-17 Thread Chris McCann
> ["Start Date", "start_date"] > ] > %> > > > <% headers.each do |header| %> > <% header[0] %> > <% @collection.each do |item| %> > <%= item.send(header[1]) %> > <% end %> > <% end %>

[SDRuby] Non-rails specific REST API testing

2012-10-04 Thread Chris McCann
In my day job I work on a large Java-based web app that uses a RESTful JSON API to serve data to a JS-based front-end. Our QA folks are struggling a bit with how best to do automated testing of the API. I've done some googling but come up empty-handed. Can anyone recommend a solid integration

Re: [SDRuby] Non-rails specific REST API testing

2012-10-04 Thread Chris McCann
s wrote: > > Cucumber with Capybara will work in JRuby, so you should be able to use > that and test the API. Capybara will need to be setup with selenium or > poltergeist. > > > On Oct 4, 2012, at 10:35 AM, Chris McCann > > wrote: > > In my day job

[SDRuby] jQuery for intermediate developers

2012-10-06 Thread Chris McCann
This article has a nice collection of intermediate-level tips and tricks for using jQuery. I thought it was pretty useful: http://ozkatz.github.com/5-jquery-tips-for-intermediates.html Cheers, Chris -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

[SDRuby] 15" MacBook for sale

2012-10-23 Thread Chris McCann
tool of choice for Rails and Ruby. Specs: - Excellent condition - OS X Mountain Lion 10.8.2 - 4GB RAM - 320 GB HDD - two Speck hard cases (black, aqua) Asking $650 cash. I plan to put it on Craigslist in a week, so get in touch before then if you want it. Cheers, Chris McCann -- SD Ruby mail

Re: [SDRuby] 15" MacBook for sale

2012-10-23 Thread Chris McCann
; > k > > > On Tue, Oct 23, 2012 at 2:34 PM, Neal Clark wrote: > >> can i pick the tattoo he gets? >> >> On Oct 23, 2012, at 2:30 PM, John Lynch wrote: >> >> > Will u trade for a tattoo? >> > >> > On Tue, Oct 23, 2012 at 2:19 PM, Ch

[SDRuby] RubyConf

2012-10-24 Thread Chris McCann
ts to go. I've tweeted to them for assistance and will post an update here if I get one. If you're interested in trying to use my ticket get in touch with me. Cheers, Chris McCann -- SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby

  1   2   3   >