similar to: What am I missing?? Activerecord & Sessions!!

Displaying 20 results from an estimated 4000 matches similar to: "What am I missing?? Activerecord & Sessions!!"

2006 Apr 19
0
My database model''s connection appears messed up.
I am trying to add data from a form, and the rails doesn''t appear to be making any effort at all. I''ve put deliberately erroneous data, but still nothing. All the development log shows is this. This is the code in use - based on the example from Rails book def add_customer_admin if request.get? @login = CustomerAdmin.new else @login =
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
Hello, I am building an Rails applications that has to integrate an legacy system (lxoffice) (schema at: http://www.lx-office.org/uploads/media/DB_Schema_2.1.1_R_393_17_03_2005_.pdf). They somehow use global ids (global for some tables). I can not change the schema and still I want to use Rails to access it and not pure SQL. When I try to insert a record I get the following message:
2010 Sep 17
0
ruby's oauth2 grant_type
Hi, i started using oauth2 gem by intridea (http://github.com/intridea/oauth2) and don''t know how to fix this problem. I have developed both client and server and on request for access_token i see no grant_type parameter. My code from client callback controller class CallbackController < Devise::OauthCallbacksController def accounts access_token =
2008 Jan 15
1
actionmailer the background
I have bdrb successfully set up and running in a local project. It''s doing two things: 1) processing large csv files and using ActiveRecord to insert 2) sending large batches of emails using ActionMailer In development both work well. I see my ActionMailer emails in the log (though it''s the development.log -- odd?) On the production server csv processing works well, but
2006 Mar 01
1
Strange Postgres Behaviour with Session Variables
Can someone explain why Rails is querying the Postgres database every time I retrieve a session variable?? The query is to determine the attributes of the model object I guess and looks like this: "SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull FROM pg_attribute a LEFT....". Like I said, this SELECT only occurs when I load a variable such as: @value
2006 Apr 29
4
Wild SQL -- public/500.html -- postgres-pr
Every page of my DEPOT on Postgresql rails app now gets an error from postgres-pr about some wild left-join SQL that has nothing to do with my tables: SQL (0.000000) NameError: undefined local variable or method `errors'' for #<PostgresPR::Connection:0x3b200c0>: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull FROM pg_attribute a LEFT JOIN
2006 Aug 25
0
Re: login sugar
Well, it turns out that this piece of software requires that a new user call the welcome action. The welcome action changes the user''s state to verified. Once the user is verified, he will be allowed to attempt authentication. The login page actually states this which is useful to me once I read it. I get the URL to the welcome action from the e-mail sent out or the development.log
2006 Feb 12
1
fcgid -> errors
Hi, I''m trying to get rails running on Debian stable with Apache 2, mod_fcgid, Rails 1.0. The application works fine with webrick (*). Let''s start here: @eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi Status: 500 Internal Server Error Seems to result in the following in the log files: [12/Feb/2006:12:18:40 :: 4105] starting [12/Feb/2006:12:18:40 :: 4105] terminated
2009 Nov 26
2
[error] avahi_entry_group_add_service_strlst("AdminNodeFQDN") failed: Invalid host name
Hi, After doing a clean install of ovirt in a Fedora 11 VM, I am unable to get anything working in the web interface. All I get is an error 500. After reviewing the logs I see the following error in /var/log/http/error.log [Thu Nov 26 11:29:11 2009] [notice] Apache/2.2.13 (Unix) DAV/2 mod_auth_kerb/5.4 mod_nss/2.2.11 NSS/3.12.2.0 mod_python/3.3.1 Python/2.6 configured -- resuming normal
2008 Nov 04
9
RSpec and PostgreSQL not playing nicely together
Here is a very simple spec: -- require File.expand_path(File.dirname(__FILE__) + ''/../spec_helper'') describe Product, "The Product model" do describe "When a new blank product object gets created" do before(:each) do @product = Product.new end it "should not be valid" do @product.should_not be_valid
2004 Sep 17
9
Asterisk forum created
I saw several threads requesting an Asterisk forum to complement the email list. i.e. http://lists.digium.com/pipermail/asterisk-dev/2004-February/003103.html I recently created an Asterisk forum within TMC's popular VoIP forums for everyone to use. http://voip-forum.tmcnet.com/voip-forum/forum/forum_topics.asp?FID=15
2006 Mar 31
5
Model reloading problem
Hi all, I''ve a model class Toto in the model directory. I don''t understand why i have to restarts WebBrick to view changes i make in this class FYI : in the development. rb i desabled class cache with config.cache_classes = false Regards Luciano -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Jul 26
3
Vmware to KVM - possible?
Is it possible to convert a VMWare image to KVM? As I have been building a few test machines on Vmware Fusion and would like to migrate some to a KVM server. Thanks in advance. Matt Keating Linux System Admin ? Dennis Interactive 30 Cleveland St, London, W1T 4JD Tel: 020 7907 6823 (direct line)? Fax: 020 7907 6600 (fax)? P Please consider the environment before printing this e-mail NOTE: The
2010 May 05
6
Benchmark Disk IO
What is the best way to benchmark disk IO? I'm looking to move one of my servers, which is rather IO intense. But not without first benchmarking the current and new disk array, To make sure this isn't a full waste of time. thanks
2012 May 04
3
Database schema question
Im setting up a very basic rails app and have a question about the needed migrations & associations. Basically, my app is an occasion reminder service that emails users when occasions that they select or input are coming up. Occasions will be selected from a checkbox type list or alternatively manually input by the user (name and date of the occasion). Users can have_many occassions.
2017 Oct 30
8
How to limit Apple Mail (desktop)?
By default, Apple Mail downloads all e-mails from server's account. Previous versions of this client allowed to opt-out. The latest two versions? however, only allow to opt-out from downloading the attachments. The stress on the server is unbearable. We cannot ask users to be considerate: this is the default behaviour of Apple Mail. We need a server-side solution to the problem. Please
2005 Sep 19
1
Zap calls dropping just after answer
I've got a problem w/ zap calls being dropped right after they are answered. I have a log file: http://pastebin.com/368526 Everything looks OK except for the DEBUG[25563] chan_zap.c: Exception on 9, channel 1 that seems to come up quite often. As soon as the other end of the Zap answers (my cell phone), and I can even hear a half second of noise, the line goes dead and gets hungup. In
2005 Oct 04
1
Hanging up on VoiceMailMain w/out putting in password causes call lockup
I've got an issue w/ 1.2.0beta1, where if I call VoiceMailMain from a sip phone, and then either put in incorrect passwords or just hang up, I never get a Spawn Extension that hangs up the call, and my sip phone is not capable of making any more calls until I restart the daemon. Can anybody help me fix this? -- Jesse Keating GameHouse -- Systems Engineer
2005 Oct 11
1
Problem w/ Asterisk hanging when caller hangs up in voicemail
When I hang up in voicemail, Asterisk seems to stop responding. (hangup vs pressing # to disconnect). After that, no calls can be made until I restart Asterisk. In IRC, a developer seemed to think it had to do with me using switch => in my dial plan. Basically I never see the calling extension get the -1 signal. Can somebody help me figure out why this is happening and how I can fix it
2010 Jun 02
10
Session, memory_store & NoMethodError
Hy everybody, first, excuse me for my english, I''m french (sorry for that :D). My actual problem is that I encountered a [b]NoMethodError[/b] when I tried to access to a session value that is not nil. I''m doing some ajax calls and I afffect the key/value and access to session variable in the same controler "injection_controller.rb". I also access to session in a view