similar to: Newbie Question: How can I access the referer

Displaying 20 results from an estimated 1000 matches similar to: "Newbie Question: How can I access the referer"

2005 Sep 14
2
drop down select lists within SlideDown section broken in Firefox
If I slide down a section that contains a select list, the selection box is stuck (clicking on the down arrow on the right side of the box has no effect). Works fine in IE. The javascript library is the one that comes with the latest version of rails. Chris -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Aug 03
1
Scriptaculous: Effects.js SlideDown Firefox Possible Bug
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: bug-firefox.gif Type: image/gif Size: 2038 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050803/0e69c265/bug-firefox.gif -------------- next part -------------- A non-text attachment was scrubbed... Name:
2005 Aug 31
11
Documentation generator?
I''m looking for a documentation generator for JavaScript code that can handle the coding style used in prototype.js and script.aculo.us. Any recommendations for such a tool? In a similar vein, does it make a noticeable difference in production when comments are removed and several script files are combined into a single one? Michael -- Michael Schuerig Most people
2006 Jan 21
8
scriptaculous accordion feature - Jump?
Trying the accordion feature as offered at: http://wiki.script.aculo.us/scriptaculous/show/accordion+feature The objective is to remove the "jump" reported in the Rico accordion feature. My demo of the scriptaculous feature, however has a noticeable jump when tested if FireFox. and IE Win. See: http://www.jimdavis.org/accord3.html Have I implemented this incorrectly? Jim
2008 Sep 08
1
request.referer
hello All I am passing some form value from one page to another and if something is missing from form value redirecting user back to home page, following is code to redirect back: redirect_to request.referer ? :back : "/" i want to pass those params back. something like; redirect_to request.referer ? :back + params : "/#{params}" any advice Thanks Ajit
2007 May 25
1
Calling rails from a server-side include?
Hi, 99% of my site is rails, but I have a tiny php section I just cant get rid of (phpbb3). I''ve turned on server-side includes on my site and my phpbb3 template starts with this: <!--#include virtual="/main/header" --> ... The problem is, rails isn''t recognizing that it was called as "/main/header"; I get this error in my development.log:
2005 Aug 08
7
JS Input/Validation Library
Does anyone has any thoughts about starting a project to simplify client-side form validation and input? I started thinking about this because I think date input in most web applications is broken. I really like Simon Willison''s demo: http://simon.incutio.com/code/js/date-parser/ I think this could be improved (by mapping say shift+left-arrow to the previous day, and
2005 Dec 04
3
Relative URL
I''m trying to use a non default webserver with Rails and succesfully does this by calling the disptacher directly, by setting the environment variables: REQUEST_URI and SCRIPT_NAME My problem is that the relative path is incorrect when I identify myself as anything else than apache. In request.rb the @@relative_url_root is only set when the webserver is apache. Is this default wanted
2006 Jul 17
2
Getting the original url from a controller action method
Is there a simple way to get the original url which spawned a controller action, including any query parameters? Thanks in advance, Don Mc -- Posted via http://www.ruby-forum.com/.
2006 Jan 08
4
Redirect to where I was
I wonder if there is a standard Rails way to redirect from an action back to a previously viewed page. As a quick fix I created two little methods in the controllers/application.rb. Does this seem like an ok way to go? Thanks, Peter class ApplicationController < ActionController::Base def i_was_here session[:i_was_here] = request.env[''REQUEST_URI''] end def
2006 Jan 04
17
Scriptaculous + Prototype shrunk to < 50Kb
Maybe I''m anal but I like fat-free JS, so I pulled the Proptotype and core Scriptaculous files into one single JS file at 49Kb. It''s "packed" so if you care about that kind of thing, it''s also "obfuscated". Download from my personal site at www.alistercameron.com. - Alister PS. Of course this is the current version as posted on the
2006 Apr 04
21
Rails on IIS
I just spent the last two days trying to get Rails on IIS to work with Windows 2003/IIS 6.0. I think I''ve finally got it working, but it took more googling than I care to describe. Now I''ve got a few questions: 1) Is there some ''official'' Rails on IIS guide on this site on another official ruby site that''s known to work well? 2) If not, can someone
2006 Apr 01
15
Ruby on Rails CMS released. Web 2.0, Ajax, etc
Eribium, a content managing system built with rails has been released completely free under the MIT License. http://www.eribium.org/eribium/?p=21 You can find a demo here: http://alexmaccaw.no-ip.info:3000/admin (user and pass are ''demo''). Some of the features include: * Completely Unobtrusive Javascript. * Liquid View, works with pretty much any screen resolution.
2009 Mar 18
1
uninitialized constant ActionController::AbstractRequest (NameError) with rails 2.3
Hi guys, I''ve just installed Rails 2.3 and I am using the clearance plugin with cucumber features. When I run rake features I get this "uninitialized constant ActionController::AbstractRequest (NameError)" error from webrat trying to call AbstractRequest which now is called Request (I think). My question is : Is there any way to alias the old name to have backwards
2006 Apr 19
3
Flex or OpenLaszlo
I''m just wondering if anybody has got any experience in integrating Flex or OpenLaszlo with Rails and which people prefer. I''ve seen some of the tutorials but am pondering which one, if any, I should turn to: http://coenraets.com/tutorials/flexonrails/flexonrails.html http://www.liverail.net/articles/2006/04/16/rubyonrails-1-1-and-flex-2-0-pt-1
2009 Jul 23
1
Files with / in their name....
Hi there - I am trying to do a site to site nightly rsync between two boxes using ssh - all of the setup steps work and everything can talk nicely etc. However, the users unfortunately have lots of files with / in the filename (eg 21/08/08.ppt etc.) - when I try and run rsync on the content of these folders rsync understandably moans about the filenames being invalid (ie it thinks they are folder
2011 May 08
5
Am I being to paranoid?
Hi All, I want to know thoughts on if I am being to paranoid/security conscious. CentOS 5.6, Apache, MySQL, running an Firewall in front of everything and obviously the built-in firewall on the box. I have ssh on a different port and starting to use Keys instead of password authentication. I host an intensive website and I am getting about 150 unique visitors per day. What I am seeing is
2008 Sep 23
5
Problem getting Rails to emit the correct (proxy) domain in route urls
Behind the scenes my app runs like this: http://myapp.mydomain.com/myapp and and https://myapp.mydomain.com/myapp are Apache 2.2 virtual hosts proxy-balanced to a mongrel cluster on the same machine. But I need to make these available here: https://www.mydomain.com/myapp and https://myapp.mydomain.com/myapp are on a second server using ProxyPass and ProxyPassReverse to
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and I must be missing something very obvious because I cannot get things working properly. Here is what I need: 1) The server must be running apache 1.3. A very large body of PHP content is currently vended by the server through 5 vhosts and I have neither the time nor resources to replace apache1 with apache2 or lighttpd. Maybe
2006 Jan 20
8
AJAX for sale!
Thought I would share this with you guys, it brought a smile to my face this morning... So, I work for a quick American company who I won''t name, and for the past few months I have been pushing to use AJAX in some of our Web applications. This looks like its finally happening, and we are using it in an upcoming project. There was a meeting about it yesterday, which unfortunately I