Displaying 2 results from an estimated 2 matches for "target_uid".
Did you mean:
target_id
2011 May 19
2
unicorn doesn't restart properly after cap deploy (not using Bundler)
...ter_fork do |server, worker|
? STDERR.puts "AFTER FORK:"
? STDERR.puts ENV.inspect
? defined?(ActiveRecord::Base) and
? ? ActiveRecord::Base.establish_connection
? begin
? ? uid, gid = Process.euid, Process.egid
? ? user, group = ''apache'', ''apache''
? ? target_uid = Etc.getpwnam(user).uid
? ? target_gid = Etc.getgrnam(group).gid
? ? worker.tmp.chown(target_uid, target_gid)
? ? if uid != target_uid || gid != target_gid
? ? ? Process.initgroups(user, target_gid)
? ? ? Process::GID.change_privilege(target_gid)
? ? ? Process::UID.change_privilege(target_uid)
? ?...
2008 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
...other people speak about this issue, yet I haven''t
seen any resolution on the mailing list yet. Here is an example stub
method that I am using the partial in:
def simple_notification(event_data, partial_name)
send_as :notification
from event_data[:user]
recipients event_data[:target_uids]
fbml render(:partial => "event/notification/" + partial_name,
:event => event_data[:event])
end
Note, _path() and _url() helpers work flawlessly from the
simple_notification method''s context, but fails miserably inside the
partial. I assume this issue also exists w...