Re: [Rails] Re: Fighting Rails RESTful Routes Conventions

2011-04-28 Thread Kevin Monceaux
\Peter, On Thu, Apr 28, 2011 at 09:15:05AM -0700, Peter wrote: > I didn't see anyone in this thread answer your actual, original > question on here so I figured I'd chime in. I'm not familiar with the > Rails 3 routes syntax yet, but I think in Rails 2.x this should be as > simple as: > > map

[Rails] Re: Best Rails environment for Windows 7

2011-04-28 Thread Kevin Monceaux
On Wed, Apr 27, 2011 at 05:06:48PM -0700, Luis Lavena wrote: > Could be, but you might be ignoring for a second that this simple > statement might come up with a steeped learning curve (learn a new OS, > bash, a package manager, etc). But he wasn't ignoring the OP's request. The OP asked for the

[Rails] Re: Fighting Rails RESTful Routes Conventions

2011-04-28 Thread Kevin Monceaux
On Wed, Apr 27, 2011 at 08:14:01PM -0500, Phil Crissman wrote: > I can understand having preferences, but I'm not certain I see the > worth in fighting all the Rails conventions; if I were to switch to > django or to cake-php or (something else), I'd think it would make > more sense for me to adop

Re: [Rails] Re: Fighting Rails RESTful Routes Conventions

2011-04-27 Thread Kevin Monceaux
On Wed, Apr 27, 2011 at 03:08:50PM -0500, Kevin Monceaux wrote: > In that context, which of: > > /Recipes/Beef-Brisket > > /Recipe/Beef-Brisket After sending my last reply, I thought of another way of looking at the above URLs. Using slugs and Rails plural default, a

Re: [Rails] Re: Fighting Rails RESTful Routes Conventions

2011-04-27 Thread Kevin Monceaux
On Wed, Apr 27, 2011 at 12:36:06PM -0700, Tim Shaffer wrote: > The way I see it - if you were to create a folder on your computer > to store recipies, what would you call it? Recipe or recipes? I'd create a directory, and call it Recipes. > I'd call it recipes since it holds more than one rec

[Rails] Fighting Rails RESTful Routes Conventions

2011-04-27 Thread Kevin Monceaux
Rails Fans, Back in the 2.x days I converted my personal site to Rails. I eventually got tired of fighting Rails conventions and tried other options. I'm now back and giving Rails another look. I've been tinkering with another personal site and have it partially implemented in both Rails 3 and

Re: [Rails] Newbie question about views folder

2010-05-21 Thread Kevin Monceaux
On Fri, May 21, 2010 at 06:45:11PM -0700, FrankMurphy wrote: > For instance, if I create a sample program 'demo_app' and create a 'users' > resource with the command: > > $ script/generate scaffold User name:string email:string > > and then migrate with the command: > > $ rake db:migrate > > I

[Rails] Re: Design question

2010-05-18 Thread Kevin Monceaux
On Tue, May 18, 2010 at 06:23:57AM -0700, pepe wrote: > I am doing the same with addresses, although I understand the problem is > different because a person can have more than one address but not more > than 1 name (except for AKAs) or if the person is Jason Bourne... ;) Someone in the witness p

Re: [Rails] Which linux distro for rails using ruby 1.9.1

2010-05-11 Thread Kevin Monceaux
Japmsn, On Tue, May 11, 2010 at 06:27:05AM +0200, Japmsn Japms wrote: > Question: > If you currently have rails installed from gems and working with ruby > 1.9.1 , which distro are you using? I hadn't tried that particular version yet. But, it gave me an excuse to experiment more with rvm, wh