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

How do I get Rails Ajax to work using ujs

0
Javascript
Hello, I am trying to user ajax on rails using the ujs library. I am calling the new controller action,with the remote: true property, however the request is being processed as JSON instead of JS.

Sortable List with GoRails Guide

0
Ruby
Hello all, I have a question, I finished with the sorting of the list with Chris's help. But now I want to be able to sort the list by only when I drag the item from a div/icon/text. Can you plea...

How to save a record in a nested form from a namespaced resource?

1
Rails
I have a nested form from a namespaced resource... #Word.rb ``` class Word < ApplicationRecord belongs_to :category has_many :choices accepts_nested_attributes_for :choices validate...

STATISTICS APPLICATION

0
General
Hello everyone, I am building a web app in rails to manage quality indicators of a financial institution. My apps use many complexe Queries. Unfortunately I am not very strong in rails so for my qu...

Learning Ruby on Rails? Join our newsletter.

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