Displaying 7 results from an estimated 7 matches for "protect_against_forgeri".
Did you mean:
protect_against_forgery
2010 Sep 23
1
undefined method `protect_against_forgery?' for #<ActionView
Hi guys
This is a pretty tricky one.
I get a "undefined method `protect_against_forgery?'' for
#<ActionView::Base:0x569a3d4>" error when trying to generate a partial
from ''outside'' the web site. I do this as I have a rake task that checks
for changes periodically in the background, and if it then sees a change
it rebuilds the partial and posts the result
2009 Sep 10
1
undefined method `protect_against_forgery?'
When I use plugin ''railstree'' (http://www.hashcode.eti.br/?p=91) as
following code:
node = Node.new :label => menu_item.name,
:link_to_remote => {
:base => self,
:update =>
"container",
:url => {
2007 Oct 02
0
Rails 2.0 & rspec edge - not protected_against_forgery?
The new forgery protection is throwing of rspec:
NoMethodError in ''ApplicationHelper login-logout when logged in
should show the name of the current user''
undefined method `protect_against_forgery?'' for #<#<Class:0x3219118>:
0x34e1f94>
/Users/jcf/dev/work/sim/vendor/plugins/rspec_on_rails/lib/spec/rails/
dsl/behaviour/rails_example.rb:41:in
2010 Sep 21
0
Upload form with uploadify jquery plugin
I would like to integrate the uploadify plugin with a standard rails
form. However I can''t figure out how to add a new field and have it get
submitted with the file upload. I added a name field into the form, but
the valued does not get submitted.
<%
dialog_file_description = ''Photos''
allowed_extensions = [:jpg, :jpeg, :gif, :png]
max_size = 20.megabyte
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here:
http://wiki.developers.facebook.com/index.php/Facebook_Styles
I included testing and comments. I hope you find it useful.
Curiously, it''s really a small extension of FBML.
Richard
-------------- next part --------------
Index: test/rails_integration_test.rb
2008 Jun 30
1
Help with form_for
Hello, I had an app running on RoR 1.1, now I''m migrating it to 2.1.
In a view I have:
<div id="user_management">
<fieldset>
<legend>Please log in</legend>
<% form_for(:user, :url => sessions_path) do |f| %>
<p>Username: <span class="notice"><%= flash[:notice]%></
span></p>
2008 Dec 06
9
jQuery Rails Functions
Hi,
I was wondering if anybody who used jQuery with rails could help me
out. I have a droppable that fires a simple function, shown below:
$("#list").droppable({
accept: ".item",
hoverClass: ''droppable-hover'',
drop: function(ev, ui) {
$(this).append("<br>Dropped!");
}
});
But how could I get this to fire a Rails funciton in the