Displaying 20 results from an estimated 3000 matches similar to: "Patch Cycle"
2006 Jan 25
11
Schemas and Migrations
Hello-
I''m new to the ruby-based schemas and migrations. As I''m looking over
examples and such online, I see that many of them don''t make use of
schema-enforced attributes. For example, instead of:
t.column "post_id", :integer, :default => 0, :null => false
They do:
t.column "post_id", :integer
So I''m wondering -- is this
2006 Apr 03
11
View source after AJAX update?
Does anyone know how to view the new source in IE after an AJAX update? When I "view -> source" I get the original page source, not the page source as updated.
Thanks in advance,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060403/e8d96b2e/attachment.html
2006 Nov 09
2
Focused Specs/Tests in Non-Textmate editors
Hello,
I wrote a script that runs a focused spec/test from the filename and line
number.
I bound this to an external tool in my Idea environment.
http://weblog.freeopinion.org/articles/2006/11/04/focused-unit-test-spec-script
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 06
3
Rails 1.1.1: Fixing a slew of minors (but you must still freeze Typo)
Rails 1.1 was a big upgrade with a lot of new features and we''ve been
working hard since its release to polish off the kinks revealed after
it was deployed to the masses. Rails 1.1.1 contains fixes for things
like Prototype memory leaks in IE 6, Oracle adapter runnings, and a
number of compatibility tweaks to make most older applications work.
This release still doesn''t work
2006 Jun 04
11
Hosting images : DB or File System
Hi,
I''m developing an application where I''ll have to store a lot of images
coming from the users. And I''m still not sure if I should store them
in MySQl as blob or just store them on filesystem.
If I store them on filesystem, how to scale when I''ll have to have
multiple servers ?
Thanks,
Pratik
--
rm -rf / 2>/dev/null - http://null.in
2006 Jan 08
3
Sceduling Tasks
I''m working on a RoR project and a requirement has popped up that would
required certain actions to happen at certain time intervals (as opposed to
having a user initiate the action). Is there anything similar to Java''s
Quartz library, *nix cron, or anything of the like for Rails? I''m certainly
willing to help with/test Ruby code if someone on the list is already
2006 Feb 12
7
ROR Recipes Beta: Why use taggings instead of tags_contacts? NoMethodError tag_with?
I have gotten acts_as_taggable to work for a test application as documented on taggable.rubyforge.org
I am following Chad''s excellent examples in ROR Recipes Beta book.
I have a few questions and hope that Chad or some other expert can help clarify them.
1. Why is the book suggesting to use taggings table instead of tags_contacts, as mentioned on taggable.rubyforge.org?
2006 Mar 29
2
Textdrive Rails 1.1 Error - Dependencies::LoadingModule
Textdrive upgraded to Rails 1.1 already.
I have an older rails app, and am now getting the following error:
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.0
/lib/active_support/depende
ncies.rb:112:in `const_missing'': uninitialized constant LoadingModule
(NameEr
ror)
from ./script/../config/environment.rb:91
from
2006 Jan 09
4
Problem with habtm and resulting SQL insert
Cheers,
I have a problem with 1.0 and a habtm relationship between User and Article.
I want to save all articles that users read. I have these models:
class User < ActiveRecord::Base
has_and_belongs_to_many :read_articles, :class_name => "Article",
:join_table => "read_articles"
...
end
class Article < ActiveRecord::Base
has_and_belongs_to_many :readers,
2005 Dec 15
2
Rails 1.0 & RJS Templates
Hello all,
I just successfully updated my dev env to Rails 1.0. I then wanted to
get .rjs templates working and followed Cody''s instructions at
http://www.codyfauser.com/articles/2005/12/02/rails-rjs-templates-plugin
. However, when I try to run ''rake test'' I get the following error:
(in
2005 Dec 18
7
Testing against 1.8.4
So apparently 1.8.4 is soon forthcoming. We need testing against it.
Could someone help out with that? I believe Ara already checked into
some of the issues, do you know if those are resolved, Ara?
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com -- Online project management
http://www.backpackit.com -- Personal information manager
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
Hello,
I deployed a Rails App using Switchtower and now I''m getting a Routing Error
to my Javascript and Stylesheet files.
Has anybody else had this issue?
Here is the log file.
> ActionController::RoutingError (Recognition failed for
> "/javascripts/prototype.js"):
> /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in
>
2006 Jun 03
2
migrations unit test and sqlite3 add_column
Hi all,
I submitted a patch the other day for an issue I ran into running an
"add_column" migration on a sqlite3 database when there is existing
data in the table, and the new column has ":null=>false".
Details at http://dev.rubyonrails.org/ticket/5215.
The issue I encountered was not picked due to the unit test not
having any actual data in it before running the
2006 Apr 05
3
Where to find non deprecated docs?
I started two weeks ago with rails and im amazed of what can be done in
a short time, i already finished the agile development with rails and
some of the tutorials at the documentation section of the
rubyonrails.com site.
But i realize that many of the tutos and examples around the web and
books are using earlier versions of rails (0.x.x) and some of that code
and coding practices are
2006 Feb 24
4
Any way to pass state to a component?
I am trying set up a rails app that utilizes components. I need to be
able to pass some state (a bunch of name value pairs) from the Main
controller to the component.
Is there any way to pass this state info using render_component?
Regards
--
Posted via http://www.ruby-forum.com/.
2006 Jan 08
8
RaislsEdge - where to get latest javascripts ?
To play with RJS I just made a "rake freeze edge". But this copies only the
libs into vendor/rails and any attempt of "rake update_javascripts" fails.
But all the he required javascripts are there, at:
BASEPATH/vendor/rails/actionpack/lib/action_view/helpers/javascripts/
Except of prototype, they seem to have no version number, so I am asking
whether I should take those
2005 Sep 19
5
switchtower beta gem?
would it be possible to get another beta gem posted for switchtower?
core rails has been getting nice regular updates to the beta gems, but
switchtower is still back at 1962.
2006 Jan 06
7
Question
All,
I am looking to write an ecommerce application and debating using
rails or struts. Any advice as to which path to follow.
2006 Feb 04
2
Dynamic Rails
Has anyone out there ever created a Rails application to create new
Rails applications (with or without a database/persistent storage)??
Basically I am thinking of a Rails application that could create and
then edit the files associated with a new Rails application and possibly
provide the ability to edit controllers, views, etc. Is there anything
out there for doing this?
-Mark
2005 Dec 22
3
getting onto edge rails
Following directions from the wiki, I first tried to use svn:externals
$ svn propedit svn:externals vendor
svn: ''.'' is not a working copy
and got that error. I then checked out the trunk into my /vendor
folder. How do I install from this source? The only install
directions I can find use gem.
Thanks for your help with either problem.
-Mike