Save 36% for Black Friday! Learn more

Ruby on Rails Community Forum

Setup Ubuntu 16.10 Yakkety Yak Discussion

0
General
hi
chrisjordan007 posted

How Do I Update Rails Servers from another Rails Server?

1
Servers
I have a Rails Server A in Country A, Rails Server B in Country B, and Rails Server C in Country C, all using Devise and Omniauth.A user can sign up in all 3 servers. But when he logs in to Server ...
Chris Oliver replied

How do I preselect a reference to a resource that is not a parent in the routes?

1
Rails
I have an app with a ContentCategory model that has_many :contents.  In the ContentCategoriesController#show view there is a button for "New Content".  This goes to the ContentsController...
Jacob Montgomery replied

Having some problems with Using certain data from API calls

1
Rails
Hi i've been struggling for a while now trying to grasp how to use the data received in an api call. A lot of tutorials are either outdated or focus solely on creating API's rather than using them....
kaine Wright replied

Looking for rails programmer

0
General
Looking for a Sydney or Wollongong based programmer. Rails applications   
KC Chen posted

Use Devise for two different application in separate machines

0
Rails
hi,I am trying to have my devise database be used by two or more separate rails application. I have pointed my sub-application to use the main application devise database.however, when i log i...
ang nickolas posted

Should Categories be it's own resource or model attribute?

4
Databases
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 meri...
Ariff Munshi replied
Solved

Do you store lots of Stripe customer/billing data in your database or do you call it dynamically from Stripe?

1
Gems / Libraries
Just wondering if it's best to store locally, in my own database, all of the customer's Stripe data or is it better to call for this every time I want to display it?There's a lot of data and it fee...
Chris Oliver replied

How do i create a version carrierwave depending of file extention

2
Rails
Hi,I trying to upload files with Carrierwave in my Rails app, files could be jpg, png, pdf or docx. Files jpg and png upload fine but pdf or docx don't, i get the error "...Minimagick, maybe it is ...
Víctor Soto replied

Devise Secret Key was not set automatically

5
Gems / Libraries
Hi everyone,Strange problem appeared today. I am using Ruby 2.5.1 and Rails 2.5.0.rc2. When installing devise and pushing to heroku I got an error saying that the devise secret key was not set even...
Ariff Munshi replied

file uploads in nested forms with Vuejs and Rails

0
Rails
Hi all,I have a Projects model which has many files and categories. So on my view, I would have a nested form where user can upload as many files and also associate as many categories when creating...
Aman DeMan posted

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 searc...
Ernesto Gimeno replied

How Do I make my website faster (according to Google and Pingdom)

0
General
Hey there Gang, I ran my website via Pingdom Speed Checker Tools (https://tools.pingdom.com/#!/eFyjYP/flagupmail.com) and have found it difficult to fix three things slowing my site down:I am ...
abebraham posted

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

DB Structure for custom forms

6
Databases
Hi all,I am building an app that has the ability to create/edit forms with custom fields as a feature. Form templates can be assigned to personal record to be completed by users (google forms? :) )...
Jacob Montgomery replied

Tuning Ruby for development

1
Ruby
What are you guys using these days to tune your Ruby MRI 2.5 at dev time? I've been using a mix of environment variables for a while and I'm not even sure if they're still valid, or deprecated.Basi...
Carl Mercier 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 below is what I get ...
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 att...
Rafael Soares replied

Learning Ruby on Rails? Join our newsletter.

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