[Rails] Simple auto-complete tutorial

2009-03-18 Thread David Dennis
I'm putting this here because it took too long to set up: == Things you'll need for auto_complete since everyone else was too lazy to write down: Example model is 'list' Example field is 'name' # Controller auto_complete_for :list, :name skip_before_filter :verify_a

[Rails] Re: How do I organize my model code?

2009-03-11 Thread David Dennis
Jeremy Woertink wrote: > > I would suggest starting with reading Object Thinking by David West > (http://www.microsoft.com/learning/en/us/books/6820.aspx) This may help > you to build your objects out. > > You can have objects that don't extend ActiveRecord::Base, just make a > new class, and

[Rails] How do I organize my model code?

2009-03-10 Thread David Dennis
I have a basic question. I've been working with Rails for a couple months now, and I've read the O'Reilly book on it, but once I started making a basic sized application, it seems like my main model "List" has waaay too much code, and I want to break it down into classes and subclasses. Most of

[Rails] Form Posts Across Different Controllers?

2009-01-05 Thread David Dennis
I have a basic, basic question about form posting across different controllers. I think I'm having a fundamental problem understanding html forms, while ruby I understand fairly well. If I have on my "item" "show" page: <% form_tag '/users' do %> <%= hidden_field_tag "id", @item.id %> <%= su

[Rails] Re: Simple Question: How do I install Authlogic w/o git?

2008-12-13 Thread David Dennis
Frederick Cheung wrote: > On 13 Dec 2008, at 18:43, David Dennis wrote: > >> >> I don't think I'm going to figure out how to install Git anytime soon. >> The install fails everytime I issue a "make." >> >> The authlogic plugin page only

[Rails] What is the "right" way to upload my Rails application?

2008-12-13 Thread David Dennis
Hi all, I've been developing with Rails for about two weeks now. Just met a deadline where we already have users, comments, and some other cool app logic up on the site. This framework is a dream next to Struts. The issue is, I've been doing things quick and dirty, but because if I expect the

[Rails] Simple Question: How do I install Authlogic w/o git?

2008-12-13 Thread David Dennis
I don't think I'm going to figure out how to install Git anytime soon. The install fails everytime I issue a "make." The authlogic plugin page only offers a git repository (git://github.com/binarylogic/authlogic.git ) and I can't find an svn repository for it which would make my life easier. Is