Displaying 20 results from an estimated 300 matches similar to: "Action Mailer woes"
2006 May 02
3
file_column : _temp field always nil
Hi,
I''m trying to set up file_column to upload attachments for emails. My
view has <td align="left"><%= file_column_field ''to_do'', ''attachment''
%></td> and the attachment_temp hidden field is generated. When I
inspect tthe params on saving the form the attachment_temp param is
always an empty string. Also, when I was
2006 Jul 31
2
ambiguous column name in has_many :through
In my application model I have three classes: Accounts, Projects, and Items
class Accounts < ActiveRecord::Base
has_many :items, :through => :projects, :source => :items
has_many :late_items, :class_name => ''Item'', :through => :projects,
:conditions => [''due_on < ?'', Time.now], :source => :items
end
class Projects <
2006 Jul 12
5
2 subdirectories 1 controller?
Hi,
I''d like to create the following setup with RoR:
www.mywebsite.com/subdir1/order/create
www.mywebsite.com/subdir2/order/create
I''d like both urls to call the same action in the same controller. How can
I do this? I know this may be complicated, but I''m prepared to go a long
way.
Shimon
-------------- next part --------------
An HTML attachment was scrubbed...
2010 Jan 10
7
IIS + Apache + Mongrel: Problem with big data submit form
Hi all,
I deployed a Rails application on a Windows Server 2003 machine as
follows:
+ I created two instances of Mongrel at ports 4001, 4002 to serve the
application
+ I set up an Apache instance at port 8080 for balancing load for the
two Mongrels => So I can access my website at URL http://mywebsite:8080/
+ I want to allow users access my website without typing port 8080 in
the URL.
1998 Nov 25
3
Unix/NT file conversion problems
Hi
We are having some problems - the majority of our files require ascii
transfers between our unix servers and PCs. They are however being
transferred as binary for some reason even though they are just plain
text files. This means (when going from unix to pc) the files come down
without a carriage return at the end of lines. And when going from pc to
unix they end up with ^M on the end of each
2010 May 11
2
Creating a HTTP Request on missed call?
Hello there,
I have successfully installed and configured asterisk for use as an
office PBX using SIP trucks and Voip handsets (using g.729 codec)
which works great.
Now I wish to try and configure asterisk to do a HTTP request and
submit callerID to an external website when a call is missed. eg
Someone calls PBX and rings extension 100 -> Call is not answered ->
HTTP request is initiated
2020 Jan 21
2
imap panic: file array.c: line 10 (array_idx_modifiable_i)
Hello,
I just migrated a few dovecot IMAP mailbox (Maildir format) from a Dovecot 2.1.7 (Debian 7) mailbox server to a Dovecot 2.3.4 (Debian 10) mailbox server and one particular mailbox does not work properly and generates the following error log entries:
Jan 21 09:39:21 Panic: imap(EMAIL_ADDRESS)<7741><UTsrWKKcasoAAAAAAAAAAAAAAAAAAAAB>: file array.c: line 10
2020 Jan 27
3
imap panic: file array.c: line 10 (array_idx_modifiable_i)
Hello,
Does anyone one have any idea? Aki maybe?
Regards,
Mabi
??????? Original Message ???????
On Wednesday, January 22, 2020 11:37 AM, mabi <mabi at protonmail.ch> wrote:
> Hello,
>
> Are there any chances that I could fix this issue by running a "doveadm force-rsync" (https://wiki2.dovecot.org/Tools/Doveadm/ForceResync) on this problematic mailbox?
>
> Best
2006 Feb 22
15
Fixtures and Relationships
In my daily development, I migrate back and forth between versions, and
often do: rake load_fixtures...
... in order to populate my development database with fun data.
Now, with any HABTM relationship, there are failures, as there is no way to
say "which" fixtures to load first.
Within an actual functional or unit test case, you could simply load them in
the proper order, but
2006 Jan 17
2
actionmailer
I''m getting an error when I''m tyring to use the actionmailer.
undefined method `deliver_signup_thanks'' for Notifier:Class
This is what I have in the controller.
def emailTest
Notifier::deliver_signup_thanks()
render_text "email test"
end
This is what I have in notifier model (notifier.rb)
class Notifier < ActiveRecord::Base
def
2006 Mar 14
4
validates_confirmation_of has stopped working
Hi Railers,
I''m past considering myself a noob in Rails land - I think what I''m up against
here is more of a bug or an anomaly that I''m unaware of (or that has changed
in a recent version).
I had a fully working validates_confirmation_of :email_address field in my app
- was one of the first things I set up, extremely simple, been working for a
long time.
Then one
2007 Feb 01
6
Using a nonstandard foreign key
Hopefully this is an interesting question.
I have a "user" table with a field "email_address". I would like the
part of "email_address" after the ''@'' to be a foreign key to a
"companies" table populated by a companies that are clients.
Any pointers on how to do this in rails?
--~--~---------~--~----~------------~-------~--~----~
You
2006 May 19
2
Problem with joins and overlapping field names
Hi,
I have the following code:
@conversation_pages,
@conversations = paginate(:conversations,
:per_page => 20,
:joins => ''LEFT JOIN messages on
messages.conversation_id = conversations.id ''+
''LEFT JOIN email_addresses on
2007 Jan 22
5
rails helpers are adding extra folders
i have a new rails site that i am setting up just like i normally do with
all of the other sites. i created a subdomain which is pointed to a
subfolder in my public_html.
i can view the site both at test.mywebsite.com and mywebsite.com/test/ but
when i view it by the subdomain, rails helpers are adding the /test/ to all
of my resources, so none of my images or style sheets are found.
this
2016 Apr 01
1
Using R for cURL commands
Hello,
I'm looking for a way in which R can make my live easier.
Currently i'm using R convert data from a dataframe to json's and then sending these json's to a rest api using a curl command in the terminal (i'm on a mac).
I've been looking for a way to use R for sending data from R to the rest api. My primairy focus was on using R for executing the curl command,
2006 Oct 24
1
converting from courier questions
I currently run postfix and courier on my mail servers with squirrelmail.
The problem with courier is it seems to run so slow. The webmail takes
forever to load if you have many mails. I have this set up in virtual
domains with all longin and path info in an mysql database. I just joined
the list and DID google before asking, hope this isn't a common question.
With courier it looks for a
2007 Feb 20
4
Best way to implement syntax sugar?
Hi!
I''m *very* new to rails, I just dove in about a month ago and I''m
loving it.
One thing I decided I immediately wanted to do, was shorten the
number of keystrokes neccessary to URI, HTML, or Jscript encode something.
The project I''ve come into already has helpers defined for this.
Right now, what I''ve done is:
alias h! string_esacpe_html
alias u!
2006 Nov 04
1
ActionMailer Sending Two text/plain Parts
Hello ~
I have a working ActionMailer Action that takes the template to use as
an argument so I have one action that handles multiple emails. The
email sends just fine, and the correct email templates are used, but
ActionMailer is throwing in its own text/plain section in addition to
the one I specify. Does anyone have any ideas on why this might be
occuring, when I am specificially specifying
2006 Jun 20
4
Invoking MouseOver using link_to tag ?
Hi,
How can we trigger a JavaScript built in function from a <%= link_to %>
ie. i have the below statement in my view. I want to invoke a JavaScript
function on "MouseOver" of this below text (''TestingMouseOverEvents'').
<%= link_to "TestingMouseOverEvents" , :controller => "login", :action
=> "logout"%>
Note: The
2006 Apr 14
1
Validating Existing Models
I''ve got a user object which has quite a few attributes mapped to the
database. As of right now I''ve got some validations in the model like:
validates_presence_of :password, :message => "You must specify a valid
password."
validates_confirmation_of :password, :message => "Password doesn''t match
the confirmation."
validates_presence_of