
Upload image and send email without saving to the database
1
Rails
I recently tried to implement summernote to my rails app. I can send email and everything works fine. But I want to upload image and send the email, but the email received shows that the image was ...

URI::InvalidComponentError (bad component(expected scheme component): : https):
0
Servers
First of all, this problem is a persistent, and I'm trying to solve it for a week with 0 progress.I'm working on a Ruby on Rails website and using Devise and Omniouth-<social media> for authe...

How do i put Icon inside a text_field usind Rails and Slim
1
Rails
I'm new to Rails and even more to Slim. I need to put an Icon (i'm using Fontawesome icon) inside a f.text_field, but have no idea how.My code has: i.fa.fa-user.fa-2x
=f.text_field :name , p...

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.

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.