Accounts middleware and integration tests?
Hi folks — I'm a big fan of the Accounts Middleware pattern introduced about a year ago in this tutorial: https://gorails.com/episodes/rails-active-support-current-attributes Super powerful....Dan Charlesworth posted
Redirect show to edit mode always
Hi, I want to work always in edit mode and not in show mode. So when i go to show a object, I want to be in edit mode. How I can make this possibile? First I think that I can put a redirect in sho...AlessioVaralta posted
How would you implement an authorization system in Rails?
Let's say you have users-or-members in your application and each user has his/her own contacts. How would you implement the functionality to allow user1 to add/modify contacts for user2, but not de...Demetris Constantinou posted
Action text rails 6
Hi Chris, i cannot upload the images from rich text drag and drop to s3 from dev. my development .rb `config.active_storage.service = :amazon` my storage.yml ``` local: service: Dis...Pratima Singh posted
Token Authentication with Rails, Vue, GraphQL and Devise
Check out [this article](https://engineering.doximity.com/articles/token-authentication-with-rails-vue-graphql-and-devise) on auth using Vue + GraphQL and the battle tested Devise gem. All feedback...James Klein posted
Ruby on Rails hiring / iMode d.o.o.
Hi Go Rails We are hiring developers on ruby on rails. Any freelancers from Slovenia, Croatia, Serbia? Best regards Denis Jasar / iMode d.o.o. (firstname.lastname@example.org)DenisJasar posted
2 rails apps , 1 database
Hi fellas, I have a project to do where 2 apps share one database! **1.** The first one (app1) is a basic blogging application that lets a user register and then write posts. Each user can write,...AgonIdrizi posted
Using active_record_store instead of cookie_store
I am using intializers/session_store.rb `MyApp::Application.config.session_store :cookie_store, key: '_myapp_session'` config/application.rb `config.middleware.insert_before "ActionDispatc...Amit Mallick posted
How do I have data-turbolinks-permanent inside data-behavior="vue"
Hello, I'm building a RoR application with Vue.js using a data-behavior="vue". I need to use the data-turbolinks-permanent to keep a nav-bar generated with bootstrap-vue.js and mdbootstrap-vue (...Alejandro Ruiz posted
Vim is being "killed" by OOM when trying to open prod log
I'm curious as to why this is happening. The server is set up the exact same way as every other server I have yet this is the only one with this issue.Drew Bragg replied
Configuring WordPress with Apache and NGINX
With Apache, I am facing slow server issue, I am trying to [Hosting WordPress on NGINX with Apache](https://www.cloudways.com/blog/wordpress-nginx-with-apache/), would it work good for my website o...Alex Morco posted
My sql issue
Hi , I am Getting issue /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- mysql (LoadError) from /usr/local/lib/ruby/2.0.0/rubygems...DHARMESH SHUKLA posted
how do i create two users at the the same time with two different session? P.S I am trying to create a game where two players are created at once being of same class(Player)
I am trying to create a game where two players are created at once being of same class(Player).sameer posted
Is it possible to make multiple belongs_to or has_one association?
I have a table Operations with two columns referenced to Accounts. One column is called **debit_id** and other **credit_id**. Model looks like ``` belongs_to :debit, class_name: :Account, o...Kolbasoid posted
Bootstrap-Sass Not working Entirely
I figured it out. When using bootstrap-sass you need to use bootstrap 2 or 3. Thanks.Jeremy Hill replied • Solved
How do I run / install ROR with an outdated OS system?
I'm new to programming/development. I have an old Macbook Air. It's El Capitan OS X - 10.11.6. I can't download the latest OS due to the age of my mac. I can't download the latest xcode due to t...jrd656 posted
Statistics of OS using for Ruby/Rails development
Is where any source of data about OS spreading between Ruby/Rails developers. Something like Stackoverflow Developer Survey, but only about Ruby, or where you can separate this data.alogach posted
ActionCable in JumpStart project