Displaying 20 results from an estimated 800 matches similar to: "How to make prefix_sessions recognizable?"
2006 May 22
0
svn commit problem with file column plugin?
hello,
why i always got this error (svn commit problem) whenever i use
file_column plugin? especially that tmp dir..
svn: Commit failed (details follow):
svn: Working copy
''/Users/arie/my_app/public/user/logo/tmp''
is missing or not locked
i searched on and on but i couldn''t solve it, some said it''s all about
.svn not found in that directory, but how come
2007 Mar 01
1
ActiveRecord::StatementInvalid error
When I try to run my webserver in the production environment I just
get an application error message. This is all I can find in the log:
ActiveRecord::StatementInvalid
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/
connection_adapters/sqlite_adapter.rb:274:in `table_structure''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/
2009 Feb 28
0
activerecord-odbc-adapter 2.0 failed to allocate memory
I''m currently trying to connect rails to a legacy SqlServer database. System
is windows XP and my attempts to connect with activerecord sql adapter and
ADO.rb file failed miserably (I wrote a mail about it before)
So it seems like odbc adapter is more recent compared to sql adapter and
probably more used. I''m using active_record_store as session store, and
probably the first
2007 Dec 29
2
needs to have method `_load'
I''m getting an exception that I''m fairless clueless about. It occurs
when I run a "create" action but neither my action or before filters
are hit before this exception. I''m hoping someone can give me a clue.
I suspect it has to do with marshalling objects in the session - maybe
TzTime is not capable of being stored in the session. I hope that''s
not the
2006 Oct 16
3
Strange ActiveRecord error popping up
Hello guys, I''m developing a new app in Rails, and every now and then
I get an ActiveRecord error, I cannot reproduce exactly what triggers
it, hope you can help me, or give me tips on debugging this kind of
stuff. This time I got the error reporting page, but normally I would
just see the 500.html page, with no info about what went wrong.
This is the error (it''s the complete
2006 Aug 08
0
EAGAIN error in production.log
Hello,
I''m seeing quite a few of the following errors in my production log:
Errno::EAGAIN (Resource temporarily unavailable):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/cgi_process.rb:184:
in `write''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/cgi_process.rb:184:
in `out''
2006 Aug 10
2
Software caused connection abort
Hi Zed or anyone that is also looking at Mongrel,
Just want to report something that, although doesn''t crash mongrel, is
rather annoying.
I am running the latest Mongrel 0.3.13.3 - ruby version on cygwin
(yeah, poor me). When I start mongrel_rails with
ActiveRecord::Base.allow_concurrency = true in environment.rb, I see a
lot of
"Error sending file
2010 Dec 18
1
how to use expression as function arguements?
Hi all,
#####################################
integ=function(f,n){
# computes vector y = f(x)
x=runif(10000)
y=f
hatI=mean(y)
hatI
}
# example of use
integ(x^2+x+100,100)
#####################################
it returns an error says no obj 'x'
how do I 'tell' R to treat 'f' as an input expression?
Thanks.
casper
--
View this message in context:
2006 Nov 04
0
Net::HTTP.post_form got 200 but no INSERT INTO. How come? How to fix this?
Hello,
I''m playing around with net/http and open-uri Ruby Libraries.. I''m
trying to post to my own rails simple new action method.
Here''s my irb :
irb(main):013:0> res =
Net::HTTP.post_form(URI.parse("http://localhost:3002/blog2/new"),
{"commit" => "Save",
"signature_id" => "", "signature_content"
2006 Jul 19
1
flickr.rb error
hi all,
i am trying to put flickr on my ruby app using the famous "Putting
flickr on Rails" tutorial...i followed all the steps what was given
there...but the followoing error always come...
Error Message:
NoMethodError in FlickrController#search
private method `gsub'' called for 24:FixnumRAILS_ROOT:
C:/rails/flickr/config/..
Application Trace | Framework Trace | Full
2006 Nov 04
0
Marshal Data Too Short Error
I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too Short"
error. I havent been able to repeat the error as it seems to happen randomly
in my rails program. However, the version of Ruby I''m using already has the
file.binmode lines outlined in:
http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort.
If possible I''d like to avoid switching to active
2006 Jul 09
3
Mongrel and proxying with Apache 2 mod_proxy
Hi all,
I''ve just spent some time going through trying to get mongrel & apache
2.0 working with mod_proxy. I thought I''d share what I''ve found in
case someone is going through the same exercise.
Of late, I''ve been using mongrel (lovely, btw) to run my rails apps.
Since I have a couple of different rails apps running on the machine,
I thought it be nice to
2006 Aug 26
1
Marshal Data Too Short Error
I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too
Short" error. I havent been able to repeat the error as it seems to
happen randomly in my rails program. However, the version of Ruby I''m
using already has the file.binmode lines outlined in:
http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort.
If possible I''d like to avoid switching to
2010 Jul 07
1
what is a session stored via the active_record_store option unique to?
Hi,
After a bunch of snooping in AWDWR and Railsguides I can''t reach a
good understanding to the following question: What is a session stored
via the active_record_store option unique to? In other words, how does
rails bind the user to their session under the active_record_store
option?
This concern has arisen in the following way...
...I have two use levels in my app: 1) authenticated
2008 Feb 20
2
Rails Edge ActiveSupport::TimeWithZone and Marshalled objects
Hello all,
I''m trying to use the new ActiveSupport::TimeWithZone from Edge. The
problem seems to be that I have a several-action process to create a
Booking. This Booking is stored in the session (session[:booking] =
@booking) throughout the actions until the last action is reached and
the record is saved to the DB.
Using TimeWithZone seems to be producing errors when trying to
2006 Feb 14
1
ArgumentError in <controller not set>#<action not set> ??
Has anyone ever seen this before? It doesn''t happen n a predictable
manner, and can occur via different controllers. Someone else posted
about this back in December but no one replied. I''m completely stumped!
Here is the text, thanks.
ArgumentError in <controller not set>#<action not set>
undefined class/module CustomerDomain
RAILS_ROOT: script/../config/..
2006 Mar 28
0
MySQL problems and undefined class User
Hello
I''m having some issues with MySQL losing it''s connection, or undefined
class User on Windows XP. I use Login and UserEngine. Rails 1.0/1.1,
MySQL 4.
MySQL problem (one of them):
Mysql::Error: Lost connection to MySQL server during query: UPDATE
sessions SET `data` =
2006 Jan 04
3
Intermittent problem with link_to_remote()
Hi folks,
My page displays links for ''categories'' using the link_to_remote()
function. Clicking on one of these links goes to the controller and
returns any child categories. I''m finding that the page works ok but
after a number of clicks (average 5 or so), it crashes with an error:
==============================================
Processing Base#index (for
2010 Jul 21
0
cgi_process.rb:22:in `__send__': undefined method `env_table
.htaccess is like this...
AddHandler fcgid-script .fcgi
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ dispatch.cgi [QSA,L] <--- commented
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
if I run....
./dispatch.rb
./../config/environment.rb:35: warning: already initialized constant
MONTHNAMES
2005 Dec 01
0
Troubleshooting "undefined class/module"
I''m having a bit of a headbanger here... maybe someone can help.
A class in a fairly complicated existing Rails app that I''m working on
seems intermittently not to load.
The error is basically the following:
undefined class/module InnerPackage
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0
/lib/action_controller/session/active_record_store.rb:75:in
`load''