search for: jdevin

Displaying 6 results from an estimated 6 matches for "jdevin".

Did you mean: devin
2008 May 28
15
Help with output
I am having problems trying to get the output to work in an application I have. Here is the example THIS GIVES ME THE CORRECT VALUES <!-- ######## Flooring ######### --> <% if(params[:flooring]) %> <tr><td colspan="4"><h2>Flooring</h2></td></tr> <% for company in @companies
2009 Nov 01
5
Headache with sessions being shared.
I have a really horrendous problem with sessions. before_filter :find_cart_from_session private def find_cart_from_session if session[:cart] # if there''s is a cart in the session begin @cart = Cart.find(session[:cart]) # return existing or new cart rescue ActiveRecord::RecordNotFound @cart = Cart.create @cart.save session[:cart] = @cart.id
2012 Mar 21
3
distributed mdbox
...st-gluster-client2 dovecot: lda(testuser28): Warning: fscking index file /mnt/testuser28/mdbox/storage/dovecot.map.index Mar 21 09:36:30 test-gluster-client2 dovecot: lda(testuser34): Warning: fscking index file /mnt/testuser34/mdbox/storage/dovecot.map.index This is my dovecot config currently: jdevine at test-gluster-client2:~> dovecot -n # 2.0.13: /etc/dovecot/dovecot.conf # OS: Linux 3.0.0-13-server x86_64 Ubuntu 11.10 lock_method = dotlock mail_fsync = always mail_location = mdbox:~/mdbox mail_nfs_index = yes mail_nfs_storage = yes mmap_disable = yes passdb { driver = pam } protocols =...
2008 May 28
2
functional testing joins table problem
I have models/controllers Class Facility has_many :facilities_services, :dependent => :delete_all Class Service has_many :facilities_services, :dependent => :delete_all Class FacilitiesServices belongs_to :facility belongs_to :service so in my test/functional/facilities_controller_test.rb, I have post :destroy, :id => 5 which tosses an error...
2009 Feb 19
1
Switching to ActiveRecord Session Store
I''m having a problem switching from cookie sessions (the default) to active record sessions. I''ve created the sessions table via the rake task, uncommented the line config.action_controller.session_store = :active_record_store in my environment.rb file, cleared out my browsers cookies, restarted the server (natch), but still the it''s using cookie_store instead of
2008 Apr 29
0
rake build_postgres_databases fails on edge... How to use the new schema.rb system?
Posted this message on Core, but maybe it belongs here. The subject pretty much says it all. I''m getting ready to set up an environment for working on my first patch, and I discovered that the activerecord/test/schema files have changed, but the Rakefile hasn''t yet been updated. Is there a simple way to set up the test databases with the new system?