My client decided this was not needed for their project and so I'm
releasing it to the public. You can download it from the Radiant
repository:
http://dev.radiantcms.org/svn/radiant/trunk/extensions/related_content
You may find more details in the README.
Enjoy!
Cheers,
Sean
I have just tried to install this extension on edge, I have the shards
extension loading first, but I'm getting the following error when
running the migration:
** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `publish_associations' for class `Page'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
vendor/rails/activerecord/lib/../../activesupport/lib/active_support/
core_ext/module/aliasing.rb:28:in `alias_method'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
vendor/rails/activerecord/lib/../../activesupport/lib/active_support/
core_ext/module/aliasing.rb:28:in `alias_method_chain'
/var/www/www.***.org.uk/branches/release_2.0/vendor/extensions/
related_content/lib/related_content/page_extensions.rb:16:in `included'
/var/www/www.***.org.uk/branches/release_2.0/vendor/extensions/
related_content/lib/related_content/page_extensions.rb:3:in `class_eval'
/var/www/www.***.org.uk/branches/release_2.0/vendor/extensions/
related_content/lib/related_content/page_extensions.rb:3:in `included'
/var/www/www.***.org.uk/branches/release_2.0/vendor/extensions/
related_content/related_content_extension.rb:12:in `include'
/var/www/www.***.org.uk/branches/release_2.0/vendor/extensions/
related_content/related_content_extension.rb:12:in `send'
/var/www/www.***.org.uk/branches/release_2.0/vendor/extensions/
related_content/related_content_extension.rb:12:in `activate'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/radiant/extension.rb:39:in `activate'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/radiant/extension_loader.rb:118:in `activate'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/radiant/extension_loader.rb:106:in `activate_extensions'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/radiant/extension_loader.rb:97:in `select'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/radiant/extension_loader.rb:97:in `activate_extensions'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/radiant/extension_loader.rb:42:in `run'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/radiant/initializer.rb:45:in `initialize_extensions'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/radiant/initializer.rb:38:in `after_initialize'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
vendor/rails/railties/lib/initializer.rb:118:in `process'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
vendor/rails/railties/lib/initializer.rb:47:in `send'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
vendor/rails/railties/lib/initializer.rb:47:in `run'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/radiant/initializer.rb:34:in `run'
/var/www/www.***.org.uk/branches/release_2.0/config/../config/
environment.rb:15
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
vendor/rails/railties/lib/tasks/misc.rake:3
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'
/var/www/www.***.org.uk/branches/release_2.0/config/../vendor/radiant/
lib/tasks/environments.rake:10
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/bin/rake:16:in `load'
/usr/bin/rake:16
It looks very interesting - is there something I am doing wrong?
Cheers,
Dominic
Sean