similar to: Session values

Displaying 20 results from an estimated 3000 matches similar to: "Session values"

2011 Jun 09
3
Basic database question
Hi there Yes, I know very little of ruby. I must take a crash course? Probabily. Anyway, I try to ask this here. I have a control: customer_controller. From here, I can do something like: @id = 1 @customer = Customer.find(id) Now @customer will contain all the fetched record for customer with id = 1. Great. From this controller I will render an html page. Somewhere the view will print test.
2008 Jun 09
4
YUI vs GWT vs ExtJS vs ????
I would like y''all''s opinions on ease of implementation into Rails, quality and quantity of widgets etc between Yahoo User Interface and Google Web toolkit and ExtJS. I am just getting ready to invest a huge amount of effort into one of them and I would like to know what the community''s experience has been with these toolsets. OR.. is there a better open source set of
2008 Apr 04
8
Updatable "datagrid" with ajax support? Is there any code/approach I can leverage?
Hi, I want to have a page in my Ruby on Rails application that is like a dynamic / updateable data grid. Like a matrix or spreadsheet segment (x rows, y columns) which one can click in any of the cells and make an update, which triggers some AJAX code to fire off the update, and then the responses come back and update whatever else needs updating based on this change. Is there a prototype
2007 Nov 07
6
Rich (or any) GUI Components for Rails
HI, I Find rails great but theres lack of rich components, i mean any components except standard html controls.. I cant build everytime my table with all features, we are crud right ? So any component repository planned ? Maybe rails isnt good solution for my requirements ? I heard that components facility is now depreciated in rails... why ? So far im programming asp.net and im using
2006 Jan 31
1
beta2: strange assert
Hi, My setup: Solaris 9, mbox format, mailboxes NFS mounted from another S9 system, imap. I got the following assert yesterday: Jan 30 19:57:15 emerald dovecot: [ID 107833 mail.error] imap(user): file index-mail-headers.c: line 258 (index_mail_parse_header): assertion failed: (part != NULL) Jan 30 19:57:16 emerald dovecot: [ID 107833 mail.error] imap(user): file index-mail-headers.c: line
2009 Feb 18
3
wrong number of arguments (1 for 0)
Hello, I am new to ruby on rails. When I tried to create a session I am getting an error, ''wrong number of arguments (1 for 0)'', in my controller. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ArgumentError in CustomerController#add_to_cart wrong number of arguments (1 for 0) RAILS_ROOT: /project/bob_shopping Application Trace | Framework Trace | Full
2012 May 18
2
Ideas For Handling Rake Task Errors
I am looking for some ideas on how I can create some way of error alerts for failed rake tasks and how some of you are handling something like this. Basically if a rake tasks fails I would like to have some kind of alert by email that the task did not complete. Are there any services that your using to do something like this? Currently I am running these tasks via cron. Thank You -- You
2009 Oct 11
6
A simple editable grid for Rails
Hi All, I''ve been posting some queries about an editable grid but did not get any response. I''ve started writing my own - http://github.com/ckkashyap/rails_editable_grid I''d appreciate it very much if someone could comment on it! -- Regards, Kashyap
2002 Mar 20
2
include exclude help please.
hi. I know this is a big topic on the list, please forgive me. rsync -avv --include "/film/jonah/**/sourceimages/*.tif" --exclude "*" /film /tmp i'm trying to copy all *.tif 's that are in a */sourceimages/ directory and that are only under /film/jonah. i would like to copy the directory tree and tif files to /tmp i was able to copy ever tif with: rsync -a
2011 Apr 14
1
a little problem with extJS & log in form
have user_cotnroller class UserController < ApplicationController def authenticate if request.post? #User.new(params[:userform]) will create a new object of User, retrieve values from the form and store it variable @user. @user = User.new(params[:userform]) #@user = User.find_by_id(params[:id]) #find records with username,password valid_user =
2012 Mar 26
1
rails test failure
Not sure if this is for this group or not but I am running some rake tests and getting this failure Test run options: --seed 45998 rake aborted! Errors in activerecord -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2007 Jan 15
2
Queue cmd option 'i'
Using Asterisk 1.4, on the console 'show application queue' mentions an option 'i' that should "ignore call forward requests from queue members and do nothing when they are requested." Does this work? My assumption is that the member whose next according to the queue strategy should get the call even if they have forwarding enabled on their SIP device. The forwarding
2012 Jan 17
2
net classification improvement?
Greetings, I have generated several ROC curves and would like to compare the AUCs. The data are cross sectional and the outcomes are binary. I am testing which of several models provide the best discrimination. Would it be most appropriate to report AUC with 95% CI's? I have been looking in to the "net reclassification improvement" (see below for reference) but thus far I can only
2006 May 25
7
Grouping controllers
I''m grouping controllers to avoid cluttering the top-level namespace. First, I used script/generate Admin::Customers new edit show list and then I used script/generate Admin::Providers new edit show list. The generator created the subfolders correctly: I have an admin folder and inside there''s customer_controller.rb and provider_controller.rb. I have the same structure in
2008 Jun 09
3
Is there a Rails portlet like plugin/framework? (i.e. just basic to allow users to move windows around)
Hi, Just wondering if there is a Rails Plugin/GEM/Framework to aid in letting users move around (adjust) where the main page windows are. Perhaps maximize and minimize. I guess this pretty much sounds like a portlet, however I''m not asking the Rails true portlet integration question here, but rather if there is something in the Rails world that just satisfies the basics of a portlet
2005 Jul 28
3
chess
hi I''m making a chess board app in Rails using the scriptaculous drag and drop stuff. A couple of questions, I am having trouble putting the chess pieces in the correct place - simply it seems that when i make somethign draggable it changes its positioning to relative - not so good for putting pieces on a board. Why is this ? Also i can''t see an OnDrop callback in the API
2012 Jan 24
2
How would you do this in ajax in rails 3
I have a rails 3.1 app and I am curious how you would do something. I have a link_to remote option true button <%=link_to "Add to your Favorites", add_favorite_url(movie_star),:class=>"btn small primary" %> I need to submit this to the users controller via ajax do some stuff then set the button to say that the favorite has been added. Can you please tell me how
2008 May 24
5
TypeError : transport.responseText has no properties
Hello all, I''m using prototype in conjunction with Extjs to build out an Ajax- driven app. I''m noticing that occasionally there will be Ajax Requests that will occasionally not complete. After some investigation, I found that when I made a call to String#evalJSON, it would throw a TypeError with the following message : transport.responseText has no properties. When this
2008 Oct 22
1
forward stepwise regression using Mallows Cp
So I recognize that: 1. many people hate forward stepwise regression (i've read the archives)--but I need it 2. step() or stepAIC are two ways to get a stepwise regression in R But here's the thing: I can't seem to figure out how to specify that I want the criteria to be Mallow's Cp (and then to subsequently tell me what the Cp stat is). I know it has something to do with
2011 Aug 15
1
constraining betas with mlogit package
I have been using the mlogit package but can't seem to figure out how to make constraints on the beta coefficients. For example, I would like to force that two of my beta's are equal to each other. Thanks in advance. Jonah