Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rails generate fails #95

Open
mices opened this issue Jan 13, 2018 · 5 comments
Open

rails generate fails #95

mices opened this issue Jan 13, 2018 · 5 comments

Comments

@mices
Copy link

mices commented Jan 13, 2018

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

@Bodacious
Copy link
Owner

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?

@mices mices changed the title This doesn't work rails generate fails Jan 18, 2018
@mices
Copy link
Author

mices commented Jan 18, 2018

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
Copy link
Author

mices commented Jan 18, 2018

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)

@Bodacious
Copy link
Owner

@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

@pallavsharma
Copy link

any updates on this?

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

No branches or pull requests

3 participants