SendToFriendsGenerator
by Jeroen Houben jeroen.houben@lostboys.nl
== DESCRIPTION:
This will create two models (sender and recipient), a controller and a bunch of templates
Together they implement basic send to friend functionality
== FEATURES/PROBLEMS:
-
a simple FriendMailer object
-
email templates for HTML and plain text alternative
-
configurable amount of friends
-
support for including a user submitted message in the email
-
support for HTML as well as XML (nice for Flash integration)
-
server-side validation
-
error messages in HTML or XML
-
future feature: search and replace script to replace all relative image tags with absolute ones (http://)
== SYNOPSIS:
./script/generate send_to_friends [options]
== REQUIREMENTS:
rails plugin: http://agilewebdevelopment.com/plugins/activerecord_base_without_table
== INSTALL:
sudo gem install send_to_friends_generator
== LICENSE:
(The MIT License)
Copyright (c) 2007 FIX
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.