# Rails 2.1 - turing off time stamped migrations

**URL:** <https://www.ruby-forum.com/t/rails-2-1-turing-off-time-stamped-migrations/140740>\
**Category:** Rails\
**Created:** [June 18, 2008, 5:21am UTC](https://www.ruby-forum.com/t/rails-2-1-turing-off-time-stamped-migrations/140740 "2008-06-18T05:21:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Post date:** [June 18, 2008, 5:21am UTC](https://www.ruby-forum.com/t/rails-2-1-turing-off-time-stamped-migrations/140740/1 "2008-06-18T05:21:35Z")

</div>

I have read that you could turn of time stamped migrations by adding  
the line “config.active\_record.timestamped\_migrations = false” to your  
environment.rb. After I add this line I get the following error when  
running “script/generate model Post”:

/Library/Ruby/Gems/1.8/gems/activerecord-2.1.0/lib/active\_record/  
base.rb:1667:in `method_missing': undefined method`timestamped\_migrations=’ for ActiveRecord::Base:Class (NoMethodError)

Am I mistaken about this feature?

If I’m not mistaken about this feature has anyone else run into this?  
(I’d like to confirm before taking the next step.)

Thanks.  
Mike

---

<div class="post-metadata">

**Author:** ![michaelb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Post date:** [June 18, 2008, 5:49am UTC](https://www.ruby-forum.com/t/rails-2-1-turing-off-time-stamped-migrations/140740/2 "2008-06-18T05:49:38Z")

</div>

I found it detailed in this ticket  
[http://dev.rubyonrails.org/ticket/11458](http://dev.rubyonrails.org/ticket/11458)  
and here  
[http://dev.rubyonrails.org/attachment/ticket/11458/timestamped-migrations.diff?format=txt](http://dev.rubyonrails.org/attachment/ticket/11458/timestamped-migrations.diff?format=txt)  
but I guess it didn’t make it in to 2.1.
