invalid label

AJAX invalid label error in Firebug
public function ajaxdeleteAction() {
if ($this->_request->isXmlHttpRequest()) {
//delete comment
$comment_id = $this->_getParam(‘id’);
$comment = Doctrine::getTable(‘Comment’)->find($comment_id);
//$comment->delete();

$json[‘status’] = ‘success’;
echo ‘{“status”:”success”}’;
//$this->_helper->json($json);
exit;
}
}

Error :invalid label

—————————————
Solution
put json in round bracket ()
echo ‘({“status”:”success”})’;

ruby on rails LoadError in

Action Controller: Exception caught

LoadError in RecipesController#index

127: 지정된 프로시저를 찾을 수 없습니다.   - c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so

RAILS_ROOT: D:/aptana/Guestbook

console

Rendering c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/layout.erb (not_found)
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
ontroller/templates/rescues/layout.erb (not_found)

php 의 libmysql.dll 을 /ruby/bin/  에 copy