I'm lost and can't find the way out

18
Rails
So I'm in the middle of this project and I thought I could figure it out on my own, but it appears I am in over my head here. So any advice/help you can give me would be great. Basically I'm tryi...
Andrea Fomera replied
Solved

Capistrano deploy fail to do rake db migrate

0
Rails
I follow this tutorial from crabs code and do all as in tutorial but when i do cap production deploy initial capistrano fail to do rake db migrate. I think is because capistrano not do rake db crea...
Reni-amorim posted

I miss App-Folders and Files after create a app

0
Rails
Hello and good day to all. I'm new to RVM, Ruby and Rails and I have a problem. I use RVM. If I create a new RAILS app with the following command: rails new appname -d mysql Do I get the impress...
RubySnug posted

How do I create a sortable & searchable table with pagination?

2
Rails
Not really sure how to set this up with the different query params. Could someone point me in the right direction? Thanks!
Kevin Gutowski replied

Count the number of pages in a pdf

0
Rails
Hello! I am trying to count the number of pages in a PDF for a print service using PDF-reader (https://github.com/yob/pdf-reader). Here's what I have so far but, I only get a hash of {"identified...
Nick Seferos posted

2 sites... 1 DB?

8
Rails
Hello all! It's been a while since i was here, but i am back! So today I would like to get some opinions on a project I am working on. So here we go... What would be the best way to architect 2/3...
Fugee Ohu replied

About Importmap rails gem

8
Rails
Hi Chris, Will you make a video about https://github.com/rails/importmap-rails/, what will be the benefits and hidden costs. Best Regards.
Michael Prince replied

[delegated_type] How to query a collection of entries including the (entryable) sub-entries.

0
Rails
I need to query a collection of entries based on a range of dates and then sum an attribute of the sub-entry using the delegated_type method. Something like this: ``` Entry.where(performed_at: Da...
William Cunningham posted

How do i log user out from subdomain using devise

0
Rails
hi guys i am trying to build a blog platform like hashnode/substack where user register on root domain and create blog. I am currently using devise and i have set up subdomain routing. My question ...
Henry posted

Edit user profile with devise if user signed up with facebook omniauth

3
Rails
Hello. I use 2 gems (gem 'devise' and gem 'omniauth-facebook'). The user is able both to sign_in ou sign_up with facebook. If a User did a regular sign up in the past, he's found by email, and if ...
Ubuntus replied

Multi-step forms, without a gem?

1
Rails
I am looking for a good way to get multistep forms working, I have seen a couple of ways to do this and each has their own merits. Now I would like to be able to navigate back and forth between t...
Fatih replied

How to download multiple files from s3 on fly?

3
Rails
Hi, I am able to download files from s3 as a zip by using below mentioned code. require 'open-uri' def download_all_files folder_path = "#{Rails.root}/public/downloads/" zipfile_name = "#{...
mamatharao replied

Help to debug inside Jumpstart

1
Rails
Hi, I am currently developing my client's Jumpstart application and I am seeking advice on how to effectively debug any issues that may arise during the development process. I tried to use bindi...
Chris Oliver replied

Learning Ruby on Rails? Join our newsletter.

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