Displaying 7 results from an estimated 7 matches for "sikk".
Did you mean:
sick
2005 Dec 27
4
acts_as_versioned
...def do_revert
page = Page.find(params[:id])
page.revert_to!(params[:version])
flash[:notice] = page.title
redirect_to :action => 'edit', :id => params[:id]
end
When I look at the data in the object, nothing seems to have changed.
Thanks in advance,
--
Michiel Sikkes
michiel.sikkes@gmail.com
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 29
2
form_remote, getting data from submit
......
How can I access the array/object 'resultset' in my submit action in
the survey controller? I've tried using @resultset in the 'submit'
view or params[:resultset] in the 'submit' action, both seem to be
nil.
Hope someone can help me.
Thanks in advance!
--
Michiel Sikkes
michiel.sikkes@gmail.com
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Jan 22
6
*Very* basic layout question
I''m trying to use a different layout for just one action in my
controller, all the other actions use the application.rhtml layout, so
what i''m doing is ...
class SomeController < ApplicationController
layout "simple", :only=> :some_action
......
end
and the "simple" layout is applied to all the actions, can someone
please give me a hint?
2011 Oct 08
2
Connecting points over missing observations in Lattice
...e, type="b")
y2 has missing data for some of the observations and some points are
therefore not connected. It would make theoretical sense to connect the
points - is there a way of doing that? (Without filling the obserations
using package 'zoo').
Thanks,
Allan
--
DrAllan Sikk
Lecturer in Baltic Politics
University College London, School of Slavonic and East European Studies
16 Taviton St, London WC1H 0BW, United Kingdom
tel: +44 (0)20 7679 4872
http://www.homepages.ucl.ac.uk/~tjmsasi/
[[alternative HTML version deleted]]
2006 Jan 11
1
Keep ketting weird error, NoMethodError in Admin#create_survey Keep getting ''undefined method `assign_variables_from_controller'' for #<Survey:0xb7462244>''
...method `assign_variables_from_controller'' for #<Survey:0xb7462244>
contents of Admin#create_survey is:
@template = Survey.find(params[''survey''][''id''])
render :layout => false
I have no idea where this comes from, bug in Rails?
--
Michiel Sikkes
michiel.sikkes@gmail.com
2006 Jan 12
0
Apache proxy + lighttpd + rails
...n wich renders in a 404, because
apache of course doesn''t know of the www.domain.com/admin url
Is there an easy way to do this correctly trough apache2? Or should I
set some var in my Rails app to append /railsapp/ to every
link/uri/stylesheet_link etc.
Many thanks in advance,
--
Michiel Sikkes
michiel.sikkes@gmail.com
2013 Jan 22
2
Rails 4: Should a HEAD request not be handled like a GET for CSRF protection?
I am running a Rails 4 app in semi-production and I constantly get
exceptions from crawler bots that use a HEAD HTTP method, which causes the
CSRF protection to kick in.
Shouldn''t HEAD requests normally be handled like GET requests?
I am not sure if I''m just being stupid or that hit is a bug somewhere.
Michiel
--
You received this message because you are subscribed to the