what is it?
browser support
$.support.pjax
boolean.$('a').pjax()
calls will do nothing (aka links work normally) and $.pjax({url:url})
calls will redirect to the given URL.$.support.pjax
boolean.$('a').pjax()
calls will do nothing (aka links work normally) and $.pjax({url:url})
calls will redirect to the given URL.Hi everyone,
Rails 3.0.10.rc1 has been released. As usual, please try out this release candidate and report any issues to the ruby on rails core mailing list. If no issues are found, we'll release 3.0.10 on August 8th (around 5pm PDT).
If you do find issues, please send them to the rails core mailing list. If the release candidate is found to not be backwards compatible with the previous release, we'll do another release candidate and postpone the final release date.
Remember that this is your chance to veto / postpone the rails release. Please take this opportunity to test!
You can find an exhaustive list of changes on github. Here are some notable excerpts:
From ActionPack:
Fixes an issue where cache sweepers with only after filters would have no controller object, it would raise undefined method controller_name
for nil
[jeroenj]
Ensure status codes are logged when exceptions are raised.
Subclasses of OutputBuffer are respected.
Fixed ActionView::FormOptionsHelper#select
with :multiple => false
Avoid extra call to Cache#read
in case of a fragment cache hit
From ActiveRecord:
Magic encoding comment added to schema.rb files
schema.rb is written as UTF-8 by default.
Ensuring an established connection when running rake db:schema:dump
Association conditions will not clobber join conditions.
Destroying a record will destroy the HABTM record before destroying itself. GH #402.
Make ActiveRecord::Batches#find_each
to not return self
.
Update table_exists?
in PG to to always use currentsearch_path
or schema if explictly set.
$ gem install firephruby
app/controllers/application.rb
In a Rails controller action do: