"Shards" extension questions

I have seen quite a bit of traffic related to the “shards” extension
lately
and was wondering what it does? From what I can gather it allows easier
extension of the administration pages. Is that correct?

I wanted to know more about it so I tried to install it, however I now
get
the following error when trying to hit the /admin pages:
NoMethodError in Admin/page#index

Showing vendor/extensions/shards/app/views/admin/page/index.rhtml
where
line #3 raised:

undefined method `render_region’ for #<#Class:0xb660c7bc:0xb660c794>

Extracted source (around line #3):

1: <% include_javascript ‘sitemap’ -%>
2:

Pages


3: <%= render_region :top %>
4:
5:
6:

Does anyone have any clues on this? There were no INSTALL directions
that I
could find so I ran the standard “rake db:extension” just for fun.
Also,
being a complete newbie, I wanted to run the tests and create the
documentation but couldn’t figure out how to it properly. I ran "rake
test
and it executed the tests for all of my extensions (even my home grown
development ones). Obviously there were lots of errors (and that’s OK)
however I couldn’t pick out the shards tests very easily. Is there a
way to
run just one test suite? And how do you create the docs for extensions?

Thanx!
Richard

Had the same problem, found a snippet of info in a different extensions
that depended on shards -

In your environment.rb file, located in /config, update the
config.extensions such that shards loads first, was around line 33 for
me:
config.extensions = [ :shards, :all ]

Richard H. wrote:

I have seen quite a bit of traffic related to the “shards” extension
lately
and was wondering what it does? From what I can gather it allows easier
extension of the administration pages. Is that correct?

I wanted to know more about it so I tried to install it, however I now
get
the following error when trying to hit the /admin pages:
NoMethodError in Admin/page#index

Showing vendor/extensions/shards/app/views/admin/page/index.rhtml
where
line #3 raised:

undefined method `render_region’ for #<#Class:0xb660c7bc:0xb660c794>

Extracted source (around line #3):

1: <% include_javascript ‘sitemap’ -%>
2:

Pages


3: <%= render_region :top %>
4:
5:
6:

Does anyone have any clues on this? There were no INSTALL directions
that I
could find so I ran the standard “rake db:extension” just for fun.
Also,
being a complete newbie, I wanted to run the tests and create the
documentation but couldn’t figure out how to it properly. I ran "rake
test
and it executed the tests for all of my extensions (even my home grown
development ones). Obviously there were lots of errors (and that’s OK)
however I couldn’t pick out the shards tests very easily. Is there a
way to
run just one test suite? And how do you create the docs for extensions?

Thanx!
Richard