similar to: Retrieve session_key

Displaying 20 results from an estimated 5000 matches similar to: "Retrieve session_key"

2008 May 30
0
UJS for rails plugin Installation problems
Hello, I downloaded and installed the latest UJS plugin. I first got the error "uninitialized constant UJS" and this error wouldn''t go away no matter where I place the "UJS::routes" line in the routes.rb file. The only way I found to get rid of this error is to run "rake tmp:sessions:clear" but then I get another error which is "can''t convert
2010 Aug 14
1
Rail3: UJS submit after client-side validation
I am have some problems with UJS. I have a (potentially) large form that I was doing client side validation on (yes there is also some server side validation) using an old prototype validation routine that is not working with the current version. I actually got validation to work by coping and modifying some of the rail.js routine to observer submit. I also had some javascript toggles that I got
2011 Sep 06
8
Ajax and rails 3 UJS (jquery)
Hi, guys, I''m in the midst of moving an app from rails 2.3.8 to rails 3.0.9. Sadly, rails 3 no longer has javascript generators and I''m now forced to do more javascript. For my project, I have selected jQuery as the javascript framework for my rails 3.0.9 app. What I have done to have my app''s deletion link (for each item) trigger an alert box when the deletion
2006 Nov 04
0
Prototype observe issues
I have tried a couple of different ways to do the following (using unobtrusive javascript) as well as straight javascript. So far the only way that I have been able to get it to work is through straight javascript but still is not working the way that I would hope. Basically I have the following in my application.js var Myapp = { myObserver: function(event) { // links to adding a new
2006 Oct 04
0
UJS Plugin - apply_behaviour Question
Anyone using the Unobtrusive Javascript for Ruby On Rails Plugin? I have some code that looks like this. <% apply_behaviour ''select:click'' do |page, element, event| page.insert_html :top, ''the_list'', "<li>hi</li>" end %> What I would like to do is list the element.value rather than the string "hi" but I''m a
2010 May 31
0
Rails 3 UJS and delete action
Hi, I ve got a question concerning delete actions in the new rails 3 world with unobtrusive javascript. How may I perform an "ajax" delete in a list of products. if attribute data-method is specified rails.js handleMethod is called, which adds csrf params into a hidden form and form.submit is called. Works great, but form.submit is nt performed as an ajax request. Using data-remote
2008 Jan 03
1
help - updated from 1.2.5 to 1.2.6 and getting undefined method 'session=' for ActionController::base
i start the server but it exits right away, I ran the rake to update and changed the version string in config.rb. Any thoughts on this matter would be appreciated. i imagine that it has something to do with the session, but i am not able to figure it out. my config/config.rb has the following config.action_controller.session = { :session_key => ''c3_rails_session'',
2007 Dec 23
3
InvalidAuthenticityToken problems with my login form
I am trying to convert my codeand to use the new Rails 2.0 feature RequestForgeryProtection but I get an InvalidAuthenticityToken error, right from the beginning with my login form.. I followed the recommandations : in my environment.rb config.action_controller.session = { :session_key => ''myappname'', :secret =>
2004 Aug 06
0
winbindd PANIC: smb_xmalloc: malloc fail
Windows 2003 native mode AIX 5.1 gcc 2.9 MIT kerberos 1.3.4 pre-compiled binary for AIX openldap 2.1.30 samba 3.0.5 The nmbd, smbd daemons appear to be running without issue. winbindd will abort every time with: smb_xmalloc() failed to allocate 2534319874 bytes PANIC: smb_xmalloc: malloc fail. =============================================================== INTERNAL ERROR: Signal 6 in pid 32470
2006 Dec 27
13
Where did UJS go? UJS vs. RJS
I have not been able to access the UJS site, http://www.ujs4rails.com/ for two days. Does that mean there are problems or that it has been incorporated into Rails core? In general, what do you think of using UJS instead of RJS? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2010 Mar 04
0
Uploadify authentication problem
I''m trying to use Uploadify in my project. Everything works in my machine, locally. The problem is when I use the same code in my production environment. When I try to upload a photo, it returns an error "HTTP 401", but there are no errors in the log. Rails(2.3.5) Uploadify(2.1.0) Here is my FlashSessionCookieMiddleware where the problem with the Flash authentication shoud be
2010 Sep 09
1
406 Not Acceptable with swfupload
---------flash_session_cookie_middleware.rb require ''rack/utils'' class FlashSessionCookieMiddleware def initialize(app, session_key = ''_session_id'') @app = app @session_key = session_key end def call(env) if env[''HTTP_USER_AGENT''] =~ /^(Adobe|Shockwave) Flash/ req = Rack::Request.new(env) params =
2008 Feb 09
1
how to check the config.action_controller.session options ?
when setting it in my environment.rb config.action_controller.session = { :session_key => ''_myapp_session'', :secret => ''3a64394bb895f1f05e0c07f71127d93d'' } I cannot get it back in the script/console .. :session_key=>"_session_id" !!! why ? >> ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS =>
2000 Sep 28
1
[PATCH] Next cleanup part 4 or 5 by now.=)
Changes: * Removed utimes() posix hack since scp.c moved to utimes() * Fixed waitpid() to be more proper. It was driving me nuts. * Made setsid() a #define in next-posix.h * Removed WCOREDUMP() from next-posix.h since we really don't support it and now #ifdef .. #else .. #endif around the single place it was used. * Fixed typecasting issue in sshd.c with sizeof() returning "long
2006 Aug 01
0
Unobtrusive Javascript for Rails 0.2
Dan Webb (http://www.vivabit.com) and I are happy to announce the latest release of the Unobtrusive Javascript plugin for Rails. This release packs in lots of cool new features, a few changes to old ones and some performance enhancements. Now you can write your behaviours in Ruby, attach behaviours directly to elements using content_tag and apply behaviours to elements without HTML IDs.
2006 Jun 05
1
Unobtrusive javascript...what if?
What if...you could produce accessible, unobtrusive javascript, using Rails built-in javascript/prototype helpers, with just one extra line of code in your layout, a plugin, and one small enhancement to the helpers. Something like this: [php] <% form_remote_tag :controller => ''foo'', :action => ''bar'', :unobtrusive => true %> # which produces
2008 Apr 08
3
Session Expired for Profile Publishing
Ok. I''m not having any success with publishing profile FBML. Example code: class WelcomeController < ApplicationController layout "facebook" ensure_application_is_installed_by_facebook_user def index @user = facebook_session.user ... @user.profile_fbml = render_to_string( :template => ''welcome/profile'' ) end end Results in
2006 Dec 08
2
UJS plugin incompatible with RSpec?
Hi all, Anyone using UJS with RSpec? I have the following view spec: ---- edit_spec.rb context "accounts/edit" do fixtures :users setup do assigns[:user] = users(:consumer) end specify "should display the user info to edit" do render ''/accounts/edit'' end end ---- end that causes this exception: ---- exception ActionView::TemplateError
2011 Sep 19
1
Rails and UJS guide - not having much luck
I refered to http://railsdog.com/blog/2011/02/28/callbacks-in-jquery-ujs-in-rails3/ in hope of getting json data from my controller and displaying it in my view when an ajax request is made. I followed the instructions on the http://railsdog.com/blog/2011/02/28/callbacks-in-jquery-ujs-in-rails3/ and even corresponded with the author and also implemented his ''fix'' in
2010 Dec 20
2
The Rails3 way for in-place editing
Currently I want to implement in-place editing directly on the index-page (for the sake of learning just xx products with a name to be edited). These are my favorite links from yesterday''s research (for the archives): *On the spot is a Rails3 compliant unobtrusive javascript in-place-editing plugin: http://rubygems.org/gems/on_the_spot