
CMS in Rails
5
Rails
I want to learn how to build a CMS or at least a blog engine with Rails.
I think that would be awesome to have a full course on something, especially for
beginners like me.

Ruby on Rails static analyzer to suggest ways to divide up a large monorepo into more manageable chunks?
0
Gems / Libraries
I'm trying to find a static analysis tool that could review a large Ruby on Rails monorepo -- 2300 files, 115k lines of code -- and suggest how to divide it up into smaller libraries and/or microse...
Philip Schlesinger @ Cryoport posted

Best Gem and Instructions for setting up followers one way.
2
General
Hi Guys,
I have an artist model and I want users to be able to follow them without being followed back. Is there a gem that I can use to do this and is there any documentation on setting that up?...
Gerard Donnelly replied

Is it viable to use Vue + Rails to make a Progressive Web App (PWA)?
1
Javascript
I need a web + mobile app on PostgreSQL that has offline functionality so I decided on making a PWA.
There seems to be only 2 frameworks for making PWAs: Angular and Vue.
So I decided to use Vue...
jun replied
Solved

Two Forms/Two Controllers/One Page: Passing Instance Variables, Routing, and Error Handling
2
Rails
So... I'm having a higher level conceptual gap on how to deal with a scenario in which a form errs out on a page that has two forms relating to two different controllers.
My first knowledge gap...
Michael Becco replied

Whats the best way to deal with JS in Rails?
1
Rails
In my quest to ever understand rails, i notice that Rails adds a few JS files to the bottom on my page.
Whats the best way to deal with this?
Looking at the likes of AirBNB they don't have this, s...
Alan Reid replied
Solved

Tracking Rails App Usage with Analytics
3
Rails
Hi
I notice this site uses Google Analytics to track usage. Is that the standard when it comes to tracking your rails apps? I know it is generally pretty standard in the case of my websites but fo...
Chris Oliver replied

Refactoring our Ruby code Discussion
2
General
One suggestion for viewers, once you have all the methods defined, pause the video and try to build the rest of the program first before un-pausing the video : )
Lukasz replied

A Gorails "Path" series to learn the Rails way of doing Javascript?
2
General
Hey Chris. I'm coming back to Rails after some 2 years.
While I'm able to pick things up, I'm confused by all the new rails way of doing Javascript and Ajax.
Before I left, there was only stimulus...
Chris Oliver replied

Rails for Beginners Part 36: Background Jobs with Sidekiq Discussion
16
General
I had to change the timezone in config/application.rb. Rails default's timezone is UTC + 0 and my own timezone is UTC + 1. So at 8:00pm when I was trying to publish at 8:01pm, Time.current was ret...
Shaun Smerling replied

Generic Infinite Scrolling
3
Rails
I am building an app that has a couple of columns and I only want one column to scroll infinitely. I am trying to hack together a gem free version, but I am a novice with .js or jquery.
My questi...
Gabriel replied

Embeddable Javascript Comments Widget Models - Part 1 Discussion
0
General
Hello everyone,,
This is perhaps a bit of a newbie question but I wanted to ask your opinion on what are the things I would consider usually when it comes to using the approach you outlined in the ...
Konhaivo12 posted

Sending Data Between Controllers And Views | GoRails
9
General
Simple and concise explanation. Thanks!
Chris Oliver replied

Implementing global app settings
3
Rails
I am wondering what the best way to go about setting up Settings for an application. Settings will consist of name, address, phone number, and some other project specific entries. What has me a lit...
RJ McCollam replied
Solved

has_many :through association woes
10
Rails
I have a has_many :through relationship between a few models that *almost* works.
My goal is to allow users to be assigned to projects and/or tasks. Everything seems to work except user_id's are n...
Adrian DeGus replied
Solved

How i can do multiple login with devise?
4
Gems / Libraries
Hi everybody temporary i'm working on some rails project where i have one super admin which can create company, employee, resources also he can to add employee in the some company employee can to h...
Stefan Dabizljevic replied

Re: In-App Navbar Notifications work on page load but not page change
8
General
Hey Chris,
Just watched and implemented the code from this screencast and it's working well. However, I realised that it only works on first page load. Subsequent pages do not run the function. N...
Ariel Wulkan replied
Solved

Multitenancy with Apartment Gem
8
General
Hi Chris,
I am using Postgresql and apartment gem and my database has many views and functions. so I am using
config.use_schemas = true
config.use_sql = true
to use pg_dump but when I run migrat...

Hatchbox deployment. public/index.html not found
5
Servers
Hi,
I am deploying to hatchbox and everything appears fine until i load the site up in the browser. Looking at the logs there is no public/index.html. On my development environment there is also n...
Chris Oliver replied

How do I protect myself against brute-force attacks when using Cockpit server administration?
0
Servers
When using Cockpit, I feel that it opens up a big vulnerability as the browser login allows unlimited attempts to login. Once the brute-force is successful, the attacker will be able to run command...
Yi Mei Wang posted