[Rails] Re: Actionmailer 2.3.4 error

2009-09-07 Thread Mark Studebaker
gems' gem 'activerecord', '=2.2.2' require 'activerecord' http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/83e4318f4217abf5 ____ From: Mark Studebaker To: rubyonrails-talk@googlegroups.com Sent: Sunday,

[Rails] Re: Polymorphic many-to-many relationship?

2009-09-06 Thread Mark Studebaker
Have you tried has_many_polymorphs (2.13) http://m.onkey.org/2007/8/14/excuse-me-wtf-is-polymorphs From: Heinz Strunk To: rubyonrails-talk@googlegroups.com Sent: Sunday, September 6, 2009 4:47:51 AM Subject: [Rails] Re: Polymorphic many-to-many relationship?

[Rails] Actionmailer 2.3.4 error

2009-09-05 Thread Mark Studebaker
Hello - I'm using action mailer in a SVN post-commit script to send out emails. Everything was working fine with actionmailer 2.2.2. Now that U upgraded to actionmailer 2.3.4 I'm getting errors. This is the code I'm using and was working. def simple_message(repo, to, sub, message) from "

[Rails] Multiple dynamically generated form fields

2009-06-11 Thread Mark Studebaker
Just wondering what the best "Rails way" to do this would be.. I have a form that uses an auto complete text box and a that holds n number of selections from the text box. The is made up of multiple each with the id set to the modelname_id. When the user submits the form, I parse through

[Rails] Re: Sending SMS messages without knowing the user's carrier

2009-05-20 Thread Mark Studebaker
There is always the option of connecting a mobile phone to your computer and send/receive SMS through the phone. It's slow though ~4 messages a minute. Its not practical if your app is hosted but I was able to run using a server called Kylix (which polls and updates your DB) as well as using gn

[Rails] Re: Active record question

2008-09-06 Thread Mark Studebaker
ources and appointments tables. Maybe a bad design decision?? - Original Message From: Phlip <[EMAIL PROTECTED]> To: rubyonrails-talk@googlegroups.com Sent: Saturday, September 6, 2008 8:52:49 PM Subject: [Rails] Re: Active record question Mark Studebaker wrote: > I'm n

[Rails] Active record question

2008-09-06 Thread Mark Studebaker
I'm not quite sure how to get at this data using Actrive record.. I'm trying to get all the appointments made for a particular project. I'm using four models, Projects, Tasks, Resources and Appointments. The SQL gets me what I'm looking for but how do I do it using Active Record? Select a.* f