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....

1
Testing
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...

1
Rails
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...

1
Tips
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...

1
Rails
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...

1
Rails
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. (denis.jasar@imode.si)

1
Ruby
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,...

1
Rails
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...

1
Rails
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.

3
Servers
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...

1
Servers
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...

1
General
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).

1
Rails
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...

1
Rails
Bootstrap-Sass Not working Entirely
I figured it out. When using bootstrap-sass you need to use bootstrap 2 or 3.
Thanks.

2
Rails
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...

1
Ruby
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.

1
General