similar to: how do i find the trigger of an 'unknown' action

Displaying 20 results from an estimated 500 matches similar to: "how do i find the trigger of an 'unknown' action"

2010 Nov 30
4
Cucumber+Capybara rails 3 issue (Don't know where exactly)
When I''m executing cucumber tests, I noticed that sometimes rails app (in test env.) getting several the same requests (GET or POST) usually around 3, and it doesn''t render anything with empty HTTP status code. Have anyone met something similar to that issue? here is some example of log file: Started POST "/account" for 127.0.0.1 at 2010-11-30 22:34:17 +0200
2006 May 28
14
Lightbox and RJS
Hi, I am trying to include lightbox functionality in my app, but there is a slight complication. Apparently lightbox initializes all the links to lightbox events on page load. However, in my case, some new links to lightbox events will be rendered to the page through ajax events (obviously this means after the page loads). So I figure I need to find a way to call lightbox''s
2006 Jul 28
5
RoR & Lightbox
Has anybody else had a problem with using Lightbox in their RoR apps? I include all the necessary files in application.rhtml and then attempt to use the Lightbox functionality in pages and such. Nothing happens except that a new page opens up with the link to the image I was attempting to show with Lightbox. I''ve even gone so far as to strip out everything except the necessary
2018 May 15
1
Transfer FSMO roles [SEC=UNOFFICIAL]
UNOFFICIAL Hi, I am running an old SAMBA DC (Bilbo) that I want to upgrade. I installed the latest version of SAMBA 4 on an old PC (jimbo) and joined the domain. I intend to transfer the FSMO roles, upgrade Bilbo and transfer the roles back. I have transferred all roles except domaindns and forestdns. Jimbo says that these roles have no owner but Bilbo thinks it is the owner. Is there some way
2003 Sep 08
1
continuing broken pipe problems
Hello all - I am running rsync 2.5.6 on two FreeBSD 5.0 machines. I have experimented with running rsync using ssh, with command lines like the following: rsync -rv --progress jimbo@192.68.100.10:/usr/share/smbshare /usr/home/jimbo And also with running rsync as a daemon on the master server, and syncing to it from the other machine like so: rsync -rv --progress 192.168.100.10::test
2006 Mar 07
17
Handling Erros from AWDWR
I''m getting to the point now where I really need to start trapping the errors. So from my AWDWR book, I added the following directly from the book into application.rb... def rescue_action_in_public(exception) case exception when ActiveRecord::RecordNotFound, ActionController::UnknownAction render(:file => "#{RAILS_ROOT}/public/404.html",
2006 Apr 06
4
Using RJS to call custom JavaScript class/method
The announcement for RoR 1.1 shows some nice examples of RJS calls. In particular I am interested in this one: # Call the custom JavaScript class/method AddressBook.cancel() page.address_book.cancel In trying to develop a "lightbox" style modal form, I have been successful in saving the form data via AJAX but I can''t seem to close the "lightbox". I am using the
2009 Mar 26
1
Lightbox popup on ajax pages....
Hi, I''m using lightbox.js for displaying chromeless popup windows. I have a main page on which I have javascript_include_tag and stylesheet_link_tag to include lightbox. Calls to the lightbox popups from this main page work perfectly... But....calls to the lightbox popups from pages which are called by ajax(using link_to_remote) from the main page do not work... :( They work like
2006 Feb 08
2
NameError (uninitialized constant UnknownAction)
Hi, I''m having a strange problem that only seems to be happening on our production server. I never get this error locally but get it quite often on the server. The other odd thing is it doesn''t seem to be resulting in any error pages on the site. Everything looks fine... I wanted to add a rescue_action_in_public to email me when there are errors. So I followed the
2008 Jan 21
2
Application error - SQL_AUTO_IS_NULL
I have a simple controller (browse) that uses a "books" action to display a list of books (stored in a mysql db) and a "book_details" action to display the details of a particular book (according to the book''s mysql id). The book_details action is accessed via a link from the books action via the following snippet: <a href=<%=
2010 Oct 15
18
Newbie - Rails 3 lightbox?
Hello! I''m trying to create a simple image "popup" effect using Lightbox2, http://www.huddletogether.com/projects/lightbox2/. But I don''t get it to work. My code looks lite this: <span class="ad_image"> <a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%= ad.image.url(:thumb) %>"
2006 Feb 07
1
AWDWR: NameError (uninitialized constant UnknownAction) in rescue_action_in_public
I copied (and modified) this code from AWDWR: def rescue_action_in_public(exception) case exception when ActiveRecord::RecordNotFound, ActionController::UnknownAction render :template=>''/error'', :layout=>''application'', :status=>''404 Not Found'' else render :template=>''/error'',
2009 Jan 29
3
Lightbox Editor freeze
I've try to use Lightbox Plus image editor (http://www.lightboxeditor.com/) under wine. It start's, but always freeze after few minutes. It says: Code: err:ntdll:RtlpWaitForCriticalSection section 0x7e4518a0 "x11drv_main.c:X11DRV_CritSection" wait timed out in thread 0009, blocked by 0018, retrying (60 sec) After a minute says the following message: Code: wine: Critical
2007 May 30
3
how to create a simple DHTML dialog
I am looking to create a simple dialog window like this on a page: http://developer.yahoo.com/yui/examples/container/simpledialog/2.html I know scriptaculous comes with Rails, not YUI, but I can''t find anything similar there. Is there any shortcut to doing this with existing plugins or core stuff?, or must I download another toolkit? thanks Sam
2006 Aug 23
2
new plugin: "redbox", a lightbox/thickbox clone with nice rails integration
Hi folks, I''ve written a little plugin to use for displaying a block of html over a page while fading out the background. This is like the lightbox.js library, and all it''s related offshoots (thickbox, greybox, etc.). My plugin, Redbox, is not really any better than these others (in fact, it''s less mature, and less tested), but it builds on prototype and scriptaculous,
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I used this functions $(''#events a'').lightBox() $(document).ready -> $("#slider").easySlider auto: true, continuous: true they load inside application.js like this (function() { $(''#events a'').lightBox(); $(document).ready(function() {
2007 Jan 20
1
Missing action error not being caught
I keep getting a blank page containing only the following: "There was a controller specfic error processing your request." Though I have the following in my application.rb def rescue_action_in_public(exception) case exception when UnknownAction, ActiveRecord::RecordNotFound then render :controller => "application", :action =>
2006 Jan 08
10
Resource Bundle Roundup
I''ve recently made a first release of what I''m calling "bundled_resource" which is a plugin that makes our lives *much* easier when we need to use javascripts, stylesheets and images in conjunction with one another to deliver a special effect or tool on the client (browser) side. If you missed the release, read about it on my blog at
2007 Nov 23
12
namespaced controllers
Out of curiosity, I''ve seen the following fail: module Admin describe MyController ... end end But this works fine: describe Admin::MyController .. end Why? Scott
2008 May 11
2
UnKnownAction exception
Hi all, i''m new in ruby on rails. i created a controller which has 2 views index, add_to_cart & inside index i created "button_to" which references to add_to_cart view, but when i click on this button UnKnownAction exception appear to me, i don''t know why this happen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are