Displaying 20 results from an estimated 40000 matches similar to: "Is there an on_reload hook?"
2006 Feb 05
2
Where is a good place to update a date field?
I have a field that indicate that a reservation has been cancelled. I want
to update a cancellation_date field with the date that the reservation is
cancelled. I am trying to think of where the best place to do that is?
Any thoughts?
Thanks,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 10
4
1.1.5 Upgrade and config.load_path not working
Hey,
I am trying to upgrade to 1.1.5 and rails no longer finds my controllers the
live outside app/controllers. I was on 1.1.2 previously and here is my
setup
In environment.rb
config.load_paths += [File.join(File.expand_path(RAILS_ROOT),
"rails_shared/controllers") ]
config.load_paths += [File.join(File.expand_path(RAILS_ROOT),
"rails_shared/helpers") ]
2006 Feb 13
3
caches_action does not go off the entire URL
I am trying to use caches_action and the agile book says that it is keyed
off the URL, however it does not seem to pick up the URL parameters.
http://localhost:3000/controller/action/id?foo=bar
and
http://localhost:3000/controller/action/id?foo=foobar
Returns the same page.
Anyone looked into how to add URL parameters to the cached key? Also,
where do those file get stored?
Thanks
Dave
2006 Mar 15
2
Route for any image?
I want to create a route for any image. This is in order to create an email
report explaining what the missing image is. I could create a route for
each directory that currently has images in it but wanted something more
general like:
map.connect "/**/*.gif", :controller => ''image_handler'', :action =>
''handle_image''
Which doesn''t
2017 Nov 07
2
Problem with getting restapi up&running
Hi,
i am currently struggling around with gluster restapi (not heketi),
somehow i am a bit stuck. During startup of glusterrestd service it
drops some python errors, heres a error log output with increased loglevel.
Maybe someone can give me a hint how to fix this
-- snip --
[2017-11-07 10:29:04 +0000] [30982] [DEBUG] Current configuration:
proxy_protocol: False
worker_connections: 1000
2008 Mar 14
14
Facebooker MQ now on RubyForge
I don''t know if anyone is using this but I just fixed a bunch of bugs, some
big ones, and moved this project to RubyForge SVN servers.
So you can get it here now:
script/plugin install
http://facebooker-mq.rubyforge.org/svn/trunk/facebooker-mq/
This is working great for me on a couple of projects.
Here is the README
Updated: 3/14/2008
Purpose:
The purpose of FacebookerMQ is to
2008 Mar 14
8
Facebooker updates
I just went through and cleaned out most of the bugs and patches. I
also added a facebooker.js file that implements enough of prototype to
do $() and link_to_remote with :update and remote_form_for with :update
Let me know if you run into any issues with it.
Mike
--
Mike Mangino
http://www.elevatedrails.com
2004 Jan 06
2
How to flash hook when there is no hook ?
Hi all,
I'm using regular analog phones with * and an ATA186, and I plan to move
to cordless phones. But cordless phones usually have no way to flash
hook cause there is no hook :-)
I seem to recall there is a way to simulate a flash hook using dtmf
tones in *, but I can't find which combination to use.
More generally, where can I find all those magic cominations to put
people on hold,
2007 Apr 18
0
[PATCH 9/9] 00mme update pte hook.patch
Add a pte_update_hook which notifies about pte changes that have been made
without using the set_pte / clear_pte interfaces. This allows shadow mode
hypervisors which do not trap on page table access to maintain synchronized
shadows.
It also turns out, there was one pte update in PAE mode that wasn't using
any accessor interface at all for setting NX protection. Considering it
is PAE
2006 Mar 22
1
Can you supress warnings when running rake?
Anyone know how to turn off warnings when running unit tests with rake? I
keep getting a bunch of messages like this:
warning: already initialized constant ALL_CONTENT
Which is a constant in one of my models.
thanks,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060322/32eb0541/attachment.html
2008 Mar 31
13
request for change in URL pointing to facebook domain
I am requesting that we change the paths that absolutely point to the
facebook URL.
In the PHP client there is a method in the facebook.php file called
get_facebook_url() so this is easy to change there.
One reason for this:
Ringside Networks is a drop in replacement for Facebook that can be
used for localhost development and eventually an abstraction for most
social networks - it mimics the
2006 Feb 02
2
Installation behind a proxy
Hi all,
I was a client site today on another project and we started talking about
RoR. I wanted to show it in action, so I downloaded the one-click Ruby
installer for Windows and then tried to do "gem install Rails
-include-dependencies". After a time-out period I received the following
error:
ERROR: While executing gem.(Gem::RemoteSourceException)
Error fetching remote gem
2010 Jan 22
2
Is there any way to hook the point when channel port listener accepts a new connection?
After an user is authenticated, he should be authenticated again by
his interactive shell before starting a tunnel for him. How can I
fulfill this task? I think I should add a hook when a listening
channel accepts a new connection. Is there easier way?
Thanks.
leo
2012 Nov 09
1
Is there a hook for a plugin to do some transient operation on the mail body ...
... when the MUA has issued a FETCH?
?
I am a Dovecot newbie ... so please bear with me if this is obvious. Basically what I am trying to do is process the mail body (in my own specific way) before Dovecot serves it up to the MUA. I want to do it as a transient operation in memory. So think of the scenario as ...
? - the MUA issues a FETCH
? - Dovecot intercepts the FETCH
? - Dovecot internally
2009 Jan 15
0
is there an "before_commit" hook somewhere in Rails?
Hi,
Is there an "before_commit" hook somewhere in Rails?
(i.e. after all the saves & after_save callbacks occur, but just before the
transaction commits?)
--
Greg
http://blog.gregnet.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2008 Jan 11
6
couple of newbie questions about redirects
I''m working on an app, and am new to both ruby and facebooker. Here
is my current area of confusion:
What should happen on a user''s initial visit to my app? When I hit
apps.facebook.com/<my app> for the first time with no cookies or
sessions or anything, I''m asked if I want to log into the app, etc.,
and am then redirected to my callback url outside of facebook.
2013 Jan 02
8
Apache Passenger and Reloader
Hi Guys,
I just started playing with camping and so far it''s pretty awesomo.
After much messing around I was finally able to get Apache Passenger,
Camping and ActiveRecord to PostgreSQL working.
One thing I was wondering about, can I use reloader with Apache Passenger?
Always having to touch/rm a tmp/restart.txt to see changes or reloading
apache altogether is kinda a pain and I was
2008 Jun 03
2
Order of authentication methods is causing unnecessary call to API?
Hey Guys,
I am wondering if I am missing something here. I am noticing that after a
user installs my app I get a request that not only contains an auth_key but
also contains a valid session key.
Occasionally I am seeing that Facebook server is occasionally sending a
connection reset during the auth key authentication method, this caused me
to notice that secure_with_token is given precedence in
2008 Aug 19
6
redirect with application add
There are groups within our app that people can be invited too. If a user
recieves an invite to a group and hasn''t yet added the application the
filter chain ends up redirecting them to the main canvas page instead of the
the group page directly. Is there a way to handle this if the user hasn''t
installed the app, I tried redirect_back_or_default in one of my controllers
but it
2008 Jan 16
10
Towards a 1.0 release
Hey everybody.
I''ve been using Facebooker on several projects over the last few
months and feel like it is really starting to mature. I''d like to push
towards a 1.0 release within the next month. I''d really like
everybody''s input on what still needs to be done, as well as some help
in wrapping things up. I''ve created a list of things that still