Lots of trouble using LESS in a paid theme.

8
CSS
Hi, I have a paid theme from Themeforest that uses LESS. It sucks, but I didn;t notice at the time. I am using the less-rails gem and things were going OK. I am now trying to put together an admin ...
Alan Reid replied

After adding the activeadmin gem, my previous style changed, How can avoid this?

2
Gems / Libraries
After adding the activeadmin gem, my previous style changed , How can avoid this? Previous style is : ![previous style](http://calmops.com:83/down/previous-style.png) After adding the activea...
Larry Qu replied
Solved

Is Devise always a good choice?

11
Rails
I am building a contest/promotion app (see my other thread) and am now to the point at which I want to add users. I've used Devise in the past, and have also rolled my own auth system. I like the c...
shakycode replied
Solved

Rails mongoid connection to remote cluster

0
Rails
I am trying to make a rails 4 application with mongodb (skipping active record). I created a cluster on https://cloud.mongodb.com, which has three hosts. The cluster is accessible in the Mongo Shel...
sommer bareen posted

Struggling with active nav tabs setting active class

0
Rails
I have an issue I haven't been able to solve. I have a products page set up with some different sections via bootstrap 4 nav tabs. General Info, Images, Pricing etc. I am trying to make it so that ...
spacerobotTR posted

Spree commerce vs custom solution from scratch

5
General
Hey Chris, like most people already mentioned, awesome content on GoRails.com. I love how you give additional explanation to how things work and not just a step by step tutorial how to make somethi...
William Gillett replied

Save Each Collection Check Box on A Form as Its Own Object

0
Rails
Hello, I'm fairly new to Rails and I'm working on a pretty large, fairly complicated project for a friend as a way to challenge myself. (Hey, go big or go home right?). A little background: The ...
Kevin Hemphill posted

Multiple user types App design

3
Rails
Hello, Thanks for your time :) My app have 3 type of humans. 1. Admins 2. Users (regular ones) | only read. 3. BusinessUsers (creating self records) I'm using devise gem for users. I'm interesti...
Daniel 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

About In-App Navbar Notifications

2
General
Chris, thanks for this one. Notifications work like a charm. I was just wondering... How do I create different JSONs for different models? ``` json.array! @notifications do |notification| json...
Christophe Estanol replied
Solved

JSON Web Tokens (JWT) vs Rails Session Cookies Discussion

8
General
Nice work Chris (and getting these prepared over the Holiday season), very keen for the implementation video!
NG DAVID replied

Rails, turbolinks and javascript. How to avoid duplicate Switchery button appear?

0
Javascript
I'm implementing Switchery button in my Rails app and Turbolinks is on. When I navigate to another page, and then click the back button, the button is being duplicated. Here is my Javascript code:...
Lee Terng Gio posted

Rails, turbolinks and javascript. How to avoid duplicate Switchery button appear?

0
Javascript
I'm implementing Switchery button in my Rails app and Turbolinks is on. When I navigate to another page, and then click the back button, the button is being duplicated. Here is my Javascript code:...
Lee Terng Gio posted

Rails, turbolinks and javascript. How to avoid duplicate Switchery button appear?

0
Javascript
I'm implementing Switchery button in my Rails app and Turbolinks is on. When I navigate to another page, and then click the back button, the button is being duplicated. Here is my Javascript code:...
Lee Terng Gio posted

Connect two rails apps with live updates hotwire, redis?

0
Rails
Hello. I am going to create a big project. Using GCP and Rails I'm willing to create management system for a company. Investigating I've managed to solve some problems that I figured out while cre...

Doorkeeper and Authorization Code Flow

0
Gems / Libraries
Hi! I'm learning rails building an CRUD app with authorization. I want to autorizate http requests. I can't generate the authoriation code, when send the url with client_id and callback url, the p...
brbernardo90 posted

has_many through association with collection_check_boxes question not working at create action (kinda)

0
Rails
Testing has_many through association, I want to do that Product has many Category, and Product has many Certificate. Both associations are two-way, and the setups of them, as below, are pretty muc...
DC posted

Devise with multiple User Models with single login form

11
Gems / Libraries
Hi im trying to have 3 type of devise users but one to have a single login. I need to find a way to make the routes to go to a site/login for all 3 of then. Im not using the 1 User model with 3 typ...
Roman Storm replied
Solved

How return has_many with array instead of object

3
General
Have a way to a "has_many" return a array instead of object? ```rb class UserSerializer < ActiveModel::Serializer attributes :id, :name, :nickname, :image, :roles has_many :roles end ``` ...
Bruno Wego replied
Solved

Rubu auth without gems

1
Rails
Hello, i'm new to the forum and I am in urgent need of help. I have a client that is asking to change the basic auth in his rails app to an auth that uses a web form, in a page, instead of an ugly...
Chris Oliver replied

Want to stay up-to-date with Ruby on Rails?

Join 90,822+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.