similar to: Observer and Plugin conflict...

Displaying 20 results from an estimated 700 matches similar to: "Observer and Plugin conflict..."

2006 Jul 18
7
Observer not working
Help please. I''m trying to observe a User class, but I can''t get this to work, the after_create method never gets called... (the breakpoint never gets called) app/models/user_observer.rb: class UserObserver < ActiveRecord::Observer def after_create(user) breakpoint setting =
2007 Apr 16
4
Web Flow and the session method in ActionController
Hi there, I''m writing a port of Spring Webflow to Ruby on rails and I''ve encountered quite a lot of difficulty finding how to override the session[] method which is accessed via any ActionController. I have my pseudo-code ready to implement, but I can''t find the method declaration to copy it''s signature. Also, if anyone wants to collaborate on this particular
2008 Sep 18
1
user_observer (restful_authentication) causes failure in loading rails
I have restful_authentication in use on an app and it has been working fine, but I recently was changing the account creation flow and needed to enable the UserObserver. I did so by including it in the environment.rb (config.active_record.observers = :user_observer) and Rails wouldn''t start. I got the following error; source/communitysites/vendor/rails/activerecord/lib/active_record/
2006 Feb 22
9
Error 500
Hi, I''ve got a weird 500 error that I can''t fix. I''m using scgi with Apache2 on Fedora core 2. Status: 500 Internal Server Error Even when I launch dispatch.cgi from the command line, I get the 500 error. I don''t have any log entry written so I''m completely blind. I know that the app is fine because I can run it in the console and get my records from
2006 Nov 19
1
ActiveRecord save-update not performed ?
I try to understand the following issue : - when creating a new User record, I use an UserObserver to trap the before_save call back and send an email def after_create(user) UserNotifier.deliver_signup_notification(user) end - Once created a user can ask for a password reset, which is also trapped by the UserOberver def after_save(user) UserNotifier.deliver_reset_password(user) if
2006 Apr 03
2
testing proportional hazard in a Cox model including a time-varying covariate
I am using a syntax like coxph(Surv(start, stop, event) ~ X, data) to estimate the effect of X, which may change at each measurement (every 6 months). Is there anyone who knows a way to test the proportional hazard assumption in that case? Thank you in advance Jean-François Boudreau Sherbrooke University [[alternative HTML version deleted]]
2007 Aug 30
8
experimental rails story adapter in trunk
For those of you interested in getting a jump on learning about and using the new Story Runner in a Rails app, I''ve added an experimental Rails-Story adapter to trunk. You can see how to use it here: http://pastie.caboo.se/92320 This is PURELY EXPERIMENTAL, however it actually works and will likely not change much in the way that it does work. Happy hacking! David
2007 Nov 13
35
XEN - Broadcom issue: survey
I totally agree with Luc Boudreau about this problem. On modern branded server they ALL use Broadcom chipset... I must admit that: a) lot of people are experiencing the problem but can tolerate it or b) someone already experienced this problem and solved it Lets'' approach the problem pragmatically... just start with a survey on the list. ... hope we solve this issue soon. Ivan
1998 May 13
1
Compiling warnings in 1.9.18p7
I get these messages when compiling on a Sun Sparc 5 running Solaris 2.6: Compiling ipc.c ipc.c: In fonction `api_RNetServerEnum': ipc.c:1194: warning: passing arg 4 of `qsort' from incompatible pointer type Compiling nmbd_incomingrequests.c nmbd_incomingrequests.c: In function `process_node_status_request': nmbd_incomingrequests.c:380: warning: passing arg 4 of `qsort' from
1998 May 14
3
Cannot use smbpasswd for new user
More information on the problem. A couple of days ago I posted a request for help for this error msg terre{testgb}73: smbpasswd Old SMB password: New SMB password: Retype new SMB password: /opt/samba/bin/smbpasswd: machine 127.0.0.1 rejected the session setup. Error was : ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.). This happens only
2008 Apr 25
6
ActionMailer
Hi all, I need a help. I have got a user registration form, where the user signs up and then an activation link is sent to the user email id for activating his/her account. Now I need to send an another email to the user, only after he logs in for the first time in my site, then the second email should be sent. Can anybody give me some suggestion on how to do it ?? NB: When the user clicks on
1997 Nov 11
1
automountd hangs
Hi Samba admins, I was wondering if any of you had problems with your automounter with Samba ? My environment is: Samba 1.9.17p4 on a Sparc20 running Solaris 2.5.1 with the home directories defined in the NIS+ tables. The client are all Win95 PC. Lately, we lose the automounter on the Sun host. Even logged in as root on the console I cannot 'cd' to the /home directory. We have
2008 Jan 07
25
PV- Drivers for Windows (XP, 2003 Server)
hallo everybody, i googled a lot of time, looking for PV-drivers for Windows- domUs. I found a few things about that, but nothing about download an installation. Do anybody know, where I can get it and how to install? My configuration: Dom0: CentOS 5.1 DomUs: Windows XP and 2003 Server Thanks for any help, Guenter _______________________________________________ Xen-users mailing list
2007 Jan 18
1
spec''ing models with observers that send mail
I''m spec''ing a model with an observer that sends mail. Mailers behave similarly to controllers, so to make the whole thing work, I believe something like integrate_views has to be available. Has anyone dealt with observers and ActionMailer? Thanks
2007 Oct 24
1
Attachment_fu and observers/emailing
Hi all, I''m developing a site where a user can upload their CV/resume with a profile, and am using restful_authentication for this with attachment_fu to handle the file uploading. When a user creates their profile/user account, I''ve got an observer that will email the site admin with a copy of the uploaded CV. My user_observer looks something like: class UserObserver <
2007 Nov 12
1
help debugging ActionMailer with restful_authentication?
In a nutshell, I''m using restful_authentication that emails the user when they sign up for an account The development.log file shows the body of the e-mail message being prepped to send out, but doesn''t show confirmation that it made it. When I use gmail''s SMTP server, a Rails exception is thrown because gmail expects an encrypted connection. A different type of Rails
2010 Oct 03
1
Rails 3 observers
Rails Guides says: ...the UserObserver ... would be saved as app/models/user_observer.rb and registered in config/environment.rb this way: config.active_record.observers = :user_observer But the observer registration above doesn''t work because there is no ''config''. For now, I''ve put it in the config/environments/[APP_ENV].rb but that seems really sloppy and
2007 Dec 06
6
DomU (Centos 5) with dedicated e1000 (intel) device dropping packets
Hello everybody, I''ve finished with pci export from DomU to Dom0 (Debian Etch) but now i have a new problem, and a big one. My ethernet card is dropping packets but after some time (i can''t tell how) It can work for a day (not in production so not hard tested) and then all packets are dropped. Look at the ifconfig output : eth0      Link encap:Ethernet  HWaddr
2006 Feb 22
1
Urgent help needed
Hi, I''m on Apache 2.0.54, Linux Fedora Core 2 with Plesk. I installed a Rails application previously on the box using SCGI and it works fine; even now. I''m trying to get a second app online and it fails. Same config, except for the SCGI runner ports of course. It looks like the error comes from the fact that the mod_rewrite loops. WHY ??? BTW : I have to put this app
2008 Aug 27
5
Integrate a 1-variable function with 1 parameter (Jose L. Romero)
Hey fellas: I would like to integrate the following function: integrand <- function (x,t) { exp(-2*t)*(2*t)^x/(10*factorial(x)) } with respect to the t variable, from 0 to 10. The variable x here works as a parameter: I would like to integrate the said function for each value of x in 0,1,..,44. I have tried Vectorize to no avail. Thanks in advance, jose romero