Created by: hayesr
Wanted to try Administrate in a new project I'm starting with the Rails 5 beta, so I dived in to see what it would take to make it work. This is probably not ready to merge since I had to jump through some hoops and pull in Github versions of gems to get tests working.
- First error I ran into had to do with the
column_types
method. See this commit. - Next, using params in url generation is scary, and now throws an error. I like to live dangerously, and for now I just threw
.permit!
in there. This whole thing should probably be replaced by a helper method. - The initializer in the example app to disable XML parsers causes an error, but does not seem to be necessary.
Finally, I had to use master versions of Capybara and RSpec-* to get tests running. By including url_helpers in ActionView::TestCast::TestController I got tests to pass. I'm guessing this will be fixed, or there will be a more official way to do this in the future. Appraisals didn't pass, will Sass 3.4 be a concern after Rails 5?
I don't want to go much further without some feedback, but I'm happy to if it looks like I'm on the right path.