earlier version of Rails and is no longer required.
A recent change in Rails (3.0.4 I think) added code to reset the session if the CSRF request forgery check failed. This was happening on the OpenID callback, so the pending comment was being lost, with the result of a blank comment trying to be saved. This commit disables CSRF check only for OpenID callbacks, I don't think it makes sense in this context. Fixes #37.
…s OpenID identities.
… and post show.
…eption for XHR in 3.0.4. Fixes #27.
At least one ujs driver needs to be loaded if enki is to be used with Rails 3. Since Prototype is not included in any layout I'm adding Jquery that is used everywhere in Enki. Without this driver things like the Logout button in Admin panel did not work. It was pointing to GET admin_session_url instead of DELETE admin_session_url. The driver required jquery update.
… admin layout. Closes #7.
…updated or destroyed. Includes accompanying specs.
provided, so update the code accordingly. Thanks mirlord. Closes #17.
I'm settings my posts date to future as a replacement for the missing "draft" feature. If you do so the post will not be displayed in posts index or posts index by tag, but the tag will be visible in the navigation bar. Clicking a new for which the article isn't published yet causes an exception. This commits makes it display "There are no posts yet". The real fix to this problem would be filtering out tags with only unpublished posts, but this would either require a lot more coding or would slow down tag list terribly.
write an integration test instead.