Displaying 20 results from an estimated 60000 matches similar to: "Rails and LDap all on Windows"
2007 Sep 11
0
ldap authentication with ruby
Hi All,
I am a new to ruby on rails.. i would like to authenticate ruby site
using LDAP .. I followed the link
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap
but after mentioning require ''activeldap'' in config file and start the
webrick server it gives the following error message...
2006 Dec 13
0
activeldap setup help?
So I would like to use ActiveLDAP. I have been following along with
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap .
I installed ruby-activeldap (0.8.0) from RubyGems, which also installed
log4r -- that all appeared to work. I then installed rubyldap from its
latest tar.gz. Also appeared to work fine.
But I''m stuck here. When I add
require
2005 Nov 08
2
IE not repopulating forms under Rails views - very odd
It is common practice to implement semi-persistent state across page
views using hidden form fields since all major browsers repopulate the
form fields with the last value of each field (provided that the
browser hasn''t been closed). A longer explanation with samples is
here:
http://codinginparadise.org/weblog/2005/08/ajax-tutorial-saving-session-across.html
There''s a very
2006 Nov 21
4
Embedding Rails in a Cocoa app.
Hi,
Has anyone tried to embed rails into a Cocoa app? I have got this
working to a very primitive point using RubyCocoa. After about half an
hour of playing I was able to get WEBrick to serve the rails starter
page inside of a Cocoa app, but that is as far as I have got.
I have an idea for a client/server app where the server is a Cocoa
application that embeds WEBrick (or another server solution
2006 Dec 04
7
I need help to connect Postgres and Ruby on Rails Please.
Hello to everyone, I have a problem that is giving me a headache, and
trying to do a project in Ruby on Rails and I need to connect with a
Data Base that is en Postgres, the truth is that I didn’t think that it
was so hard to connect a DB with postgres because I was working with
Msyql and everything was easy. This are the thinks that I have install
in my computer.
1. Debian GNU/Linux, kernel
2007 Sep 10
3
Can't reach a controller :(
When I try to see a controller I get a 404 error, this is what WEBrick
says
What could it be? Thanks for the help ;)
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2007-09-10 13:30:26] INFO WEBrick 1.3.1
[2007-09-10 13:30:26] INFO ruby 1.8.6 (2007-06-07) [i486-linux]
[2007-09-10 13:30:26] INFO
2010 Aug 13
0
Rails 2 and Rails 3 in the same gemset leads to errors
Hi.
I am pretty new to ruby (and those gems) and rails.. Until now I
thought that all rails application have some kind of integrated
version management (RAILS_GEM_VERSION in Rails 2 and gem ''rails'' in
Rails 3). And therefore I thought that having Rails 2 and Rails 3 in
the same gem repository (in my case gemset under rvm) wouldn''t be a
problem. But during installing
2007 Aug 17
1
Scaffold (Agile Web Development With Rails)
What am I doing wrong here?
[app/controllers/admin_controller.rb]
class AdminController < ApplicationController
before_filter :authorize
def index
list
render :action => ''list''
end
# GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
verify :method => :post, :only => [ :destroy, :create, :update ],
2006 Jan 14
1
controller issue with rails? (osx)
hello,
I created a table in MySQL and generated a scaffold against the database
with a product named "article" and the controller named "admin", but
when i try to load up the /admin view i get the following stack trace.
I am new to rails so I am not sure about the nature of this error.
Stack trace as follows.
BR_joe
NameError in Admin#index
uninitialized constant Article
2010 Dec 08
1
NoMethodError: `bytesize' for 200:Fixnum (with Rails-3.0.3)
Thanks to Rails developer team.
I tried Rails3 along this guide:
Ruby on Rails Guides: Getting Started with Rails
http://edgeguides.rubyonrails.org/getting_started.html
and I met the problem described as following.
...Any ideas?
===========
Environment:
===========
$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin9.8.0]
$ rails -v
Rails 3.0.3
===========
Steps for reproduce:
2006 Jan 15
0
OS X Rails - Nuby
OK, I''m diving into new things - a .net programmer and windows user
trying to develop in Rails on my Mac. Initial setup was easy, and I had
things working and was thrilled with myself. Then I shut down. Next
time I booted up, mysql was acting all kinds of funny. I finally got
that working again (I *think* it mostly had to do with me not having the
right path, I unfortunately
2007 Dec 10
0
mysql error with rails 2.0.1
Hello Friends,
Sorry for my bad english.I am a rails novice. I successfully install
rails 2.0.1 and activerecord 2.0.1 in my windows Xp sevice pack 2
system. I am trying to develop simple rails application which does not
require database. 1st i type from my command prompt:
rails myapp
then I create a controler :
myapp/script>ruby generate controler hi index
after that i start the webbrick
2006 May 26
2
Rails app fails to start with LoginGenerator
Hi guys
I was following this: <a
href="http://wiki.rubyonrails.com/rails/pages/LoginGenerator">tutorial</a>
and everything was perfect until I run the script.
I''ve got:
<strong>MissingSourceFile</strong><br />
no such file to load -- user.rb <br />
RAILS_ROOT: script/../config/.. <br />
<pre><code>
2007 Mar 05
6
Using ms access 97 as local db backend for rails on windows 2000
Hi,
I am on a windows 2000 machine and want to use an ms access 97
database (*.mdb) as db backend.
I did a clean install: ruby, gems, rails, odbc-rails. A test rails
application connecting to a local mysql server is doing fine. I can
also locally connect to the odbc connection "local_odbc_name" with the
aqua data studio client.
But now with rails. As soon as I change the adapter to
2006 Jan 15
2
Please help - Rails hanging on mysql connection
Trying to get Rails and mysql running on OS X, and I''m a Nuby.
Everything ran smoothly when I first installed, but after rebooting
things were out of whack. I finally got back into mysql after
re-installing, and at first when I tried to connect with Rails/Ruby I
got a message that my client was not up to date. So after reading some
info online, I set my mysql passwords with
2008 Jan 18
15
scaffold :product missing in Rails 2.0.2 version of depot tutorial?
I am getting an error when I try to run the code for the depot
application (page 67 in the Agile Web Development on Rails book, 2nd
edition). I built the complete depot app with Rails 1.2.6, and all
worked well. I then updated to Gem 1.0.1 and RoR 2.0.2, and attempted
to repeat the tutorial, and got this strange behavior.
I used "rails depot --database=mysql" because I have not
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/
__________________________________________________
2005 Jul 29
3
More issues with Rails Book Cart tutorial.
I am presently trying to get the cart section (chapter 8.) working
and after following the instructions as carefully as I can determine
I am nonetheless getting the following errors:
URL=http://localhost:3000/store/add_to_cart/10
NameError in Store#add_to_cart
undefined local variable or method `parms'' for
#<StoreController:0x376ee60>
2011 Jun 21
2
Problem launching WEBrick in Rails
Hey everyone, i''m super new to Rails and excited to get going! I''m
following the Ruby on Rails Essentials 3 tutorial from Lynda very
closely and came across an error at the step when launching WEBrick.
MY Setup:
I am on OS X. I have installed the MySQL client and ran it from my OS
X system prefs. I double checked my gems and mysql (2.8.1) and mysql2
(0.3.6, 0.2.11) are BOTH
2006 Mar 23
4
Error with Rails 1.1RC1 and Properties page
I just tried setting up a simple Rails app, after updating to the
1.1RC1 version of Rails. Generating a simple scaffold worked fine, and
WEBrick started fine with script/server.
I then went to the http://localhost:3000 page and clicked on the
"About your application''s environment" link, and an error was
displayed:
NoMethodError in Rails/info#properties
private method