menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Ruby on Rails

Discuss best practices and news of Ruby on Rails Framework.

Channels
Team
Posts
Members
Info
down-caret
·2y# General

Need help to migrate an old rails app 2.4.4 to 6.0

I'm getting this error : ActionView::Template::Error (The asset "defaults.js" is not present in the asset pipeline.) the code for this view : …

message-simple
2

What's the easiest and fastest way to deploy my rails app without worrying

I am an individual developer and looking for something like heroku to deploy my rails app as heroku is too costly! Any other providers you know that I can try?

message-simple
2

What are the implications of creating methods in model rather than in controller

Hi, I am following omniauth + devise integration. https://github.com/heartcombo/devise/wiki/OmniAuth:-Overview In the above url the guide recommends to create method in User model whereas I can do User.where and User.create in controller …

message-simple
1

Hi, need some help setting up devise for json api using devise-jwt 🙏🙏

I tried to setup JSON api using devise-jwt, the problem is it's taking wrong sql query while authentication to create session

message-simple
9

Rails App broken

Okay so my app isn't all that broken. I mean everything works except that i am having problems with my javascript which works in local development "localhost:3000" but upon hosting to heroku, it does not work any more. My headers, hamburgers and typewriting elements do not work.

message-simple
0

How to test rails lib files

hi ~ everyone I created a rails lib file. I did not see how to test the files under the lib directory in the guide …

message-simple
2

ruby self execution environment

i have this code, but i used self.define_activity call current object of methos define_activity。Something went wrong: Error Code Good Code …

message-simple
1

Why do you think Rails isn't so popular any more? Will it die?

I've been working with Rails for 6 years, of course I've used other languages too, like JavaScript, PHP and Python. But I can't help to notice that the popularity of Rails is going down month by month. See the StackOverflow trends:…

message-simple
6

cannot load such file — sqlite3/sqlite3_native (LoadError) on ruby on rails

Does anyone know how to fix this problem? I have tried this https://stackoverflow.com/questions/17643897/cannot-load-such-file-sqlite3-sqlite3-native-loaderror-on-ruby-on-rails but it didn't work either.

message-simple
0

which open source IDE do you use for rails development?

message-simple
12