Displaying 20 results from an estimated 800 matches similar to: "Rails and Windows Active Directory Authentication?"
2006 Apr 06
4
GraphicsMagick or ImageMagick and RMagic on OS X
Hi all,
I''ve been trying to install GraphicsMagick with RMagic. I''ve tried
ImageMagick with RMagic as well. I''ve tried the installations using Darwin
Ports, Gems and from source. Nothing seems to work properly.
My specs:
ruby --version
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.5.0]
rails --version
Rails 1.1.0
convert -version
Version: ImageMagick 6.1.8 04/05/06 Q16
2006 Mar 06
5
Oracle XMLType data
Howdy folks,
Has anyone had any luck getting Oracle''s XMLType to play nicely with
Rails? According to the docs, it''s just a wrapper around CLOB.
However the ruby-oci8 driver throws an exception about user defined
types if you try to query a table with an XMLType column.
Any pointers would be appreciated.
Thanks,
-wilig
2006 Mar 28
2
Rails Oracle connection
I''m using the following configuration in the database.yml to connect to
Oracle,
however I could not connect while the settings seems to be correct:
development_oracle:
adapter: oci
host: 127.0.0.1:8080/XE
username: rubydb
password: rubyrails
What is wrong here?
Can anyonbe help me?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 28
2
Problem with generating a scaffold with an Oracle DB
Hi all,
I have confgured my oracle application with the Oracle Express
Production release database. This all is configured well and tested(I
can see that he founds the database). However, when I generate a
scaffold application there is no view for the CRUD functions created for
the application.
Below is listed what is generated for me for a Products table:
E:\workdir\ruby\depot>ruby
2006 Mar 28
1
Rails 1.1 RC1 Troubles
Just updated my Rails version with ''rake freeze_edge''. Now sadly,
nothing works.
The oracle connection adapter overrides the column name quoting in
ActiveRecord::Base and breaks MySQL saving anything. Got around that
commenting out the offending method.
Next issue, generate a new scaffold of a simple table. Creating a new
record fails because apparently Ruby is trying to
2006 Apr 25
12
Newb Gem Install Help!
This seems newbish, but I can''t seem to get this gem to install no
matter what I do. The gem in question is login_generator, and no matter
what folder I put the .gem file in, it can''t read locally - am I missing
something?
Remote install hangs at updating the source.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 28
2
gem install (Errno::EACCES)
I am finding it impossible to install a gem, and even more impossible to
find help.
Can anyone PLEASE help?
- - - - - - - - -
Mason-Kessingers-Computer:~/Desktop/rails/pygmalion masonkessinger$ gem
install login_generator
Attempting local installation of ''login_generator''
Local gem file not found: login_generator*.gem
Attempting remote installation of
2006 Feb 22
9
Error 500
Hi,
I''ve got a weird 500 error that I can''t fix. I''m using scgi with Apache2 on
Fedora core 2.
Status: 500 Internal Server Error
Even when I launch dispatch.cgi from the command line, I get the 500 error.
I don''t have any log entry written so I''m completely blind. I know that the
app is fine because I can run it in the console and get my records from
2006 Jan 07
10
RMagick bus error on OS X in console mode
This is a strange bug that I''ve never seen before. It only shows up
when I run the app through the console (the app is Family Connection,
and it works fine when run as a web app):
22$ ruby script/console
Loading development environment.
>> User
/opt/local/lib/ruby/vendor_ruby/1.8/powerpc-darwin8.3.0/
RMagick.bundle: [BUG] Bus Error
ruby 1.8.2 (2004-12-25)
2006 Feb 08
1
Improve error message for bad NAMESPACE file?
If a user mis-types a directive in the NAMESPACE file, the error
message is quite cryptic. If it was possible to report the offending
line/text that would likely give a valuable clue to the user.
Try putting the following line in NAMESPACE
foo("bar")
Then R CMD INSTALL says,
* Installing *source* package 'goodbye' ...
** R
** preparing package for lazy loading
Error in
2006 Mar 28
1
Help understanding behavior of apply vs sapply
Hi,
I was surprised that apply and sapply don't return the same results in
the example below. Can someone tell me what I'm missing?
> zls <- function(x) character(0)
> m <- matrix(0, nrow=2, ncol=2)
> apply(m, 1, zls)
character(0)
> sapply(m, zls)
[[1]]
character(0)
[[2]]
character(0)
[[3]]
character(0)
[[4]]
character(0)
> R.version
_
2006 Mar 28
2
atan2(1,1i)
Hi
?atan2 says that atan2(y,x)=atan(y/x) for x and y numeric or complex
vectors.
Well, I would expect atan2(1,1i) to be equal to atan(-1i), but
> atan2(1,1i)
Error in atan2(y, x) : Non-numeric argument to mathematical function
> R.version
_
platform powerpc-apple-darwin8.5.0
arch powerpc
os darwin8.5.0
system powerpc, darwin8.5.0
2006 Mar 28
2
atan2(1,1i)
Hi
?atan2 says that atan2(y,x)=atan(y/x) for x and y numeric or complex
vectors.
Well, I would expect atan2(1,1i) to be equal to atan(-1i), but
> atan2(1,1i)
Error in atan2(y, x) : Non-numeric argument to mathematical function
> R.version
_
platform powerpc-apple-darwin8.5.0
arch powerpc
os darwin8.5.0
system powerpc, darwin8.5.0
2006 May 17
3
WebServices: execution expired
1 hour spent and I can''t got explanation why I have "execution expired"
when I trying to test this web service:
Pointed to: http://localhost:3000/news/list
class NewsService < ActionWebService::Base
web_service_api NewsApi
def list
[NewsTopic.new, NewsTopic.new]
end
end
class NewsController < ApplicationController
wsdl_service_name ''news''
2006 May 17
6
Problem Consuming a Web Service
I''m trying to consume a webservice from my rails application and have
discovered an interesting problem. I can call webservice functions
just fine, as long as they do not require any arguments, but function
that do require arguments do not work. The arguments are sent as
either null or an empty string.
My API has these method definitions:
api_method :otherFunction,
2006 Mar 02
4
LDAP and Rails ???
Hi,
We want to start a new website, and we want to use our
existing authentication system which is LDAP. Can
someone tell me where I can find the information about
how to use LDAP in rails ???
Thanks you very much
Saiho
The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.
http://www.geocities.com/sayoyo/
__________________________________________________
2006 Mar 10
7
ODBC adapter connection help please.
Does anyone have any experience getting ODBC to work? I could really use
some help here.
I''m having trouble accessing a db2 database via odbc using rails. It''s an
external database, that I import data from. I have placed the connection
code in my model :
unless connected?
establish_connection(
:adapter => "odbc",
:dsn => "<dsn
2005 Mar 06
3
Accessing login name from login_generator
I''m new to Rails and am modifying the ToDo tutorial app into something
else. I have successfully installed authentication via login_generator
and now I working toward restricting access to certain database records
based on the login name. I realize that eventually, I''ll want to use
the "id" field, but for now, I just want to use the user name itself.
I have
2006 May 04
3
error in installing login generator
hi guys,
i tried to install login generator following these steps:
first i open the forlder where my application is saved than writing in
the commad prompt: gem install login_generator, then ruby
script/generate login
but it didn''t work i got this error
Recognition failed for "/account%20/login"
what should i do, or did i miss any step
thanks
--
Posted via
2006 Apr 06
6
Flexible data schema in a database?
I figured I pose this to the list and see if any one can build a
better mousetrap.
The problem:
1. Store hierarchical data in a database, but without knowing the
hierarchy beforehand.
2. Allow the user to define there own hierarchy, and allow the system
to support multiple hierarchies.
Call it a cataloging system, we have an object and we want to add data
about that object to the system.
Now