Displaying 20 results from an estimated 100 matches similar to: "Dynamic actions and views"
2006 Jan 31
2
How did I end up with read-only access?
I''ve generated the standard scaffolding half a dozen times on play
databases on my own machine, but now I''m trying it for real against the
team''s development database (postgres) and I see to have ended up in
some sort of read-only mode. "list" will show my existing records and
"show" will drill down, as expected, but "New" or
2007 May 15
3
Sending bulk SMS messages from Rails app
Hi,
One of my model generates short messages that has to be delivered to
mobile phones as SMS''s. I am not sure how to proceed from here.
1. What are the components I would need?
2. Do I need a GSM modem? If yes how would it integrate with my app?
3. Does my hosting provider needs to have a GSM modem?
4. Does sending an SMS cost anything? If yes how much would a single SMS cost?
Any
2005 Dec 24
10
can''t find view from Mailer?
Hi everyone,
Like so many other here, I too am new to Rails (and Ruby), and so far
it''s been a great experience. I haven''t been able to get around one
problem though. When trying to use the mailer, I recieve an error like
this:
ActionView::ActionViewError in Tell_friend#send_email
No rhtml, rxml, or delegate template found for send_to_friend
The scenario is this:
A form on
2011 Mar 15
10
Set bounce address with ActionMailer::ARMailer
Hi all. I send out mails using ActionMailer::ARMailer, via an exim
mailserver. Is there some header/field that i can set so that the reply
field is (eg) webmaster-jMbK1v/RW1uaMJb+Lgu22Q@public.gmane.org but bounced (ie undeliverable)
mails get sent back to (eg) noreply-jMbK1v/RW1uaMJb+Lgu22Q@public.gmane.org?
thanks, max
--
Posted via http://www.ruby-forum.com/.
--
You received this message
2005 Dec 17
13
Rookie with ActionMailer
To start out I''ll say that this is the first thing that I''ve ever built
that''s been intended to programmatically send email. I''m looking at
examples in AWR and also on the wiki. I feel that I sort of have things
set up right but I''m getting an error I can''t grok:
Net::SMTPFatalError in Home#email_list
550 5.7.1 Unable to relay for
2008 Jan 10
3
A best practices question
Hey everyone. I''ve got a best practices question. How are you guys
rendering newsfeeds? We have a couple of apps where we send newsfeed
items from a backend process. As such, we aren''t in the context of a
controller and can''t use the rails template rendering. We''ve tried
about 3 different ways to make that bearable, but aren''t having much
2009 Jan 23
2
Sendmail with cron
Hi!
I''am using crontab for creating an email list every night
on daily basis. It works perfectly. And use it for other
things also.
But my problem is that i can''t get crontab to work for armailer,
i would like to have a crontab for ar_sendmail -o but can not
get this to work.
Any one who have the same problem or even better a solution.
Thanks Svea
--
Posted via
2008 Jan 14
5
Help finding "JRE" to run Netbeans in Linux
I''ve spent the last year developing a large Ruby on Rails 2.0
application with over a 100 tables and controllers and hope to be
deploying it soon.
Before I moved from my Windows XP computer to deployment, I wanted to
run it in a local Linux environment to sort out:
1. Amazon S3 files
2. RMagick (went south when I upgraded to Rails 2.0)
3. ARMailer (mail spooling program)
I''ve
2007 Feb 04
10
Spec''ing ActionMailer
Good morning (Pacific Time). I have a controller action that, as a
side-effect, sends an email to an administrator. I want it to do
something like this:
specify "when someone successfully signs up, an email should be sent
to the administrator with the person''s contact page" do
post :signup, {...lots o'' params}
response should_be success
#
2009 Jan 08
1
ARMailer
Hello!
When i use armailer on my development machine i works perfectly. But
when i tries to use it at my production server i get this error message
dependencies.rb:442:in `load_missing_constant'':NameError: uninitialized
constant ActionMailer::ARMailer
Anyone who have hade the same problem or know the solution.
Thanks!
--
Posted via http://www.ruby-forum.com/.
2009 Mar 29
0
Rails 2.3 <--> ARMailer (emails not in db table anymore)
Hi there,
since I updated to Rails 2.3, the "ARMailer" gem doesn''t seem to do its
job anymore:
When I try to send out some emails, they don''t appear in the database
table anymore where they should be queued (and they don''t appear in my
inbox, neither -> don''t seem to be sent out).
The log (development mode) actually shows all the emails entirely
2006 Jul 15
1
ActionMailer and PDF Attachment and corrupt file?
Community,
I''m struggling with an issue and I''m sure it is trivial but I cannot find the solution. I''m trying to attach a PDF file to an email. For simplicity, I have explicitely named a given file but when I get the email, the attachment is only a partial of the document which causes it to be corrupt. Sample below:
@recipients =
2006 Jan 04
4
Multiple emails from one SMTP connection?
Hi all. I''m running a nightly job that is creating a CSV file and
sending to member via SMTP. I got the following error after about 20
emails or so: Net::SMTPServerBusy Too many connections from IP...
Is there a way (using ActionMailer) to open a connection and send
multiple emails. Or could I make sure the connection is closed before
opening another? The only other option is to send
2008 Dec 04
3
The RSpec way of doing this? Need help on validating block
Hello, I''m back again with more questions about mocks and how to do good
testing in general. Let''s say I''m writing this EmailSender class and I
want to make it totally awesomely tested with RSpec. Here''s how far I''ve
gotten so far:
require ''net/smtp''
class EmailSender
def send_email
2011 May 24
0
Rails 3.0.7 ActionMailer attachments
Hello,
I''m converting my 2.3.8 application to 3.0.7 and have run into a snag
with forwarding emails from the app with an attachment. The attachment
appears in the email as 1 byte in size and thus corrupt. The actual
file is fine and Rails seems to have access to the file. I''ve tried
multiple permutations but here''s what I''m doing...
I''m fetching email
2009 Apr 09
1
Mailing error in Rails 2.3.2
Hi,
My mails were working with the earlier version of rails ie. Rails
2.0.2. But recently when i upgraded my environment to 2.3.2 the mails
stopped working and gave
"Error: End of file reached".
But if i send mails independent of my rails app the mailing code works
fine.
My Environment:
Windows Xp
Ruby 1.8.7
actionmailer (2.3.2)
actionpack (2.3.2)
activerecord (2.3.2)
activeresource
2008 Mar 27
2
colMeans in a data.frame with numeric and character data
Hi all,
I would like to know if it is posible by, someway, to get colMeans from
a data.frame with numeric as well as character data, dispersed all over
the object. Note that I would like to get colMeans neglecting character
data.
I am really in need of some function proceeding in that way…
All the best
Diogo André Alagador
[[alternative HTML version deleted]]
2007 May 13
2
ActionMailer outside of Rails?
Has anyone used ActionMailer outside of rails? I have a requirement for
work that will not allow me to do this from within a rails app. I have
successfully sent an email in the following manner:
MyMailer.deliver_clever_email(someArg,''testing!'')
where the second argument is the body of the email, but when I try to
call just:
MyMailer.deliver_clever_email(someAr)
and use a
2006 Aug 15
0
ar_mailer
Rubyforge Project:
http://rubyforge.org/projects/rctools
Documentation:
http://dev.robotcoop.com/Tools/ar_mailer
== About
Even deliviring email to the local machine may take too long when you
have to
send hundreds of messages. ar_mailer allows you to store messages
into the
database for later delivery by a separate process, ar_sendmail.
== Installing ar_mailer
Just install the gem:
2011 Dec 12
1
Errno::ECONNREFUSED (Connection refused - connect(2)): sending email in production
I don''t know how to get more info about this issue on my remote server
( Linux/Debian6 - Qmail)
localhost testing is fine
, so my class UserMailer < ActionMailer::Base is rendering correctly
the email ( checked in the development log)
now, testing the remote SMTP server , via the production console,
using :
ActionMailer::Base.smtp_settings = {:address =>