Skip to main content
ibm Iseries AS/400 DB2
Databases Solved • Asked by Manuel Martinez
I'm trying to connect using some of the gems:sequel, dbi, ibm_db, jdbc-as400-adapterWithout success, does anyone have the same problem?
6
posts

Stripe Subscriptions: Duplicate Customers
Rails Solved • Asked by Nick McNeany
Hey Eeveryone, I'm creating a subscription site using Stripe v3. For the most part everything is working fine, but I noticed in my Stripe Customer dashboard there are duplicate customers (for al...
15
posts

How do I create a parent record from the child when the parent doesn't exist?
Rails Solved • Asked by Nino Rosella
Hi team, I've trying to model books, chapters, and notes. I have the following: ``` class Book < ApplicationRecord has_many :chapters has_many :notes end ``` ``` class Chapte...
3
posts

application.html.erb Help
General Solved • Asked by Rob Thomas
Hello, I'm a Rails newbie and I'm following a few tuts but I'm having trouble finding the application.html.erb file? I'm using Rails 5.2.2 and Ruby 2.6.0. Thank Rob
7
posts

Contribute to a gem
Ruby Solved • Asked by S C
I have two questions. How do I contribute to a ruby gem? Do I just locate it's repo and make a pull request? Or are there more formal procedures? Also, what if I've made some very useful met...
4
posts

Routing for Admin area not working
Rails Solved • Asked by Nelson
I've got an application that makes use of an admin area for managing Articles on the frontend. Its a simple CRUD app where pretty much everything Admin related is namespaced and inside admin folde...
4
posts

Separate Asset Pipeline
Rails Solved • Asked by Nelson
Im building a webapp that has an admin panel... I separated this by creating a new folder in the controllers 'admin' and also on my views... This way I can have two completely different styles, one...
2
posts

Manipulate photos already on S3 or Spaces
Rails Solved • Asked by Ryan Carter
Scenerio: User uploads a huge file to S3 or Spaces. Question: How can I set up a job or worker to go into S3 or Spaces and resize that file at a later time, or even batch all of the days uploade...
3
posts

Should Categories be it's own resource or model attribute?
Databases Solved • Asked by Ariff Munshi
Hey guys, I have a question on database design. Say I have a Post model that has/belongs to a category (out of about 20 categories or so). I am thinking of two options that have their own merits.1....
5
posts

Command 'rails' not found but it used to work perfectly...
Rails Solved • Asked by Damian Nelwep
Hello everyone, I'm having some issue I really don't know why... It is the second time I get this but, after working on a Rails project without any problem, I try to get back to it and it tells me...
4
posts

How do I improve these relationships (Rails Association question) ?
Databases Solved • Asked by Ignacio Alonso
Im trying to make a project to practice more kinds of associations would you kindly help me understand this? The basic idea is to have a betting game where one user generates a new bet that can ...
2
posts

Re: In-App Navbar Notifications work on page load but not page change
General Solved • Asked by Ariff Munshi
Hey Chris, Just watched and implemented the code from this screencast and it's working well. However, I realised that it only works on first page load. Subsequent pages do not run the function....
9
posts

NameError (undefined local variable or method `fetch_records' for ....
Databases Solved • Asked by Victor Nizeyimana
Hi, I'm getting this wierd error. ``` NameError (undefined local variable or method `fetch_records' for #): app/controllers/admin_controller.rb:69:in `block (2 levels) in comments' app/con...
4
posts

NoMethodError (undefined method `def_delegators' for ChatroomsDatatable:Class):
Ruby Solved • Asked by Victor Nizeyimana
I have this error: ```NoMethodError (undefined method `def_delegators' for ChatroomsDatatable:Class):```
5
posts

Rails Button_tag not submitting edit form, but submits new form
Rails Solved • Asked by Alan Reid
I am using the following to submit my form when creating a product. ``` ``` However, the issue I am facing is that when I try to do the same for editing a product, the form does not submit...
12
posts

ActionController::RoutingError (No route matches [GET] "/assets/images/4.jpg"):
Rails Solved • Asked by Victor Nizeyimana
How to resolve this issue: `ActionController::RoutingError (No route matches [GET] "/assets/images/4.jpg"):`
4
posts

Accepts_nested_attributes_for, I am getting 'unpermitted parameter: :user' and User not entering to DB.
Rails Solved • Asked by Ryan Mindigo
Hello! I am building an app with Accounts/Users & Memberships via has_many through. I am using Devise and want to create a new user from 'accounts#new" via 'accepts_nested_attributes_for.' W...
2
posts

Where do this code go? (Refactoring Rails Workers)
Rails Solved • Asked by Arjun Rajkumar
Hey! I have two different workers ``` #app/workers/website_worker.rb class WebsiteWorker def perform(website) do_this_action(website) end def do_this_action(website) ...
6
posts

How do I create my homepage subdomain ('www')
Rails Solved • Asked by Damian Nelwep
Hi, I followed the tutorial for subdomain from scratch and got " redirect_to root_url(subdomain: "www") if @account.nil? " but I don't know how to get to manage it as a homepage like home#index....
9
posts

Why isn't the Boostrap Dropdown not working in the menu after loging in ?
Javascript Solved • Asked by Damian Nelwep
Hello, I started an app using the Jumpstart shortcut but didn't find out how and why the dropdown menu with the user's photo wasn't working at all... I guess it is because of javascript but after c...
16
posts

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.