Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
8000 Convert active_admin_form_for to Arbre component - resolves #2542 by varyonic · Pull Request #3486 · activeadmin/activeadmin · GitHub
Nothing Special   »   [go: up one dir, main page]

Skip to content

Conversation

varyonic
Copy link
Contributor

Resolves #2542. Uses FormBuilderProxy as suggested by Igor in #2689, removing and replacing form_buffers from ActiveAdmin::FormBuilder. As a bonus allows 'inputs', etc. instead of 'f.inputs' in DSL. Allowing Arbre within has_many block deferred as a second step. May break existing code that mixes ERB inside active_admin_form_for in a template. Can also break other code that makes assumptions about the context of the block, see fix to active_admin_comments.rb included.

@timoschilling
Copy link
Member

Can you add some examples into the readme and/or the docs

@zorab47
Copy link
Contributor
zorab47 commented Oct 17, 2014

Wow, awesome work. 😸

@varyonic varyonic closed this Oct 19, 2014
@varyonic varyonic deleted the 2542-arbe-buffering-inside-aa-forms branch October 19, 2014 21:51
@varyonic varyonic restored the 2542-arbe-buffering-inside-aa-forms branch October 19, 2014 22:10
@varyonic varyonic reopened this Oct 19, 2014
@varyonic varyonic force-pushed the 2542-arbe-buffering-inside-aa-forms branch from 3a1e1bd to 259f2cd Compare October 19, 2014 22:38
@timoschilling
Copy link
Member

Is the old way still supported?

@timoschilling
Copy link
Member

An the fist look it's great! 👍

Please apply my notes and make repush, to get more overview

@varyonic varyonic force-pushed the 2542-arbe-buffering-inside-aa-forms branch from 259f2cd to 774c5f0 Compare October 21, 2014 00:52
@timoschilling
Copy link
Member

I'm not sure, but c10a6c4 can bring problems to the developer.
@seanlinsley what is your opinion to c10a6c4?

@timoschilling
Copy link
Member

I think many users use f.form_buffers in there code. @varyonic and @seanlinsley how should we deal with that?

def form_buffers
  raise "`form_buffers` has removed from ActiveAdmin:: FormBuilder, please read https://github.com/activeadmin/activeadmin/blob/master/docs/5-forms.md for details."
end

@Fivell
Copy link
Member
Fivell commented Oct 23, 2014

Agree about f.form_buffers , we have too many projects using AA from edge, this change is critical for us ...

@varyonic
Copy link
Contributor Author

@timoschilling I added a backwardly compatible form_buffers method with a deprecation warning.

@seanlinsley
Copy link
Contributor

I'd rather just raise an error. The next release is going to be 1.0.0, and we'll be following semantic versioning. I really don't want that cruft in the code base until 2.0.0

@timoschilling
Copy link
Member

@varyonic nice work, but I have the same meaning as @seanlinsley

@varyonic varyonic force-pushed the 2542-arbe-buffering-inside-aa-forms branch from 474cfbd to 1a8fcf0 Compare October 25, 2014 00:34
@varyonic
Copy link
Contributor Author
8000

Moved backwardly compatible version of form_buffers to https://gist.github.com/varyonic/542c37648de91a02402a If anyone decides to use it please star and comment on the gist.

@varyonic varyonic force-pushed the 2542-arbe-buffering-inside-aa-forms branch from 1a8fcf0 to d7e8d73 Compare October 25, 2014 01:05
@varyonic varyonic force-pushed the 2542-arbe-buffering-inside-aa-forms branch from d7e8d73 to c024ce3 Compare October 25, 2014 01:17
@varyonic varyonic force-pushed the 2542-arbe-buffering-inside-aa-forms branch from c024ce3 to 3570bfa Compare October 25, 2014 01:27
@timoschilling
Copy link
Member

@varyonic thanks for your great work on this!!! 👍 ❤️

timoschilling added a commit that referenced this pull request Oct 25, 2014
…forms

Convert active_admin_form_for to Arbre component - resolves #2542
@timoschilling timoschilling merged commit d775bb9 into activeadmin:master Oct 25, 2014
@varyonic varyonic deleted the 2542-arbe-buffering-inside-aa-forms branch October 27, 2014 13:40
brianswko pushed a commit to lumoslabs/ActiveAdmin-Globalize3-inputs that referenced this pull request Jun 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arbre doesn't buffer inside AA forms

5 participants

0