Portfolio responsive view not rendering on mobile Chrome; Safari

2
CSS
Hi, I was trying to figure out this Declaration dropped on a live webpage https://lb-webportfolio.herokuapp.com/portfolios in the Console. It is all fine on the localhost, however after d...

What is the best way to house view logic?

3
Rails
I have a view that is showing a list of steps. The steps are being pulled from the db with a status field. There is a method that I've created that creates custom text based on the status, ie: `...

Add image attachment to user post and server via AWS S3

3
Javascript
Hello. I have a RoR 5.1 app, with an existing form that allows users to add a post to my app. However I want them to be able to include an image as an attachment. I'd like to save the image to S3...

Active Storage (Rails 5.2) vs Shrine

2
Rails
In the aplication, users have to upload files, I plan to use Amazon S3. Do you recommend using Rails 5.2 Active Storage, or using the Gem Shrine as explained in Gorails? What do you recommend?

How do I get all projects when the end date is exactly a weekly basis?

2
Rails
I have a project model with a start and end date. I want to bring back all pojects that are exactly a week old, 2 weeks, 3 weeks etc Is there a way to do this using a scope? Thanks in advance

Database Relationship Structure (has_one and has_many together)

3
Rails
Hey Guys, So I have a bit of a headscratcher here. I have a rails app which needs two relationships to what is the same table. Basically, I have a Profile model. On that model I want to have one...

Best way to use common code for multiple applications ?

5
Rails
Hi all, I would like to know the best way to use common code for multiple applications ? Basically I am working on two applications those two are build on top of third party APIs . I want...

Receiving incoming emails

5
Rails
I want to develop a software which has multiple emails against the brands, e.g Brand1 has email email1@gmail.com, email2@gmail.com, and Brand2 has emails email3@gmail.com, email4@gmail.com. So Cust...

NameError: uninitialized constant Stripe

2
Rails
Hello, I am receiving the following error "NameError: uninitialized constant Stripe" when I ran `Stripe::Customer.all` in the rails console. This was from following along on your class Stripe Subs...

Best way to build a Contact Us page

2
Rails
Hi First post so Hello World! Really enjoying this site. I was just wondering what people consider to be the best way to build a Contact Us page. I don't need to store the entered data, just em...

Gem for Questions

1
Gems / Libraries
Hey Rails Devs, I'm developing an app and I want to send user random questions at random times on certain days. Are there any good Gems to do this or will I have to create something on my own? T...

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.

Simple_form Chrome browser bug

4
General
This is annoying. The select menus are overlapping in Chrome. ![](https://s3.amazonaws.com/ps-toolbox/downloadables/toolbox_pushingsocial_com_articles_culture-branding-checklist_edit.jpg) Has any...

how do i link a comment to a specific post...

2
Rails
Can someone give me an example of POST and Comment.. i did a scaffold of a blog for example but i am not sure how to integrate the part where you can link a comment to a specific post.... COMMENT...

SimpleMDE & RedCarpet

5
Gems / Libraries
So i have set up my forum with simpleMDE and i'm using RedCarpet to parse the markdown. Everything works great except when it parses the markdown, it adds extra set of `` tags before and after my p...

IFTT

1
Gems / Libraries
Hi Go Rails Community! Would any of you ever looked or seen a project/ tutorial on IFTT and rails app connection? I would be interested in directions in terms of going deeper? I know i have to read...

Edit Data on same page

2
Rails
Hi there guys, I would like that you help me found a tutorial to edit data on the same page and save to database.

Setting Up A Third Party Theme

0
General
So I watched a video on the site on this topic but wasn't able to make any progress with my site. I have an existing site that I wanted to refresh so I purchased a theme from themes.getbootstrap.c...

Basic CMS: Allow users to add custom CSS

0
Rails
For an App I am building, the platform provides users with a unique subdomain, which they can customize the layout by adding Rows, which have various templates to choose from. I want to allow users...

Is it safe to render the creditcard in my application

0
General
I'm currently adding stripe to my application. I think stripe form doesn't look that good, therefore I would like to beautify the form. I found this gem https://rails-assets.org/#/components/card ...

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.