Displaying 20 results from an estimated 40000 matches similar to: "set whether the mail is read or not"
2016 Apr 06
2
[help]enotify "mail to" run fine edit via managesieve 0.4.4 complied failed
hi all
edit via vi editor to change dovecot.sieve and enotify works fine.but
when I telnet 4190 port via managesieve to edit it with the same code,the
managesieve said "NO "Error in MANAGESIEVE command CHECKSCRIPT: "", find
many topic in wiki and maillist but not solved.
need you help!thanks!!dovecot version 2.2.15,pigonhole version 0.4.4
here are more infos
2008 Oct 30
1
ActionMailer
can anyone tell me what is the purpose of having ActionMailer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
2014 May 29
1
Voice mail with ODBC
Hi All,
I have an issue on voice mail with odbc in asterisk 11.7 box. Voice message
can be received through Google mail but it doesn't show in phone. The error
messages is as follow and let me get your kind advice.
-- <SIP/0015-00000007> Playing 'auth-thankyou.g722' (language 'en')
[2014-05-28 14:55:13] DEBUG[12260][C-00000006]: app_voicemail.c:3824
last_message_index:
2009 May 27
1
PHP AGI Problems
(Accidentally posted this to asterisk-dev, should be here)
fgets is only returning one character... either when run as an AGI or
run as a test on PHP on CLI...
Example, enter 3333, then fgets returns '3'.
Also, GET DATA seems to be returning early and the loop keeps
prompting 'invalid'...
Any suggestions on how to improve my AGI class so it actually works?
Thanks.
[code]
2008 Aug 06
1
[2.6 patch] ocfs2/cluster/tcp.c: make some functions static
Commit 0f475b2abed6cbccee1da20a0bef2895eb2a0edd
(ocfs2/net: Silence build warnings) made sense
as far as it fixed compile warnings, but it was
not required that it made the functions global.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
---
This patch has been sent on:
- 5 Jun 2008
fs/ocfs2/cluster/tcp.c | 44 ++++++++++++++++++++++++++------
fs/ocfs2/cluster/tcp_internal.h
2020 Feb 07
0
[RFC PATCH v7 39/78] KVM: introspection: add the read/dispatch message function
Based on the common header (struct kvmi_msg_hdr), the receiving thread
will read/validate all messages, execute the VM introspection commands
(eg. KVMI_VM_GET_INFO) and dispatch the vCPU introspection commands
(eg. KVMI_VCPU_GET_REGISTERS) and the replies to vCPU events.
The vCPU threads will reply to vCPU introspection commands without the
help of the receiving thread.
This thread will end when
2007 Nov 25
4
is notify resevered word?
Hi,
When I added this association...
class User < ActiveRecord::Base
has_one :notify
end
...and tried then to update column in User table it will call queries
for notify table automatic?
Output
---------------------------------------------------------------
User Columns (0.041488) SHOW FIELDS FROM `users`
User Load (0.001544) SELECT * FROM `users` WHERE (`users`.`nickname`
=
2016 Jun 19
2
[RFC PATCH] vhost, mm: make sure that oom_reaper doesn't reap memory read by vhost
On Sat 18-06-16 03:09:02, Michael S. Tsirkin wrote:
> On Fri, Jun 17, 2016 at 11:00:17AM +0200, Michal Hocko wrote:
[...]
> > It seems that vhost usage would suffer from this problem because
> > it reads from the userspace to get (status) flags and makes some
> > decisions based on the read value. I do not understand the code so I
> > couldn't evaluate whether that
2016 Jun 19
2
[RFC PATCH] vhost, mm: make sure that oom_reaper doesn't reap memory read by vhost
On Sat 18-06-16 03:09:02, Michael S. Tsirkin wrote:
> On Fri, Jun 17, 2016 at 11:00:17AM +0200, Michal Hocko wrote:
[...]
> > It seems that vhost usage would suffer from this problem because
> > it reads from the userspace to get (status) flags and makes some
> > decisions based on the read value. I do not understand the code so I
> > couldn't evaluate whether that
2006 Dec 11
4
creating a cache in rails
I need to create a small hash of values that persists across requests in
Rails. I cannot store this information in the database or filesystem
and only want to do it in memory. I was looking for a simple solution
to implement this and read somewhere that memcache is pretty much
overkill. This app is only running on one server so putting in memory
should be just fine. I''m very new to
2009 Feb 22
2
Mysql error unknown column 'columns.user_id'
Had this error when trying to add comments to another user''s photo.
ActiveRecord::StatementInvalid in User photosController#show
Mysql::Error: Unknown column ''comments.user_id'' in ''on clause'': SELECT
photos.`id` AS t0_r0, photos.`user_id` AS t0_r1, photos.`title` AS
t0_r2, photos.`body` AS t0_r3, photos.`created_at` AS t0....
I did create a user_id
2008 Apr 18
3
has_many and belongs_to with non-primary foreign keys
Hi,
I''m having a bit of trouble with my first Rails app.
----
I have two tables:
create_table :items do |t|
t.column :created_at, :timestamp
t.column :user_id, :int
t.column :text, :text
end
create_table :users do |t|
t.column :user_id, :int
t.column :name, :string
end
----
I''m trying to use the "user_id" field to link both tables, with each
user
2006 Sep 27
5
Question about has_one
I have a question about regarding the use of ''has_one'' in this scenario:
Schema:
User
----
id
first_name
last_name
UserMessage
----
user_id
message_id
Message
----
id
Assuming business rules dictate that a Message can have at most ONE User
(let''s assume a message can be created without a user associated to it),
these are my questions:
1) How would I use has_one
2009 Jan 26
5
Please help with a routing problem
Hi All
I''m having some issues with the following routes problem.
The routes.rb file ...
map.resources :users
map.connect ''/users/view_payments/:user_id'', :controller =>
''users'', :action => ''view_payments''
The users_controller.rb file ...
def view_payments
@user = User.find[:params[:user_id]]
@payments =
2006 Nov 04
2
adding a method to an ActiveRecord Object
I''ve already pulled my object from the database. Now I want to add a
method. What I''m doing is adding the username to the activerecord object so
I''ll have the name and user_id. How can I do this. The code below fails in
the view. It appears it''s overwriting the rest of my object
def self.find_with_author(id)
@article = Article.find(id)
2008 Apr 28
2
The name/id of the select tag generated by rails
Hi guys,
I just recently fell in love with Rails. Now, I''m trying to make a
simple page where at list of tasks is presented. Each task has a user.
At the top of the list I want to be able to make a select/dropdown list
containing all users, so that will be able to select all tasks for a
certain user.
Looking at the Rails api I find the helper method: collection_select.
Just what I
2007 Dec 06
2
passing parameters through link_to
Is it possible to pass parameters through link_to that will be used by
the controller that link_to directs to? Specifically I have this
code:
<% for user in @users -%>
<%= link_to user.screen_name, {:action => "index", :controller =>
"users", :user_id => user.id } %>
<% end %>
Is it possible to use the parameter at the end of link_to(:user_id
2009 Feb 21
1
undefined method user_id
Basically, Im trying to add comments to photos that other users have
uploaded. And Ive encountered an error:
NoMethodError in CommentsController#create
undefined method `user_id='' for #<Comment:0x4768cd0>
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1857:in
`method_missing''
2006 Oct 02
2
when to use find_by_sql
I have a bunch of queries to compute some counters, like
find_by_sql(<<-SQL
SELECT p.*, c.nfavourites
FROM people p, (
SELECT fp.person_id, COUNT(fp.user_id) as nfavourites
FROM favourite_people fp, users u
WHERE fp.user_id = u.id
AND u.cluster = ''#{in_cluster_of_user.cluster}''
GROUP BY fp.person_id
) as c
WHERE
2007 Jan 21
1
Form question
Hey all, this is a pretty simple (I think) question regarding forms
I have two models, one is message.rb
class Message < ActiveRecord::Base
belongs_to :user
validates_presence_of :user_id
end
and the second is user.rb
class User < ActiveRecord::Base
has_many :messages
end
Then I also have a form which will let me specify which User a Message
belongs to.
<p><label