Displaying 20 results from an estimated 3000 matches similar to: "Internal API errors in EdgeRails"
2007 Mar 17
0
webrick failing with "NameError: cannot remove Object::UnknownPropertyMethod"
Hi,
I just downloaded the latest rails, and tried to run webrick. I get
this strange
set of error messages. It looks like the real error is
NameError: cannot remove Object::UnknownPropertyMethod
I never had this problem with older versions, and the ''fastcgi''
variant, running
under lighttpd runs fine. Any ideas why webrick appears to be
broken?
Thanks,
David
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
2008 Jun 04
4
Where is the ActiveRecord Oracle Adapter with 2.1?
I tried this, which worked before:
sudo gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org
--no-ri --no-rdoc
But all I get is:
ERROR: could not find activerecord-oracle-adapter locally or in a
repository
Anyone else able to install the Oracle adapter?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2006 Mar 15
2
Session (stored in db) not working in testing mode
Hi,
I just switched from storing my sessions on disk to storing them in
MySQL. Changing environment.rb ''config.action_controller.session_store =
:active_record_store''. But now all my tests fail. I get the following
error:
1) Failure:
test_authorized_new(AdControllerTest)
[c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/depr
2011 Aug 03
4
Convert matrix to numeric
I have a matrix that looks like this:
structure(c("0.0376673981759913", "0.111066500741386", "1", "1103",
"18", "OPEN", "DEPR", "0.0404073656092023", "0.115186044704599",
"1", "719", "18", "OPEN", "DEPR", "0.0665342096693433",
2009 Jun 21
0
[PATCH] nv50: update comments
---
src/gallium/drivers/nv50/nv50_program.c | 92 ++++++++++++++-----------------
1 files changed, 41 insertions(+), 51 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 249f069..4b05075 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -36,42 +36,57 @@
/* ARL - gallium craps
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
2009 Sep 12
0
[PATCH 09/13] nv50: move allocation of pc regs
Make use of tgsi_shader_info to determine how many nv50_regs
we need to allocate, if program uses KIL, or writes DEPR.
---
src/gallium/drivers/nv50/nv50_program.c | 284 ++++++++++++++-----------------
1 files changed, 129 insertions(+), 155 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index e2adeca..c8157f1 100644
---
2006 Mar 10
0
Session management changed in EdgeRails?
Hi,
I''ve been developing an application in Rails 1.0 and finally made the
switch to Edge for has_many :through and polymorphism. I''m currently
storing the authenticated user object (User model) in the session. This
has worked well up until upgrading to EdgeRails. What I do is set @user
= session[:user] in my controllers and then access the various @user
associations such as
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 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 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
2005 Aug 25
2
Custom Application For Asterisk
Hi All
I just completed a custom application for Asterisk (i
m not a C guru so i just copy codes from other
application and alter according to my needs)
attached files is the source file
this application is working fine but still i need you
people to give suggestion to improve it
Primary task of this application is to get a parameter
from extensions.conf, query sql server and play a
files
2003 Jul 11
4
module : cdr_sybase.so
If anyone is interested ... just in case! :-)... I have tried to write ,
based on the cdr_mysql.so module, an Sybase module.
To compile you can use something like that:
export SYBPLATFORM=linux
export SYBASE=/opt/sybase
cc -I$SYBASE/include -c -o cdr_sybase.o cdr_sybase.c
cc -shared -Xlinker -x -o cdr_sybase.so cdr_sybase.o -lsybdb -lm
-L$SYBASE/lib
(anyone could write the corect Makefile
2009 Jun 21
0
[PATCH] nv50: add support for two-sided lighting
---
src/gallium/drivers/nv50/nv50_context.h | 1 +
src/gallium/drivers/nv50/nv50_program.c | 171 ++++++++++++++++++------
src/gallium/drivers/nv50/nv50_program.h | 1 +
src/gallium/drivers/nv50/nv50_state_validate.c | 3 +
4 files changed, 138 insertions(+), 38 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_context.h
2009 Mar 21
0
Action Mailer problem
Hello,
I''m trying to make my rails app send mail.
I''m using Postfix + Dovecot + SASL on Linux Debian VPS:
http://www.debianadmin.com/debian-mail-server-setup-with-postfix-dovecot-sasl-squirrel-mail.html
I''m using the following configuration in environment.rb:
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address =>
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