Ruby on Rails Community Forum

Dynamic select boxes with Rails 4

2
Javascript
Hey there I am trying out a dynamic select box with rails 4 and I am stuck on where to put the js code because the form exists in a nested form. So should the code go in the js file for the form ac...
JM replied

Pointing a method to a namespace, class, or something (ruby question)

2
General
I'm building an API wrapper and struggling with how to set it up the way I'd like. Here's an example of what I'd ultimately like this to look like: ```ruby ServiceName::Client.new(api_key).record_...
Chris Zempel replied

Ajax refresh while persisting params

0
Javascript
I'm maintaining an old Rails app and am trying to have a my index action use a form_tag to pass the params of a region so I can scope the results of calls by region. This works fine and dandy, but...
shakycode posted

Nofications screen cast

2
Site Feedback
Hi Chris , I am following the notifications screen here : https://gorails.com/episodes/in-app-navbar-notifications?autoplay=1 all is well no errors but when i create a post the notifications aren...
JM replied

Advanced management (DEVISE) profiles.

1
Gems / Libraries
Hello Chris, I have the following problem, i can not separate the management of the profile to "devise" below will list how I would manage profiles: Edit User Profile (ex. http://localhost:300...
Alan Reid replied

form builder for admin

0
General
is there any rails gem that you can use to create a form builder that an admin can use to create a form for the frontend. probs something that works similar to https://ninjaforms.com/ . Any ideas ...
Kelvin Atawura posted

An other deployment question

1
Servers
Hello everyone! I'm new to Rails (and at coding in general) and english is not my mother tongue, so I might say clumsy stuffs, so please bear with me :D I'm finally ready to launch my first app l...
Ariff Munshi replied

Deployment Question

0
Servers
[there was an error on original submission of this post, so I did it again and duplicated it. this one can be deleted!] [Please see this post](https://gorails.com/forum/deployment-question)
Chris Zempel posted

Deployment Question

6
Servers
Hey, debugging a deployment script I didn't set up and running into an error that I'm not making any headway with via StackOverflow or general Googling. Here's what it is: ``` bundle exec cap sta...
Chris Zempel replied

Best way to measure distance between current user's location and place location?

4
General
I'm building an app similar to Yelp. The user should have a current location (taken automatically) and a chosen location (defaulted to current location). Each place should also have a location. I w...
Matias Fernandez replied

Best way to create or save a record (with associations) as a template

10
General
I'm curious as to what people think is the best to create a new record, or save an existing record... as a template. The template would be used as a starting point to duplicate that record easily ...
tquill replied

Is it possible to incorporate React + Redux into existing Rails application?

11
Javascript
I have been working on creating a Medium clone to learn Ruby on Rails. It started out as just a plain Rails app but as the app evolved I started using React in the front end (using react-rails gem)...
Aaron replied

Building a multi-location app in rails

1
General
Hi! I am trying to build a multi-location app from a client. I have tried dabbling with Apartment and other types of multitenancy but didn't receive a proper result. The app should have domains f...
Chris Oliver replied

integrating analytics

5
General
Hi Chris! I see GoRails is using segment.io for analytics. Could you recommend me a good resource on integrating segment with GA and mixpanel? There are too many approaches like javascript version...
Chris Oliver replied

JRuby on Rails and Java dependency management

1
General
I've been searching online for a good way to manage Java dependencies in a JRuby on Rails app. I am interested in a way to structure the initial setup. I will have to use quite a lot of machine lea...
Chris Oliver replied

GoRails speed

8
Site Feedback
Hi Chris, It would be nice if you could share with us what techniques you use to make this site so fast, and if and how do you deal with scaling problems.
Chris Oliver replied

Upgrade FedenaProject to latest Ruby application

1
General
i downloaded fedena project which was developed by Ruby 1.9, please, how can i upgrade it to last ruby (Ruby 2.1). thanks
Chris Oliver replied

lazy high charts gem

1
Gems / Libraries
Hi there, I have been tinkering `lazy high gem` trying to get charts up and running, it works well with hard-coded data into the chart but when I try passing data dynamically i cant make some he...
Francisco Quinones replied

Set up complex forms that user form objects nested within form objects?

3
General
Context: I'm working on an app for my job with strange requirements. Unfortunately, I have to maintain a data structure that's accessible to legacy CF applications that were originally designed fo...
Andrew Markle replied

Migration Issue caused Heroku to fail.

2
Servers
I have an application on Heroku that uses the Paperclip gem that recently had some issues - and I'm not 100% sure on what it was that caused it. I have the application working locally (including th...
Francisco Quinones replied

Learning Ruby on Rails? Join our newsletter.

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