<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cccms/app/models/asset.rb, branch erdgeist-revive-events</title>
<subtitle>[no description]</subtitle>
<id>https://erdgeist.org/gitweb/cccms/atom?h=erdgeist-revive-events</id>
<link rel='self' href='https://erdgeist.org/gitweb/cccms/atom?h=erdgeist-revive-events'/>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/'/>
<updated>2026-06-25T23:59:57Z</updated>
<entry>
<title>Stage 4: Rails 5.2 -&gt; 6.1 on Ruby 2.7.2</title>
<updated>2026-06-25T23:59:57Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-06-25T23:59:57Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=c06723ee715512c2033c7786c48f15674585b56b'/>
<id>urn:sha1:c06723ee715512c2033c7786c48f15674585b56b</id>
<content type='text'>
- routing-filter 0.6.3 -&gt; 0.7.0 (Rails 6.1 compatibility)
- RSS named routes rss_xml/rss_rdf added
- RouteWithParams workarounds: will_paginate_patch, content_path shim, safe_path helper
- Paperclip removed, replaced with FileAttachment concern (preserves URL scheme)
- Assets resource moved to /admin/assets (Sprockets middleware conflict)
- ApplicationRecord base class added, all models migrated
- Strong parameters added to Assets, Occurrences, Events, MenuItems controllers
- update_attributes -&gt; update throughout
- render :nothing -&gt; head :ok/:not_found throughout
- language_selector rewritten (removes :overwrite_params)
- Environment files updated for Rails 6.1 (eager_load, public_file_server, ActionMailer)
- Arel::Visitors::DepthFirst and Integer/Float duration patches removed from test_helper
- AssetsController tests added (10 tests covering upload, variants, destroy, auth)
- ImageMagick geometry: 460x250! for headline crop (not # which is invalid in IM6)

129 runs, 311 assertions, 5 failures (all pre-existing), 0 errors
</content>
</entry>
<entry>
<title>Rails 4.2 model and controller fixes</title>
<updated>2026-06-25T02:34:55Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-06-25T02:34:55Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=f7a5944a1f44ede9881d368a36eb9f7d82d6ab69'/>
<id>urn:sha1:f7a5944a1f44ede9881d368a36eb9f7d82d6ab69</id>
<content type='text'>
- Wrap all scopes in lambdas (required in Rails 4)
- Move scopes after associations in page.rb (evaluated at load time in Rails 4)
- Convert association :order options to lambda syntax
- Remove attr_accessible from page.rb and user.rb
- Add Strong Parameters: user_params in UsersController, node_params/page_params in NodesController
- Fix clone_attributes_from: exclude id/page_id/timestamps when cloning translations
- Fix redirect_to :back → request.referer fallback in nodes_controller
- Fix node_path/publish and unlock actions: pass @node argument
</content>
</entry>
<entry>
<title>Fix tagged content aggregator, assets path, and add regression tests</title>
<updated>2026-06-24T14:17:16Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-06-24T14:17:16Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=75670df5b8a5700c48ac8cb41f8d1732b5738402'/>
<id>urn:sha1:75670df5b8a5700c48ac8cb41f8d1732b5738402</id>
<content type='text'>
- Replace tagged_with calls in Page.aggregate, TagsController, RssController
  with direct SQL joins (acts-as-taggable-on 3.5 broken on Rails 3.2)
- Fix Paperclip :path/:url to use plain :id format matching existing uploads
- Add proper regression tests for aggregator, tags, and rss controllers
- Fix assert_select assertions to target div.body div.article_partial
</content>
</entry>
<entry>
<title>Stage 1 complete: Rails 2.3.5 to Rails 3.2.22.5 upgrade</title>
<updated>2026-06-24T02:13:16Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-06-24T02:13:16Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=e0a7e0fec760ba12c8067a37e10c96f1f05876e2'/>
<id>urn:sha1:e0a7e0fec760ba12c8067a37e10c96f1f05876e2</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>added :dependent =&gt; :destroy to asset model so related assets get deleted as the asset they're referencing is deleted.</title>
<updated>2009-09-13T10:58:14Z</updated>
<author>
<name>hukl</name>
<email>contact@smyck.org</email>
</author>
<published>2009-09-13T10:58:14Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=34b4e764ab8b00fa24c9ffead40494acd4c9da6b'/>
<id>urn:sha1:34b4e764ab8b00fa24c9ffead40494acd4c9da6b</id>
<content type='text'>
Closes #25</content>
</entry>
<entry>
<title>Moved galery template and changed width of headline image thumbnail preset</title>
<updated>2009-09-12T11:09:10Z</updated>
<author>
<name>hukl</name>
<email>contact@smyck.org</email>
</author>
<published>2009-09-12T11:09:10Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=fe551453149f302eabd3e484d7ef69413c596656'/>
<id>urn:sha1:fe551453149f302eabd3e484d7ef69413c596656</id>
<content type='text'>
</content>
</entry>
<entry>
<title>added related_assets to pages</title>
<updated>2009-09-01T08:40:57Z</updated>
<author>
<name>hukl</name>
<email>contact@smyck.org</email>
</author>
<published>2009-09-01T08:40:57Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=c95126d6b6abd6302a07fbb17cd9ad0181e048c7'/>
<id>urn:sha1:c95126d6b6abd6302a07fbb17cd9ad0181e048c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>added cropped headline thumbnail</title>
<updated>2009-08-31T12:17:41Z</updated>
<author>
<name>hukl</name>
<email>contact@smyck.org</email>
</author>
<published>2009-08-31T12:17:41Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=e15b4259620a08b89ac390e7628c7e3081388526'/>
<id>urn:sha1:e15b4259620a08b89ac390e7628c7e3081388526</id>
<content type='text'>
</content>
</entry>
<entry>
<title>named scopes for media types</title>
<updated>2009-04-27T09:19:20Z</updated>
<author>
<name>hukl</name>
<email>contact@smyck.org</email>
</author>
<published>2009-04-27T09:19:20Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=7563dd7ef8b9bc6ba61e90976c5b5a1714230fb2'/>
<id>urn:sha1:7563dd7ef8b9bc6ba61e90976c5b5a1714230fb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Integrated basic Asset upload functionality. You can upload files now and use their url in pages.</title>
<updated>2009-04-25T12:55:27Z</updated>
<author>
<name>hukl</name>
<email>contact@smyck.org</email>
</author>
<published>2009-04-24T09:43:08Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=cf1b60e0cfa7d1a8f4a80d686649cc12e73a634e'/>
<id>urn:sha1:cf1b60e0cfa7d1a8f4a80d686649cc12e73a634e</id>
<content type='text'>
</content>
</entry>
</feed>
