Displaying 20 results from an estimated 110 matches similar to: "Error when changing from AR 1.0.1 to 1.6"
2005 Nov 30
0
uninitialized constant Base (NameError) trying to use ActiveLdap
Hi group
I''m trying to hook up my simple app to Active Directory. I''m following
instructions posted on the website.
Mainly http://wiki.rubyonrails.com/rails/pages/HowtoAuthenticateViaLdap
and now also http://wiki.rubyonrails.com/rails/pages/ActiveLDAP.
The two instructions seem to differ a little on how to configure
(environment.rb). Both instructions break my app with an
2006 Nov 29
6
Noob needs help installing backgroundrb on Windows XP
Hey Guys,
In the readme for Backgroundrb it says that windows support has been
depcreated for this version, but then it goes on to mention how to use
it in Windows. So I''m not sure if it should be running on windows or
not, so I''ll ask anyway. Also, I''m new to ruby and I''m also new to
server administration, so I apologize if my questions are pretty
2006 Jun 16
0
Rails under apache
My app is ready to roll out to my users and I''m switching over to the
central apache server we use. I''ve got it accessing the right directory
(via Alias, not VHost), but in my error_log I see this:
[Fri Jun 16 11:44:32 2006] [error] [client 127.0.0.1]
/home/site/rails/alerts/public/../config/boot.rb:7:in `require'': No such
file to load -- pathname (LoadError)
[Fri
2005 Jul 07
3
NameError Exception
Ruby/Rails n00b here so go easy on me...
I''ve been wracking my brain trying to figure out what is wrong here.
I''ve checked all my models for the appropriate belongs_to, has_many,
etc. I''ve checked to make sure I''m using singular and plurals in the
right spot. I''ve checked my syntax around all my "within"''s and nothing
seems to fix
2006 Jul 26
1
Seek Error ?
anyone ever got this error ?
[Wed Jul 26 17:36:25 2006] [error] [client 192.168.11.100] (eval):21:in
`seek'', referer: http://rf.mathieu.mv.sha/diary.cgi/edit/1?someting=true
[Wed Jul 26 17:36:25 2006] [error] [client 192.168.11.100] : , referer:
http://rf.mathieu.mv.sha/diary.cgi/edit/1?someting=true
[Wed Jul 26 17:36:25 2006] [error] [client 192.168.11.100] Illegal seek,
referer:
2006 Mar 01
1
Circular dependency problem
Hello,
I use rails 1.0
It seems that i encounter a circular dependency problem, and i can''t
manage to solve it.
With the following models
class Customer < ActiveRecord::Base
has_and_belongs_to_many :projects
end
class Project < ActiveRecord::Base
has_and_belongs_to_many :customers
end
And a file test.rhtml containg only
<%= Customer.count %>
I get the following
2004 Dec 13
4
Dispatcher? how to use long urls with slashes to call a controller
Hello rails,
I have a controller called file with a method get that returns me a
file from the db.
want to do the following:
When calling http://localhost:8080/file/get/11/hansi.txt i want that
rails does the same as if i would call
http://localhost:8080/file/get/11
This i not the case. I get a 404.
This is useful as this makes the filename in the browser downloading
the
2006 Mar 29
0
Intermittent error - undefined method ''destroy_without_callbacks''
When testing my app locally I''m getting intermittent errors which are
driving me mad!
The error is:
NameError ((eval):1:in `alias_method'': undefined method
`destroy_without_callbacks'' for class `Exercise''):
Refreshing the browser sometimes fixes it, as does restarting WEBrick.
Annoying to debug as it only happens intermittently.
Any ideas on why this is
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb
23 sudo mv camping-unabridged.rb camping.rb
when running into problems, the abridged version of camping is rather
difficult to debug.
so I''m moving to unabridged, but I''m getting this error.
[Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]
2005 Dec 02
8
UserEngine: stack level too deep
Hi,
I''m trying to get the UserEngine running.
I have installed the LoginEngine, added the essential lines to
environment.rb / application.rb and application_helper.rb.
Worked fine.
Then I did the same with the UserEngine and when trying to set up the
db:
rake engine_migrate ENGINE=user
I get:
Migrating engine ''user_engine''
rake aborted!
stack level too deep
But...
2009 Nov 09
3
How can I improve a Ruby on Rails code that hast a lot of SQL as strings?
Hello Railists,
I have a piece of Ruby on Rails code that has a complex SQL query (well, not
that complex, but as far as I know beyond the ORM capabilities) and for my
taste it has too many strings and harcoded values. I''d like to improve it as
much as possible, so my question is open ended, what else can I do to
improve it?
Some particular issues I have
- Is there a way to get a table
2015 Feb 12
0
Problems in SAMBA 3.3 to 4.0 migration
As promised, I'm posting the smb.conf files for the two servers in question.
One minor correction I should offer is that the new SAMBA server will be
version 4.1, not 4.0.
Following is SMB.CONF for the current PDC, which is Samba 3.3.4 on Slackware
13.
I've omitted all share definitions to allow focus more on the configuration
side. Actual
server/domain names have been omitted.
2015 Feb 12
2
Problems in SAMBA 3.3 to 4.0 migration
On 12/02/15 02:43, soonerdave wrote:
> As promised, I'm posting the smb.conf files for the two servers in question.
>
> One minor correction I should offer is that the new SAMBA server will be
> version 4.1, not 4.0.
>
> Following is SMB.CONF for the current PDC, which is Samba 3.3.4 on Slackware
> 13.
> I've omitted all share definitions to allow focus more on the
2013 Nov 08
1
Rsync hanging, even with timeout and contimeout specified
Here's the details and some debugging I did for starters, but I have no
idea where to proceed from here. Help please? Command to reproduce should
be in the strace output below.
-Dan
P.S. Sorry for sending this a few times; I think only one will make it
through to the list since I wasn't subscribed initially.
$ rsync --version
rsync version 3.1.0 protocol version 31
Copyright (C)
2000 Sep 19
1
Re: more experience with formulas
>>>>> "WSt" == Werner Stahel <stahel@stat.math.ethz.ch> writes:
[to me privately]
WSt> I do not want to call this a bug, but it bugged me. Please try the
WSt> following:
WSt> tform <- sqrt(RADAI) ~ sqrt(RADAI.e) + TAGE.ej + SPITAL + ARZT + DAS28 +
WSt> SJC + TJC + DGA + HAQ + PGA + PAIN + YEAR.SYM + YEAR.DIA +
WSt> ALTER +
2006 Jun 20
0
No opening form tag in rendered HTML
I cannot get my form to submit for my simple blog site (based on the "How to Build a Blog Engine in 15 Minutes" presentation)
Any ideas?
Thanks,
Tom
----------------------------------------------------------------------------
Here is my code:
#Post controller
class PostsController < ApplicationController
def index
list
render :action => ''list''
end
2006 Jan 20
3
Dispatcher Issues
Should I be able to run this and get some meaningful output? I''m trying
to convert my app to run with Apache2/CGI and I''ve got the snippet that
the RoR book suggests. The app runs fine with WEBrick, but I''ve got to
scale it a little bit.
[root@ops cms]# ruby public/dispatch.fcgi
2005 Jan 22
6
Still having config problems
Hi,
Having completely failed to sort out my apache 500 error, I thought I
would work through the "Rolling with Ruby on Rails" tutorial at
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html
I am using webrick, not apache - and still getting 500 errors.
When I get to page 4 where
http://127.0.0.1:3000/recipe/new
should give me a data entry screen, instead I get...
2005 Dec 22
11
rforum engine
Here''s a question for those well-versed in rforum or engines -- or
both, ideally :) I''ve spent some time today turning RForum into an
engine, using rails 1.0, engines trunk, and rforum 0.1 (as rforum
trunk didn''t appear to work out of the box).
My rforum engine works, but only when I do two things that I found by
trial and error:
1) All rforum controllers subclass
2006 Jan 09
7
File_column Dynamic directory
I asked this question earlier and did recieve an answer but I am not
sure Ifully understood the answer as I am getting all sorts of
errors when trying to implement.
Basically I want to add a layer to the path for my files. I have the
following set up in my model class:
file_column :image,
:store_dir => :dynamic_dir
def dynamic_dir