From e0a7e0fec760ba12c8067a37e10c96f1f05876e2 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Wed, 24 Jun 2026 04:13:16 +0200 Subject: Stage 1 complete: Rails 2.3.5 to Rails 3.2.22.5 upgrade - Converted plugins to gems (Gemfile) - Updated config structure (application.rb, boot.rb, environment.rb) - Converted routes to Rails 3 DSL - Converted named_scope to scope throughout models - Converted find(:all, :conditions) to where() chains - Fixed has_many :order to use ordering scope - Updated session store and secret token configuration - Fixed exception_notification middleware configuration - Patched Ruby 2.4 / Rails 3.2 incompatibilities: - Integer/Float duration arithmetic (ActiveSupport) - Arel visit_Integer for PostgreSQL adapter - create_database String/Integer coercion - ActionController consider_all_requests_local - Migrated taggings schema for acts-as-taggable-on - Replaced dynamic_form gem with custom form_error_messages helper - Fixed Rails 3 block helper syntax (form_for, form_tag, fields_for) - Fixed admin layout yield - Updated test suite for Rails 3 APIs --- test/fixtures/nodes.yml | 3 +-- test/fixtures/users.yml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'test/fixtures') diff --git a/test/fixtures/nodes.yml b/test/fixtures/nodes.yml index a0e185b..9ca325e 100644 --- a/test/fixtures/nodes.yml +++ b/test/fixtures/nodes.yml @@ -41,6 +41,5 @@ fourth_child: lft: 8 rgt: 9 parent_id: 1 - draft_id: 103 slug: fourth_child - unique_name: fourth_child \ No newline at end of file + unique_name: fourth_child diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml index a62b350..7276bcb 100644 --- a/test/fixtures/users.yml +++ b/test/fixtures/users.yml @@ -4,7 +4,7 @@ quentin: email: quentin@example.com salt: cf993996a70d31f924aff17a5f997722cb6ec2dd crypted_password: 11c672158b0eb6e8c91c438b3eb844902308b138 # 'monkey' - created_at: <%= 5.days.ago.to_s :db %> + created_at: 2024-01-01 00:00:00 aaron: id: 2 @@ -12,6 +12,6 @@ aaron: email: aaron@example.com salt: 5be6f9cdd04fd7ab3c91cd32a5334ba2339b8005 crypted_password: 740a48caf7dd5ff11318d812d57c0a0928cfbc12 # 'monkey' - created_at: <%= 1.days.ago.to_s :db %> + created_at: 2024-01-02 00:00:00 admin: true -- cgit v1.3