Displaying 20 results from an estimated 26 matches for "rel_1".
Did you mean:
rel_t
2006 Jan 17
15
legacy database and finder_sql nightmare!
This is my first rails app with a legacy database and I''m having a
terrible time getting the models set up correctly. I have an order
table that has a primary field named order_number. I have a name table
with a primary of item_number. These two tables are liked by the
item_number and the order_number, but not as you might think. If the
order_number is 2500, then each entry in
2006 Apr 25
4
Symlinks in Capistrano?
I have a few projects with large directories (say, user-uploaded files) that
make using Capistrano a bit awkward. However, I suspect that I may have
reached the "write a custom task" level.
(I suppose I''m just thinking out loud, here...)
It seems as though I''d want this directories symlinked in /shared... Maybe
there''s a way to extend the
2006 Aug 10
0
DHH''s Post on Ruby Talk -- Rails 1.1.6: Stronger fix, backports, and full disclosure
...hung while it happens. Other URLs
can even cause data loss.
We''ve backported a fix to all the affected versions for those of you
that can''t update. You''ll have to apply the diff for your version:
* Patch for Rails 1.1.0:
http://www.rubyonrails.org/files/aug_10_security/rel_1-1-0.diff
* Patch for Rails 1.1.1:
http://www.rubyonrails.org/files/aug_10_security/rel_1-1-1.diff
* Patch for Rails 1.1.2:
http://www.rubyonrails.org/files/aug_10_security/rel_1-1-2.diff
* Patch for Rails 1.1.4:
http://www.rubyonrails.org/files/aug_10_security/rel_1-1-4.diff
* Patch for Rails 1.1.5...
2006 Apr 10
1
Tracking 1.1.x release using svn:externals?
Now that Rails is doing regular updates to 1.1.x branch, is it possible
to track the this release using svn:externals inside my app?
Currently I have:
rails http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-1/
in my vendor directory. Can I change this to something like a wildcard
''rel_1-1-x'', ensuring that I always have the latest of the stable 1.1
branch?
Cheers!
Tom
2006 Apr 18
1
Problems freezing rails 1.0
Hi I''m trying to freeze one of my current applications to 1.0 when I
start developing a new one in 1.1.2.
I''ve tried to do it this two different ways (from app root folder)
1. rake freeze_edge REVISION=3303
2. svn export http://dev.rubyonrails.org/svn/rails/tags/rel_1-0-0 vendor/rails
In both cases I get similar errors:
svn: PROPFIND request failed on ''/svn/rails/tags/rel_1-0-0''
svn: PROPFIND of ''/svn/rails/tags/rel_1-0-0'': 400 Bad request: request
method not supported (http://dev.rubyonrails.org)
Any ideas where I''...
2006 Aug 10
4
Rails 1.1.6: Stronger fix, backports, and full disclosure
...hung while it happens. Other URLs
can even cause data loss.
We''ve backported a fix to all the affected versions for those of you
that can''t update. You''ll have to apply the diff for your version:
* Patch for Rails 1.1.0:
http://www.rubyonrails.org/files/aug_10_security/rel_1-1-0.diff
* Patch for Rails 1.1.1:
http://www.rubyonrails.org/files/aug_10_security/rel_1-1-1.diff
* Patch for Rails 1.1.2:
http://www.rubyonrails.org/files/aug_10_security/rel_1-1-2.diff
* Patch for Rails 1.1.4:
http://www.rubyonrails.org/files/aug_10_security/rel_1-1-4.diff
* Patch for Rails 1.1.5...
2007 Jan 25
1
acts_as_tree with acts_as_list
...n the web
that seem to indicate that this once worked.
class Whatever < ActiveRecord::Base
acts_as_tree :order => :position
acts_as_list :scope => :parent_id
Although the ''position'' field is being populated,
it appears to be ignoring the :scope.
This is happening in rel_1-2-1 and edge.
Is anyone currently using this configuration?
Any ideas?
As a side note, the :scope on acts_as_list doesn''t work
if it is passed as a string, but does work if using a symbol.
A ticket/patch has been posted. http://dev.rubyonrails.org/ticket/7380
However, this does not solve...
2006 Apr 09
16
Rails 1.1.2: A tiny fix for gem dependencies
The new gem version dependency system from Rails 1.1.1 needed a few
tweaks to work properly and to stop throwing meaningless warnings.
This tiny release makes up for that. To install:
* gem install rails
* rake rails:update:configs (to get the latest config/boot.rb)
This release also signals our new commitment to do more tiny releases
from the stable branch, which only gets bug fixes. So it will
2006 Apr 11
4
Two versions of Rails on one PC
I want to have Rails 1.1 + Rails 1.0 on the same PC and be able to load
my script with a different version each time. Is it possible?
--
Posted via http://www.ruby-forum.com/.
2006 May 09
1
Rails freeze, weird error
Hello --
So, I have a bunch of apps on my dev box, all currently v1.0.0. I thought I
could use the freezing techniques to test each app for 1.1.x compatibility
individually, but that doesn''t seem to be working out...
First, I checked out from
http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-2/ into vendor/rails
Then I ran "rake rails:update".
Then I went into console, and tried to check the current version of Rails:
$ rake rails:update
$ ruby script/console
Loading development environment.
/usr/lib/ruby/1.8/test/unit/assertions.rb:265: warning: already
initialized const...
2006 Feb 27
16
Rails 1.1
It was said at one time that Rails 1.1 might be released in February. Is
that still likely?
Thanks,
Don Mc
--
Posted via http://www.ruby-forum.com/.
2007 Apr 09
1
Problem on Dreamhost: engine for rails 1.1.6
...ed down to the problem area.
I can reproduce the problem with these steps:
1. install rails
2. change public/.htaccess for fcgi
3. change public/dispatch.fcgi for RailsFCGIHandler
At this step, I can execute public/dispatch.fcgi without error.
4. svn co http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-6 vendor/
rails
Now...
$public/dispatch.fcgi
I get
-----
Status: 500 Internal Server Error
Content-Type: text/html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="ht...
2007 Dec 04
0
Freezing Rails 1.2.6 & rubygems 0.95 Problems
Freezing to 1.2.6 appears to be broken right now for two reasons. My
environment is using rails 1.2.6 and rubygems 0.9.5 Attempting to
freeze to 1.2.6 with this will result in this output & error:
% rake rails:freeze:edge TAG=rel_1-2-6
...
** Invoke rails:freeze:edge (first_time)
** Execute rails:freeze:edge
A vendor/rails/railties
. . .
A vendor/rails/activesupport/MIT-LICENSE
A vendor/rails/activesupport/README
Exported revision 8214.
svn: URL ''http://dev.rubyonrails.org/svn/rails/tags/rel_1-2-6/
acti...
2006 Mar 31
1
rails + svn automation script
Anyone got a script to share that:
1. Creates a trunk directory
2. Creates a trunk/vendor directory
3. Adds the above to svn
4. Modifies trunk/vendor to use a certain rails revision (i.e. trunk or 1.1)
5. Runs trunk/vendor/rails/.../bin/rails to generate a rails directory skeleton
6. Modifies the svn:ignore for the logs and config/database.yml
7. Moves config/database.yml to
2006 Mar 29
7
Dreamhost upgraded 1.1 - app doesn''t work
Does anyone know how long it will be until Dreamhost get''s the Rails 1.1
install running correctly?
My site has been down since last night at about 7:00 pm (I think).
It''s annoying, and are a lot of others having this problem too?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 May 19
6
Capistrano: update instead of checkout?
Hello,
Just started to use Capistrano for deployment and everything works beautifully
and as advertised. Thanks Jamis for this great piece of software.
However, in my case, the deploy task takes quite some time since my SVN
repository resides on a different continent than my app/db server and I''ve
frozen all the rails code in the vendor dir and checked in. All in all my app
sums up to
2006 May 22
3
rails naming convention for model: community
Hello,
How does Rails deal with the pluralization of community. I have "community"
as my model name. Will Rails automatically look for a table name
"communities" or do I have to name the table "communitys"?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 10
0
Problem with freezing rails to vendor/rails
my vendor dirrectory. But for some reason my app is still using the
locally installed gem versions of Rails on TXD. Running svn propget
svn:externals vendor returns:
rails http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-1/
Here is the error I''ve been getting (app started using the TXD rails.sh
script):
NoMethodError (undefined method `const_load!'' for Controllers:Module):
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:71:in
`prepare_application''
/usr/local...
2006 Aug 17
3
Developing in different versions of rails at the same time?
Hi,
I was wondering if some of you have had to keep more than one version of
Rails on your machine at a time? If you have more than one customer,
they may have different requirements. You might need to work on a
pre-existing app that is not scheduled to be moved to a newer version of
Rails right now. How is the best way to deal with this?
thanks,
jp
--
Posted via
2006 Apr 03
4
How to create new rails 1.1 app if only rails 1.0 installed?
I have rails 1.0 and I cannot install rails-1.1 system-wide.
However, I can freeze_edge (but just once because of svn 1.1.4 on
Debian).
Under this scenario, how can I create brand new rails-1.1 apps?
I know how to freeze_edge *existing* rails-1.0 apps but that process
seems to be imperfect because the script/about command and
/rails/info/properties URL do not work after freezing to 1.1.0