similar to: Accessing session values in rails methods

Displaying 20 results from an estimated 30000 matches similar to: "Accessing session values in rails methods"

2008 Jul 23
1
session handling in rails and flex
Hi All, I am using Flex for front-end in my application. This front-end needs some data from my application, so it calls few rails methods where i have generated xml file which gives these data. But i didn''t get any session value in these methods. Sessions are created in other methods of different controller in my rails application. Does anybody know why these session values are not
2009 Apr 06
3
Installing Warehouse- undefined symbol: apr_dbm_type_db
Hi All, I want to install warehouse application but i could use rake command because of following error. Kindly support me to resolve the same. Error- !! No Ultraviolet gem found, defaulting to javascript syntax highlighting. Do not be afraid. !! Error loading plugins: Mysql::Error: Table ''electron_xorndevelopment.plugins'' doesn''t exist: SELECT * FROM `plugins`
2009 Feb 11
1
Ruby on Rails: Talk | Google Groups
This is more an architectural question.... I am looking to create a domain that sells widgets (as an example) widgets.com Now I have three sales reps, that each sell different kinds of widgets, and do not need to know about each other. larry.widget.com moe.widget.com curley.widget.com I don''t want to repeat myself (of course!) with the shopping cart logic or the transactional
2007 Feb 09
0
Rails and Ruby API Widget
This link (http://widgets.precisionis.com.au/) points to a Dashboard Widget that allows you to search the Rails API and the Ruby API. To show both API''s, add two widgets and set one to the Ruby bookmark and the other to Rails bookmark in the preferences. This makes searching the API easy and accessible. --~--~---------~--~----~------------~-------~--~----~ You received this message
2006 Jul 29
1
Web service and Builder doesn't return Norwegian ÆØÅ
Hi, I''m working with using Rails as a backend for a Flex 2.0 application. I use web services to access data in a mysql database. It works very well except when the data include Norwegian ???. Symptoms are: - Using SOAP I get a string of scrambled characters. Strings without ??? are just fine - Using XMLRPC just drops out the ???''s - Using REST with RXML templates returns
2005 Jun 13
1
RDoc Dashboard Widget v1.2
Hi all, This is just another quick email to let everyone know that I''ve updated the RDoc Dashboard Widget to fix all the reported bugs and add most of the requested features. The changes include: * Bug fixes for erratic scrolling and ''stuck'' navigation panes * The ability to have multiple instances of the RDoc widget on your dashboard * Bookmarking functionality for
2009 Jun 25
1
How do I define the method for gcheckboxgroup in gWidgets?
Hi All... I?m trying to build a small demo using gWidgets which permits interactive scaling and selection among different things to plot. I can get the widgets for scaling to work just fine. I am using gcheckboxgroup to make the (possibly multiple) selections. However, I can?t seem to figure out how to properly define the gcheckboxgroup; I can draw the widget properly, I think my handler would
2009 Apr 06
1
Need Help with StatET Error/Bug? on Ubuntu 8.10 amd64
Hi, I posted this message on the StatET-user board last week, but it looks like a ghost-town... I have a bad feeling that there is some code in the plug-in which doesn't work well with my environment, but if I am lucky, maybe other users have worked around this problem somehow - I am hoping that my setup is the issue. Note: very similar StatET setups on 32-bit XP Pro and Vista run
2005 Oct 14
1
join tables and position (acts_as_list)
I''m working on some schema for a new project that we''ll be doing in rails (our first rails project!). A recurring structure we are seeing is the desire to define an ordering any way we wish, so ''acts_as_list'' comes to the rescue. But, the ''position'' column seems to need to belong in the join table to make sense. For example, we have
2010 Sep 08
2
Rails 2 to Rails 3 - How to convert this sql query ?
Hello all, Can someone help me with this query ? Here is the query used in rails 2. The idea here is to obtain the top 10 widgets. Widget.find(:all, :select => ''widget_type_id, COUNT(widget_type_id) AS widgettypeid'', :group => ''widget_type_id'', :order => ''widgettypeid DESC'', :limit => 10) This is deprecated and i want to port it
2007 Feb 20
7
How to Get data from Web Page to Database.
Hi, I want to get the details from a table which is displayed on a Web page into the Database. How to read that Web page ? I mean if there is table Student details like Roll no., name etc. And I want to read that table & store it into my database in table My_Student. How to do this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 Jan 03
3
Changing tables within rails app
Hi, I want to know if my idea is possible within the rails framework. I want to write a rails app that uses the same code to manage two classes of widgets; "wired widgets" and "wireless widgets". For the most part, all the code to manage these two classes of widgets will be identical. The only differing part are some of the underlying field names in each respective db table
2005 May 31
1
AJAX & Partials
Hi, looking to see if I''m on the right track here... we''re selling widgets to customers, but there are a number of different type of widgets and each different type of widget has a number of parameters that the customer can specify, in effect each customer orders widget''s customised in ways particular to that specific order. We use STI to store each different widget
2011 Dec 05
1
using StatEt IDE for Eclipse
Hi, I'm trying to use StatEt IDE for Eclipse as my R editor, but I'm completely lost. I've read all I could find online, made apparently all I had to do (installing rj, configuraing StatEt, etc.) but still cannot make R running. Below is the error log file. Thank you so much for assistance. Matteo !ENTRY de.walware.statet.r.console.ui 1 0 2011-12-05 16:21:51.355 !MESSAGE
2006 Apr 12
1
rails api for dashboard widget like ruby rdoc widgets
hi guys, has someone here implemented rails api for dashboard widget like ruby rdoc widget? http://www.apple.com/downloads/dashboard/developer/rubyrdocwidget.html -- sig "kind regards" :name => " Arie Kusuma Atmaja ", :callme => " Arie ", :ym => " riyari3 ", :email => " ariekusumaatmaja@gmail.com ".chop!, :blog => "
2011 Mar 18
7
Controller Spec & DataMapper Chaining
Hi there, I''m fairly new to RSpec, and DataMapper and I''m trying to write a controller spec for an index action that will include DM query chaining. Here is a very simplified version of the Controller#index I''m working on def index @widgets = Widget.all(:order => [ :name.asc ]) if params[:alpha] @widgets = @widgets.by_alpha(params[:alpha]) elsif
2020 Aug 09
0
Interactive graphics
Dear R-Devel list members I'm facing as problem already known and linked to the use of getGraphicsEvent(prompt = "Waiting for input", ???????????????? onMouseDown = NULL, onMouseMove = NULL, ???????????????? onMouseUp = NULL, onKeybd = NULL, ???????????????? onIdle = NULL, ???????????????? consolePrompt = prompt) setGraphicsEventHandlers(which = dev.cur(), ...)
2008 Jun 07
2
Rails integration tests without stories
I''m looking to drive the development of a rails app that does nothing but serve a JSON API. All of the models are well tested elsewhere, so I needn''t worry about that. My only immediate goal is to be able to fire off requests to a path and check the returned JSON. I''ve tried a number of methods for this today, without being particularly enthused about any of them. I
1996 Mar 23
0
No subject
Announcing Moo-Tiff for FreeBSD 2.1. Sender: owner-freebsd-announce@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Moo-Tiff is a 100% compatible port of OSF/Motif 2.0 for FreeBSD 2.1, built from the official OSF sources and run through the OSF VTS (Validation Test Suite). If it works with OSF/Motif 2.0 on any platform, it can now work on FreeBSD 2.1 with Moo-Tiff ! Moo-Tiff is priced at
2007 Nov 01
1
List of Nth removed associated objects.
Given the following.. Foo has_many :bars Bar has_many ::widgets Widget has_many :gadgets Gadget has_many :parts All of the following are now possible... @foo.bars @bar.widgets @part.gadget.widget.bar.foo However, I can''t just do the opposite of that last one... @foo.bars.widgets.gadgets.parts and get a full list of every Part associated with @foo. I know there''s several