Displaying 2 results from an estimated 2 matches for "path_to_rails".
2006 Sep 22
2
Editing the migration template
Hi. I''d like to edit the generated template in AR where tables are
created.
for example, this file is created when generating a new model or
migration:
class CreateModel < ActiveRecord::Migration
def self.up
create_table :models do |t|
# t.column :type,
I''d like to edit the above so it''ll generate this:
class CreateModel <
2007 Dec 04
0
Freezing Rails 1.2.6 & rubygems 0.95 Problems
...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/
activeresource'' doesn''t exist
To fix this, you need to edit the .../PATH_TO_RAILS/lib/tasks/
framework.rake file and remove activeresource from the for loop here:
for framework in %w(railties actionpack activerecord
actionmailer activesupport activeresource)
=============================================
The next problem I had appears to be a result of another bug in th...