similar to: ActionMailer - ROR Recipes - Multipart/alternative

Displaying 20 results from an estimated 1000 matches similar to: "ActionMailer - ROR Recipes - Multipart/alternative"

2006 Feb 21
7
Self-referencial habtm relationship
Heyo! I am setting up a self-referencial habtm relationship with the users of my app. I am using Chad Fowler''s "Rails Recipes" to get me started, and everything works great with the join table "people_friends". I add friends by doing somebody.friends << somebodyelse. However, with my app, there is an approval process so my join table has columns person_id,
2006 Feb 06
4
Relationship Question (STI)
My girlfriend and I have been dating for two years, and she just told me she has an STI... Actually, I currently have three different models, like: Dog, Whale, Monkey They all have some similar attributes, but, they are unique enough to break into their own models. I could use STI, but I think the table would just have too many columns. Now, I wanted to let the Dog''s, Whale''s
2006 Mar 08
3
migrations schema_info table, Rails Recipes Bug?
I have the rails recipes book and i was going through the migrations recipe. Everything seemed to work except for the last part in trying to do a rake migrate with a migration file version 1 and the schema_info version set to 0. Without the force attribute, the rake migration fails, as expected. So the recipe says to run this: ruby script/runner
2006 Mar 31
3
RJS templates outputting bloated code?
I''m an RJS newbie. I just did the tutorial at http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates, and then used wget to look at the output the RJS template generates. This is what I got: try { new Insertion.Bottom("list", "<li>Fox</li>"); new Effect.Highlight("list",{duration:1}); Element.update("header", "RJS
2006 Feb 06
35
ROR Recipes Beta
Yesterday I got the beta version of ROR recipes book and the recipes are great. For those of you still thinking about it, I highly recommend the book. The only thing I wish is that if there were some more recipes (greedy me), especially AJAX related and installing an application within your current application. For instance, it will be great to see how one can implement the typo blog
2006 Feb 03
33
[ADV] Rails Recipes Beta Book is now available
I''m delighted to announce that Chad Fowler''s new book, Rails Recipes, is now available as a Beta Book. This is a great title for folks who know Rails, and for folks who want to get the most out of Rails. It contains detailed recipes for doing real-world things with Rails, all illustrated with working code. Some examples are drawn from Rails 1.1, the rest from Rails 1.0.
2006 Feb 08
2
helpers and plugins
First a helper... Have a boolean field - on forms, it returns ''true'' or ''false'' It would be much nicer to have it say either ''yes'' or ''no'' is there a helper for this? Where do I find a list of helpers beyond Agile book? Secondly, plugins... I know that I am going to have to look at authentication mechanisms and
2006 Jan 29
2
GetText and rjs templates?
hi, is it possible that gettext don''t work with rjs templates? i''ve just tried this simple example blog_controller.rb : class BlogController < ApplicationController def index end def dosomething end end index.rhtml : <html> <head> <%= javascript_include_tag :defaults %> </head> <body> <div id="test">Some text to change
2006 Apr 14
7
SHA2 Issues
Hello all, Thank you in advance for your help with this. I am trying to implement the user authentication method from Ruby Recipes which calls for the use of SHA 2. Here is the code for the password: def password=(pass) salt = [Array.new(6){rand(256).chr}.join].pack("m").chomp self.password_salt, self.password_hash = salt, Digest::SHA256.hexdigest(pass + salt) end I open
2006 Mar 31
6
Install rubygems error
I made the mistake of trying to upgrade to 1.8.4 from 1.8.2 and had intended to upgrade to rails 1.1. I have now completely borked my ruby gems installation. After installing ruby I get the following error when trying to execute gem: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2006 Feb 17
3
Migration Errors?
Hi there, I just bought the Rails Recipes and PDF preview of the book. So far it''s excellent. I decided to try Chapter 8 of the book regarding tagging. I''ve done migrations before, and I feel comfortable with them, however this error stumps me. -------------------------------------------------- antrover:~/RubyProjects/rlog dhoefler$ ruby script/generate migration
2006 Feb 08
8
Strategies for Unit testing 2 databases
Hi, My application spans 2 (or more) databases for some very specific reasons... My models are working fine, even dynamically establishing connections as needed at runtime, and spanning relationships across the databases (which really impressed me). The problem is, I can''t seem to force Units for these models (that use a secondary db) to load their fixtures into and use the
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across multiple remote hosts. It was formerly known as SwitchTower. Installation: gem install capistrano Manual: http://manuals.rubyonrails.org/read/book/17 Version 1.1 introduces a few changes: * Renamed! Due to the trademark infringement debacle of last week, we had to change the name. Moving forward it will be known as
2005 Dec 21
3
Best Practices???
Has anyone come up with a list of best practices for App design using Ruby On Rails? John McClain Senior Software Engineer TCS Healthcare jmcclain-RI2jYlfFOOy2dUpmj6OxPQC/G2K4zDHf@public.gmane.org (530)886-1700x235 "Skepticism is the first step toward truth"
2009 Aug 06
18
Best Practices Question
Should models call action mailers, or should those calls always originate from controllers? For example, should user.forgot_password send the email, or should the user_controller.forgot_password? Just looking for some opinions... Thanks, Tom
2006 Feb 21
1
[ADV] Next beta of Rails Recipes is available
The second beta of Rails Recipes, Chad Fowler''s killer book or writing real-world Rails, is now available. It features seven new recipes: * In Place Editing * Making Your Own JavaScript Helper * Many To Many With Attributes On The Relationship * Dealing With Time Zones * Living On The Edge * Making Your Own Rails Plugins (contributed by Rick Olson, aka technoweenie) * Polymorphic
2006 Aug 09
5
Action Mailer ...mail done but not received.. (or sent ?)
I am using Action Mailer as stated in RoR book... the mail seems to be correctly setup.. and I get the following log.. Sent mail: Date: Wed, 9 Aug 2006 19:54:04 +0200 From: support@alemat.com To: myself@mac.com Subject: Your password is ... Mime-Version: 1.0 Content-Type: text/html; charset=utf-8 _____________ Your username is barbare. Your new password is tDRvfzNvDF. Please login and change
2006 Jun 13
0
[ANN/ADV] Rails Recipes is Shipping
Hi All, Pragmatic Dave Thomas tells me that Rails Recipes (http://pragmaticprogrammer.com/titles/fr_rr) is now shipping! He and Andy apparently have over a ton of books to deliver. If you''ve ordered a paper book, it''s soon on the way. If you''ve been waiting, now''s the time. Amazon is also has the book in stock
2006 Apr 03
18
newbie generate scaffold
Hi Guys First time on the list and pretty new to the rails way of doing things, yup I know sorry.. another newbie! anyway, apologies out of the way, this is the problem I am having... I have purchased the "Agile Development with Rails" book and have just started running through the ''Depot'' demo application. I have got to page 57... I have my project files all
2006 Feb 09
0
OSCON Call For Proposals Deadline (Feb 13)
Hello Rubyists! We on the OSCON presentation committee wanted to remind you all that the deadline for proposals for this year''s O''Reilly Open Source Convention is Midnight (PST) Feb 13. So you have the rest of this week and the weekend to get those talk proposals in! The talk proposal form is here: http://conferences.oreillynet.com/cs/os2006/create/e_sess/ You can read more