undefined method actions #807

wejrowski opened this Issue Feb 22, 2012 · 1 comment


None yet
2 participants

I'm trying to create a custom submit button with custom text. On the documentation it says do:

  = f.actions do
    = f.action :submit, :as => :button
    = f.action :cancel, :as => :link


..but I get undefined method error. I tried substituting actions for buttons and no luck.. only thing that works is f.buttons.. but I can't customize that.. or can I?


justinfrench commented Feb 22, 2012

actions is only available in Formtastic 2.1.x which is currently at 2.1.0.rc, so you'll need to bundle in that specific gem version.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment