Radiant 0.6.9 - Etch Release (Bugfixes)
Radiant 0.6.9 “Etch” fixes bugs present in the 0.6.8 release, namely:
- The
inheritattribute on<r:unless_content>now correctly defaults to false. - Strange stack overflow and class-loading errors no longer occur in development mode.
- The
radiant:freeze:edgetask will now correctly freeze without the TAG, BRANCH, or REVISION options. config/environment.rbwill be correctly updated when running theradiant:update:configstask.- You will no longer receive random “authenticity token” errors when using the cookie session store (the default).
script/extensionwill have the executable bit set on Unix-like filesystems.
It also adds one feature:
<r:random>will now accept dynamically generated options.
For example, this snippet will generate a randomly selected link to a child page:
<r:random:children:each:option:link />Many thanks to Jim Gay (who also suggested the release name), Andrew Vonderluft and Mark Yoon who helped diagnose bugs and apply fixes to this release.
Installation
To install use the gem command (with ‘sudo’ as necessary):
$ gem install radiant
Upgrading an existing project/site
1. Change the RADIANT_GEM_VERSION constant in config/environment.rb to “0.6.9” or remove it altogether.
2. Update the Radiant assets in your project:
rake radiant:update
3. Copy your customizations back into config/environment.rb, if necessary.
4. Migrate the database:
rake production db:migrate
5. Restart the server
Creating a new project/site
1. Invoke the radiant command with your desired database driver:
$ radiant -d sqlite3 my_project
2. Bootstrap the database:
$ cd my_project
$ rake db:bootstrap
3. Startup the server and try it out!
$ script/server
