RadiantCMS Extensions Load Order GOTCHA

Just a super short post in case anyone hits the same problem I did with setting up extensions for RadiantCMS.

If running db:migrate:extensions gives you an error, such as :
# rake production db:migrate:extensions
...
rake aborted!
undefined method `page' for #<Radiant::AdminUI:0x45b4a38>

(See full trace by running task with --trace)

The issue may be because the other extensions are loading before shards, as extensions are loaded in alphabetical order.

In my case, reorder was loading before shards, and hence the error.

Once I fixed up the load order in config/environment.rb, everything went great :
config.extensions = [ :shards, :all ]

If you found this post useful, please recommend me on WorkingWithRails.


Comments are gone until I sort them out, sorry!

Feel free to hit me up on Twitter as j_stirk.