Save 36% for Black Friday! Learn more

Rails Ruby on Rails Forum

Improve performance of simple searching method

1
Rails
Hi,I have been building an app these days. The functionality is nothing fancy at all, I have to connect to a client's SOAP webservice, fetch some data, save it into my pg database and build a s...
Ernesto Gimeno replied

Braintree Error In Production Mode

5
Rails
Hi, I have implemented Braintree subscription payment in rails app which followed your tutorial. Everything works well in development, however when I switched to production (I have registered with ...
Lee Terng Gio replied

Embed youtube videos in iframes in Rails 5.2

0
Rails
anyone have any help suggestions for embedding youtube videos iframes.  It was working in Rails 5.1 but with the upgrade to rails 5.2 I am unable to get the youtube search videos to display in...
KevinNafziger posted

Having a little problem running the 'rails server' command...

0
Rails
Hi there,I'm new to the whole programming and I'm trying to figure out why I can't seem to run the 'rails server' command if anyone can help me out that would be cool. The code ...
Codesaurus1 posted
Solved

Strong Parameters issue when upgarding Rails from 4.1.8 to 4.2.5

0
Rails
I am new to rails and trying to understand what the issue is when the rails version is updated. Is this something related to strong_parameters? the way params[:budgets_updator][:budget])is use...
Parth Patel posted

Create form object with has_many attribute

3
Rails
Hi all,I often use form objects in some places in my application. But what I need now is something a little more complex.When I create them, it's always an ActiveModel object with simple string...
Rafael Soares replied

Organising per view javascripts

0
Rails
Hi all,I am refactoring my app since it is the first one and I have been doing the wrong things :)This topic is about javascript assets. I have moved all the vendor libraries to the vendor folder a...
Luca Rossi posted

How do I charge a user to create a post using Stripe?

3
Rails
It's been surprisingly difficult to find more information on creating one-off, or single charges for a user.Currently I am making a job board where anyone can browse listings, and a user (Devis...
Taylor Cooney replied
Solved

Message Templates Won't Show In Rich Text Editor SimpleMDE

0
Rails
I have created a message template based on the video that you've created and everything works well and I can select template and the message will show on the text area. But I have integrate Sim...
Lee Terng Gio posted

Mini Magick with Active Storage using 100% Cpu.

0
Rails
Active Storage variant is taking 100% cpu power every time i send a request. Looks like mini magick is converting images on every request. is there any proper way of using Active Storage with mini ...
shahbaz chandio posted

RailsConf

1
Rails
Work is sending me to RailsConf in April, anyone else going to be there?
Chris Oliver replied

Message Templates In Rich Text Editor SimpleMDE

0
Rails
I have created a message template based on the video that you've created and everything works well and I can select template and the message will show on the text area. But I have integrate Sim...
Lee Terng Gio posted

Best Method For User's Dashboard?

1
Rails
Hi, I am looking for advice on the best way to organize a dashboard to show the user various information from across different models. I was considering just generating a DasboardsController, ...
Kevin Vanzandberghe replied
Solved

Looking for better approach - Add product to order with selectable product options

0
Rails
I'm working on an app that allows merchants to order products from a wholesaler.  On a fundamental level, there are a lot of similarities to a traditional e-commerce app, but there are als...
Greyoxide posted

Message Templates In Rich Text Editor SimpleMDE

0
Rails
I have created a message template based on the video that you've created and everything works well and I can select template and the message will show on the text area. But I have integrate Sim...
Lee Terng Gio posted

Episode #165 - getting Can't verify CSRF token authenticity in --api project

1
Rails
Hi,I'm trying to use Knock as in episode #165 API Authentication with JSON Web Tokens (JWT) and Knock.I'm going step by step, but when trying to obtain the token by:curl --data "auth[e...
Jiri Prochazka replied

How do I send send a erb template as a string in a json response?

1
Rails
I have a page editor that shows the user a live preview of their changes as they make them, but I’m having trouble working out how to do this with erb templates.In my previous non rails version, I ...
Jacob Montgomery replied
Solved

How to set pre-defined tags with_acts_as_taggable_on?

0
Rails
I'm creating a content sharing site where the user should be able to share a piece of content in a post form and assign it to a pre-defined category. How to create the pre-defined categori...
Muhammad posted

how do I create a post with inputs and a lot of images?

0
Rails
how do I create a post with inputs and a lot of images? using, I don't know, shrine, simple_form and Amazon s3
Cesar Krampanis posted

Webpacker error from Vue.js Trello Clone Series

4
Rails
Hey all, I have an error that I just can't get to the bottom of. While going through the awesome Vue.js Trello Clone tutorial I started seeing this:(Webpacker can't find application.css in ...
Matthias Orgler replied
Solved

Learning Ruby on Rails? Join our newsletter.

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