blogit icon indicating copy to clipboard operation
blogit copied to clipboard

rails generate fails

Open mices opened this issue 8 years ago • 5 comments

I couldn't get this to work with any rails version Have you considered upgrading it

mices avatar Jan 13 '18 19:01 mices

Yes, we're working on a new major version now. This should be available in February.

What are the problems you're having just now?

Bodacious avatar Jan 15 '18 10:01 Bodacious

Here's what happens with rails 5.1 /.rvm/gems/ruby-2.3.3/gems/actionpack-5.1.4/lib/action_dispatch/routing/mapper.rb:79:in check_via': You should not use the matchmethod in your router without specifying an HTTP method. If you want to expose your action to both GET and POST, addvia: [:get, :post]option. If you want to expose your action to GET, useget` in the router: Instead of: match "controller#action" Do: get "controller#action" (ArgumentError)

mices avatar Jan 18 '18 03:01 mices

Here's what happens in Rails 4.2 /.rvm/gems/ruby-2.3.3/gems/railties-4.2.10/lib/rails/railtie/configuration.rb:95:in method_missing': undefined method load_defaults' for #Rails::Application::Configuration:0x000000034e11c0 (NoMethodError)

mices avatar Jan 18 '18 03:01 mices

@mices Sorry, but we won't be able to look into these issues for at least a week. If you're happy to wait, I'll get back to you as soon as I can

Bodacious avatar Jan 18 '18 10:01 Bodacious

any updates on this?

pallavsharma avatar Sep 22 '23 20:09 pallavsharma