Displaying 20 results from an estimated 47 matches for "send_messages".
Did you mean:
send_message
2007 Dec 26
2
How to set environment when calling rake task inside another
This is what I have inside a rake task. In this rake task I need to call
another rake task called email:send_messages. However I need to pass the
RAILS_ENV as ''staging''.
Rake::Task["rake:email:send_messages"].invoke
I tried a lot of variations but none of them work.
Rake::Task["rake:email:send_messages"].invoke RAILS_ENV=staging
Rake::Task["rake:email:send_messages RAI...
2006 Mar 29
4
Collecting data from forms
Hi,
I?m having some problems collecting the content of some forms.
This is whats in list.rhtml:
<%= form_tag :action => ''send_message'' %>
From:
<%= text_field ''message'', ''from''%>
<br>Message:
<%= text_area ''message'', ''text'', :rows => 6 %>
<tr>
<td></td>
2007 Nov 04
3
Specing raising error, handling, and then not raising error
Hey guys and gals,
I have a snippet of code:
Net::SMTP(@host, @port, @from_domain) do |smtp|
@emails.each do |email|
begin
smtp.send_message email.encoded, email.from, email.destinations
@emails_sent += 1
rescue Exception => e
# blah
end
end
end
What I want to do is:
Say there are 4 emails.
First email is sent OK
On the second email smtp raises a IOError
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
2006 Oct 27
8
Error after moving to production server
so i have an after_create method on my track model that kicks off a
background process that converts an mp3 to a swf.
this is working fine locally on my machine, but upon moving it to my
production server, i am getting the following error. I''ve only been
using backgroundRB for like 48 hours, so i''m not really sure what
this means or where to go. any ideas?
2011 Nov 18
0
Jquery dialog
Hi,
i had a index page with url as www.exa,com/users/jude.In that page i
want to submit a from which appears from popup dialog.The action of the
popup is going to send_message,Whenever i submits, via ajax the data
gets stored but not the page gets reflected.
My controller
def send_message
@message = current_user.messages.build(params[:message])
@message.receiver_id = @user.id
2008 Mar 28
8
Cannot run winecfg (output pasted)
Code:
~ # winecfg
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default:0
wine: Unhandled page fault on read access to 0x00000048 at address 0x7e2f476c (thread 0026), starting debugger...
Unhandled
2006 Feb 21
26
Net::SMS::BulkSMS 0.1
This is the first release of a new Ruby library for the
www.bulksms.co.ukAPI which should allow simple integration of SMS
functionality into your
Ruby or Rails apps.
Sending a message is as simple as:
@service = Service.new(''username'', ''password'')
@service.send_message(''This is my message!'', ''4479123456789'')
# whats my
2015 Apr 01
1
Remote protocol abstracted
I have been working in the abstraction of the remote protocol to separate
it from the server and the connection.
The purpose of this is I need to use the Xapian remote protocol in a server
we are working on (named Xapiand:
https://github.com/Kronuz/Xapiand) which is similar to some extent to the
`xapian-tcpsrv` in that it also serves
databases remotely through TCP, using the binary protocol. What
2008 Oct 17
4
Error when posting facebook.feed.publishActionOfUser
posting ''facebook.feed.publishActionOfUser'' with {:title=>"<fb:fbml>
<fb:name ifcantsee=\"A Hidden User\" linked=\"true\" uid=\"579947937\"
/> wrote a <a href=\"http://apps.facebook.com/dailycaption/captions/1273\">caption</a></fb:fbml>",
2009 Feb 13
2
Continue processing AGI script after hangup
All;
I wrote a PERL AGI script that prompts a caller to leave a message using
print "RECORD FILE $recordfile wav # 60000 BEEP s=3\n";
When the caller is done, they need to press the # key. The message is then delivered.
However, the message is not delivered if the caller simply hangs up when finished.
If the user hangs up, the script ends right then. How do I keep on processing the
1997 Nov 29
1
Workgroup popups with samba
Hello,
I'd like to know if there's a way to receive Workgroup's winpopup messages
with samba under linux.
If it's impossible, what are the technical problems caused by such a request ?
Thank you
--
,,,
o +
+-----------------------ooO---(_)---Ooo---------------------------+
| "Xylo", a.k.a
2016 Jun 20
2
Compilation problem with a few configure option
Hi
Compilation of 1.3.7 dies with the following configuration:
====================================
./configure --enable-shared --enable-static --disable-sse
--disable-backend-inmemory --disable-backend-remote
====================================
During the compilation I get the following error:
====================================
/bin/bash ./libtool --tag=CXX --mode=link g++ -fshow-column
2020 Feb 07
0
[RFC PATCH v7 75/78] KVM: introspection: add KVMI_EVENT_SINGLESTEP
From: Nicu?or C??u <ncitu at bitdefender.com>
This event is sent when the current instruction has been single stepped
with or without success.
Signed-off-by: Nicu?or C??u <ncitu at bitdefender.com>
Co-developed-by: Adalbert Laz?r <alazar at bitdefender.com>
Signed-off-by: Adalbert Laz?r <alazar at bitdefender.com>
---
Documentation/virt/kvm/kvmi.rst | 28
2011 Jan 31
1
crash with winecfg
hi,
when i start winecfg in terminal i get an error message.
Code:
maik at maik-laptop:~$ winecfg
fixme:shell:MLSetMLHInstance (0x71590000,0x7e950000) stub
fixme:mlang:GetGlobalFontLinkObject
wine: Unhandled page fault on read access to 0x00000004 at address 0x4 (thread 0049), starting debugger...
Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x00000004).
2007 Jan 11
4
counter-intuitive behaveour when passing a proc to Mocha::Expectation#returns
Let''s say that I have a procedure that:
* gets the number of bytes to write into some file
* and returns the number of successfully written bytes
def save( text, len )
This procedure is being used all over the place especially inside the method
"process" which I want to test. Thus in order not to polute my filesystem I stub
the "save" procedure. But of course in
2006 Mar 11
3
website monitor?
hi all.
i have a site powered by ROR. now, i try to find a monitor based on
ruby.
any one have any idea?
regards.
--
Posted via http://www.ruby-forum.com/.
2007 Jan 16
1
calling java API from ruby
ok, i want to be able to send some data from my rails app to a CRM. The
library that defines the API for talking to the CRM is written in java.
I got JRuby working, which is pretty cool, but to my understanding i
would have to convert my ruby on rails app to a jruby on rails app
which, as far as i''ve understood, is different deal altogether and
would be set up more like a java server
2005 Sep 10
1
PRI echo
Hi,
My configuration is pri----*(te405p)---iaxclient.
My * version is 1.0.7 running on tyan dual opteron
board.
I have several problems.
1) inbound echo
For outbound call(iaxclient-->pri), there is almost no
echo. But for inbound(pri-->iaxclient), I can hear
distinct echo. Can Sangoma a104 or digium te406p help
this problem?
2)Today i received te406p. I know T1/E1 jumper. But
how can i
2010 Nov 28
2
wine: Unhandled page fault on read access
Hi,
Thanks for the tips. I tried with winetricks but gave me a problem to get this installed, I finally did it semi-manual. As you said I could open an sample set but nothing more.
I then upgraded to wine 1.3.8 today. Will this overwrite the winetricks dll's or not? I could start the application open and save a dataset although they seem to be empty!?.
I started to move deeper into the