similar to: using ActionMailer with template files retrieved from sql database table instead of on disk files

Displaying 20 results from an estimated 2000 matches similar to: "using ActionMailer with template files retrieved from sql database table instead of on disk files"

2006 Jan 13
2
Switchtower - openssl error
I get this error on switchtower setup task: no such file to load -- openssl I have openssl installed. Debian 3.1, Rails 1.0, Ruby 1.8.2, OpenSSL 0.9.7e
2006 Mar 17
2
How do I use ''reply-to'' with Action Mailer
Hey there folks, I''m sure there is a stupidly easy answer for this, but I can''t seem to find it. I''m building a site and I want a way for one user to contact another. Simple enough. The problem lies in the fact I want the email to ''come from'' the user, and not from my system. In my ActionMailer class if I do the following: @from =
2008 Mar 24
2
render not able to locate template in publisher
Hi guys, I have a publisher called UserPublisher setup in models directory of my app. The reason I have it in a model is because its then possible for me to invoke publisher methods in after_callbacks of my other models, just the way we do it for ActionMailer. My problem is that when I try to update a users profile specifying location of the view template as a paramater to "profile"
2006 Jun 12
0
Workshop with David Black in Toronto
I''m excited to announce that we''ve lined up David Black, author of "Ruby for Rails" - http://www.manning.com/black/ - for Toronto''s first Ruby on Rails workshop that will take place June 27th in downtown Toronto. The workshop is for Web developers, programmers, designers?anyone interested in learning how to start building great applications using Rails.
2006 Jan 25
24
RailsCron 0.2 plugin
I received feedback from some of you, saying that it would be cool if RailsCron was even easier to manage. So I implemented a graceful start/restart inside of the plugin''s init.rb. If you don''t like it, comment it out and send me the feedback. Also, I finished an update to RailsCron that allows you to attach asynchronous processing methods to your ActiveRecord models. i.e.:
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format. By default my application is using forgot_password_en.rhtml template. I read in the ROR Recipes book "ActionMailer sees these templates, recognizes the pattern in their file names, and automatically sets the MIME type of the message to multipart/alternative and adds
2006 Jun 13
1
echo sidetone grandstream and tdm400p
Hi all, thanks to the all of you. This list is very interesting also for a newby like me. My problem: I just setup my first full working asterisk installation with this config: 1. n.1 GXP-2000 2. n.4 Budgetone 102 3. n.1 TDM400p (3 FXS, 1 FXO) Everything seems to work fine, but the sidetone... it's really annoying! We can hear the sidetone only when we call to the outside (PSTN), it
2011 Feb 11
4
take my name from the list
How I can take out my name from this list? Fernanda Melo Carneiro contato: (62) 3521-1480 e 8121-7374www.ecoevol.ufg.br Laboratório de Ecologia Teórica e Síntese (UFG)   [[alternative HTML version deleted]]
2010 Jun 29
5
file "time-to-live"
Hi everyone, There is a way to make files being automatically deleted some time after they have been created? I know that, with some scripting wizardry i could achieve this, but i wanna know if samba has this kind of feature. I have a temp folder that users insist in use like a backup folder, so i want to files to be deleted 24 hours after they have been created. I cannot just delete
2009 Apr 13
6
FTS Plugin design
Hi all, Currently I am developing some changes on the solr plugin. I want this plugin indexing also the attachment's content. I have already started to look on plugin's source but I am having some problems understanding how it works. I didn't understood yet what is the plugin's design and how the plugins are called from the core system and I was wondering if anyone could help me
2006 Apr 27
6
OrderedHash
Looks like I have skipped on this, but still - a couple of questions: 1) Why there suddenly is an OrderedHash in ActiveSupport? (this glaring omission from ruby core is present in many apps already) 2) Why it doesn''t match the semantics of Hash respectively? 3) Why it''s #nodoc ? -- Julian ''Julik'' Tarkhanov please send all personal mail to me at julik.nl
2007 Sep 25
13
Session cookies not passed on first redirect
Hello Campers! Is it just me or does Camping init the session twice on a redirect? If I have an app and when the user visits it for the first time, a session is generated. Afterwards I redirect the user in a service (that basically does auth) and he gets bounced to the login page - but when I arrive at the login page my SID somehow has changed :-( so there is a stale session dangling
2006 May 31
4
Sending files through send_file or by httpd?
If I were to serve files, would send_file via rails be slow? I think they will be 200mb avi files. Would it be better to send them via /public ? But I would like to track the clicks on each file - which makes me think that I can''t serve them out on /public as those clicks will not go through my application. Any help or suggestions? -- Posted via http://www.ruby-forum.com/.
2009 Apr 07
1
Compile and configure Solr plugin
Hi all, I'm having some kind of troubles on Solr's integration. I configured Dovecot with the Solr argument (--with-solr) and everything proceeded just fine. But, when I started Dovecot I got this error: Plugin fts_solr not found from directory /usr/lib64/dovecot/modules/imap Error: imap dump-capability process returned 89 Fatal: Invalid configuration in /etc/dovecot/dovecot.conf In
2006 Jun 04
3
Absolutize URLs in a string
I wonder - do we have some helper/processor/gem to automatically convert all URLs in a passed string to their canonical equivalent - i.e. with the protocol, host and such prepended based on the Rails environment. Super-duper infty for RSS feeds (I hate their requirement for canonical URLs everywhere). -- Julian ''Julik'' Tarkhanov please send all personal mail to me at
2007 Sep 25
16
putting away HashWithIndifferentAccess
Hey, campineros. And many good handshakes to zimbatm for getting some patches applied. So, yeah, I''d really like to get rid of any serious dependancies with this 1.6 release. Anything that''s not in stdlib has to go. Of course, camping-omnibus will still assume the whole ActiveRecord, Markaby, Mongrel setup that''s in the history books. Metaid can be removed and
2006 Jun 26
3
Scriptaculous Sortable Element Issue
I have a <ul> that contains a number of list items, and I''m using the sortable_element helper to reorder then via drag-and-drop. This works great, however, when I insert a new <li> into the <ul> with Ajax, the sortable_element doesn''t know about it. Is there a way to refresh this collection? Thanks for any help. -- Posted via http://www.ruby-forum.com/.
2006 Aug 02
3
using migration--newbie
Hi all, (I''m new with RoR) I''m using a migratio to import data into a database but nothing is being happens. I''m importing strings from a parsed file. this is what I have: controller: class UploadController < ApplicationController def create table = { } params[:localized_string][:data].each_line do |line| if line =~ /^\s* " (.*?) "
2010 Jul 03
6
sambaLogonScript problem
Hi everyone, I'm having trouble in deploying by group sambaLogonScript. My scripts consist only im mapping network folders. I'm using Samba 3.4.7. Is there a way to debug this? The logs does not show anything about the logon scripts. All my users are set with "%G.bat" in the ldap backend, but the vast majority of the users are not running the scripts, or running partially.
2006 Jul 17
1
RJS template help
Does anyone know where I can find good documentation on how to use RJS template. I know I can do various things with the page object: page.visual_effect :shake, ''some_id'' Is there a list of method I can run on the page onject and what parameters they are expecting? I can''t find this anywhere. Thanks for your help. Thank You, Ben Johnson E: bjohnson@contuitive.com