similar to: Session management changed in EdgeRails?

Displaying 20 results from an estimated 6000 matches similar to: "Session management changed in EdgeRails?"

2006 Mar 13
4
Storing model object in session in EdgeRails
I''m having a problem with sessions since upgrading to EdgeRails. Against certain recomendations, I''m storing the current user''s model object in the session. This worked fine in 1.0 and earlier, but now I am noticing that any time I reference the associated objects for an object stored in the session, the associated objects get copied into the session! For example,
2006 Mar 07
0
Storing sessions files elsewhere on EdgeRails
Hi all, In a Rails 1.0 project, I successfully changed the sessions storage location to <RAILS-ROOT>/tmp, by adding ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:tmpdir => File.join(RAILS_ROOT, ''/tmp'')) in environment.rb Problem: -------- I tried to use the same trick in an EdgeRails project, but it doesn''t work : server error, with no
2006 Mar 13
3
"./blah/blah" vs. "/blah/blah"
Hello, Earlier in my rails application, I was using the convention of writing the following to refer to templates and/or views in the view folder. "./blah/blah" But in the Edge rail, it doesn''t work and the page doesn''t shows any output there is no error in the development log as well. But changing the above to "/blah/blah" seems to fix things. Was I
2005 Dec 18
2
EdgeRails with other Gems like RMagick
I am using EdgeRails, and have some of the plugin''s using gems such as Rmagick which are included through a command similar to "require_gems ''rmagick''". Curious how to handle such attempts at inclusion when I am no longer bound to the system gems and am using the code strictly within vendor/rails and such. Is there a way to point require_gems to another
2006 Aug 02
4
RadRails and EdgeRails
Anyone know how to setup EdgeRails with RadRails ? Stuart
2007 Sep 28
4
RSpec + EdgeRails on Windows
I recently post on my blog about setting up a Rails environment with RSpec in Windows, and someone left a comment saying that it doesn''t work in EdgeRails. I so I played around with it a bit and was able to confirm that none RSpec appears broken on EdgeRails. I''ll post the various error messages I received below. I''m not expecting any sort of patch or something for this
2006 Mar 29
5
EdgeRails: "undefined method `weight'' for #<Hash:
Hi all, I was playing with the sample project found on the Wiki at http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails , and everything was working fine, ... till I moved to EdgeRails : undefined method `weight'' for #<Hash:0x22c7150> (full error thread below) Any idea? Alain
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the instructions from hivelogic. I think I''ve found a bug with EdgeRails, but I''m not sure how to submit it (and maybe I''m doing something wrong and someone can just point me in the right direction). Anyway I thought I''d report it just in case it is a bug. I''ve downloaded
2006 Aug 01
2
Networked APC
Hi, I was wondering if there was any support in NUT for networked APC UPS's. All the configuration examples I see in the documentation are for USB/Serial connections to the UPS. I could mess around with serial/USB cables, but I'd really rather talk to the UPS over the network. I don't want all my servers relying on a single machine with a serial connection. -matthew
2006 Aug 01
2
Networked APC
Hi, I was wondering if there was any support in NUT for networked APC UPS's. All the configuration examples I see in the documentation are for USB/Serial connections to the UPS. I could mess around with serial/USB cables, but I'd really rather talk to the UPS over the network. I don't want all my servers relying on a single machine with a serial connection. -matthew
2006 Mar 02
0
EdgeRails with_scope and :select
>From what i can gather the with_scope feature doesn''t allow you to specify which columns get selected. It appears to default to "*". So if i specify something like: Question.with_scope( :find => { :from => "questions q, answers a", :conditions => "q.owner = a.owner AND a.owner=1" }) do ... end I''ll generate SQL like: SELECT *
2005 Oct 12
0
SCGI + edgerails
I can''t get SCGI to work with edge rails. Is the runner designed to work with edge rails? Thanks! Kyle Maxwell
2006 Dec 05
1
Using render inside a FormBuilder (EdgeRails)
I''m using the latest trunk of 1.2-ish, and I''m wondering how to do what I want to do. I am using a form_for :builder I wrote, simply called TableFormBuilder after the rails cookbook, and want to be able to present help icons automatically. I want these icons to appear next to form fields I am rendering. For example, I have this method in helpers/table_form_builder.rb: # This
2006 Dec 19
1
Internal API errors in EdgeRails
Started getting these in my development.log when I called a bad before_filter. Looks like log_error needs to be updated? DEPRECATION WARNING: @response is deprecated! Call response.inspect instead of @response.inspect. Args: [] See http://www.rubyonrails .org/deprecation for details. (called from log_error at ./script/../config/../vendor/rails/actionpack/lib/action_controller/rescue.rb: 66)
2006 Sep 18
2
Datebocks and EdgeRails
Hello, I am having trouble trying to use the Datebooks Engine with Edge Rails. Has anybody try with it? It seems that the problem has something with loading the layout, and complaints about the number of arguments. I will thank any help or guide. Thank you very much. ========================= I have copied the error I get ArgumentError wrong number of arguments (2 for 1) RAILS_ROOT:
2006 Feb 08
0
subversion AND gem rails howto?
I have been using rails on Debian Sarge since May of last year. I initially gem installed rails as root and since then I have been gem updating the installation. I have had no trouble with the installation or development. Now feel that I''d like to use svn to get edgerails to be able to use nifty features such as RJS. Some of the threads on the subject talk about svn:externals in the
2006 Sep 14
4
AWDWR 2nd edition and REST
Question, and I''ll preface it by asking if this is the right list to be posting questions regarding anything past Rails 1.1.6 , (i.e. edgerails) ? In the latest revision of AWDWR there is a sample REST based app. During the creation of the controller and actions, there is a foot note that says: "7. By the time you''re reading this, there may well be support build into Rails
2006 Jan 12
0
[RFC] Are patches sitting too long in the tracker - PatchRails to the rescue?
Hi, List, I read the ''this is why ror sucks'' - thread with some amusement. I''m pretty delighted by rails and would like to thank the community and especially the core developers for being great. I''m a little afraid that the last post to this thread hasn''t got the attention that it deserves and therefore I''d like to link it here again and
2005 Dec 02
8
UserEngine: stack level too deep
Hi, I''m trying to get the UserEngine running. I have installed the LoginEngine, added the essential lines to environment.rb / application.rb and application_helper.rb. Worked fine. Then I did the same with the UserEngine and when trying to set up the db: rake engine_migrate ENGINE=user I get: Migrating engine ''user_engine'' rake aborted! stack level too deep But...
2005 Dec 16
1
rails commands
HI all How do i know whether i am using Gemrails or Edgerails? if gemrails , detailhow to know versions of gems? thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Rails mailing list