General Ruby on Rails Forum

Do you measure your app's uptime?

2
General
If so, than how do you measure it? Any libraries, tools, services, etc worth investigating?
Peter Marcano replied
Solved

PG conflict changing the name of an attribute in the database

0
General
Hi everyone, I'm having an issue after changing the name in a "Relationship" Controller and Model (the name is "follow / unfollow" and before was "meaw / unmeaw" (which I endend founding pretty ba...
Damian Nelwep posted

Grandfathering

5
General
I am experimenting with pricing. Any good tips or procedures to try out grandfathering in old users and apply new pricing to new users?
Daniel Weaver replied

How to use Multiple Databases in Rails 6.0 Discussion

0
General
Hi. I am trying to use Rails 6's automatic read/write splitting with the multiple databases feature. There seems to be a problem with Devise, because the automatic connection switching sends writes...
Vito Botta posted

accepts_nested_attributes_for with a first_or_initialize

0
General
How do you handle a Model that `accepts_nested_attributes_for` for another Model, where you only want `first_or_initialize` that child model? At the same time, be able delete the relationship betw...
george norris posted

How do I integrate VueRouter into an existing Rails app?

0
General
Hi, I'm trying to get VueRouter working with an exisiting Rails app and I'd like to delegate the routing to VueRouter when it comes to the VueJS part of the app. Basically I'd like VueJS to ta...
Qamir Hussain posted

Can't modify frozen String

0
General
Hi guys, I'm tring to execute rspec to run my tests and I'm getting a error Failure/Error: visit 'http://google.com.br' FrozenError: can't modify frozen String Any ideas h...
rodrigomerlo posted

Medium.com style URLs for username

1
General
Hi everyone, I'm implementing a username system in my app, and I'm trying to make the URLs pretty. I'd rather not have anything like: ``` https://www.myapp.com/users/joebloggs https://www.myapp.c...
Ivan Raszl replied

How to use Twilio Markup Language (TwiML) in Rails Discussion

0
General
Hi, It is a good idea to send a bunch of SMS messages after create action? It will be better to put it in background job wouldn't? Like with batch emails.
Jaroslav Horák posted

Apartment and Heroku

0
General
I am trying to implement Apartment. It works fine in development but the app won't load on production. I get this error: Apartment::TenantNotFound (One of the following schema(s) is invalid: "oca...
Steven Fried posted

Going crazy with console / debugging issue

2
General
In development mode I want errors to hit the browser and specificly the 'better_errors' gem debuging pages. Currently when I hit an issue my console just hangs and reports the error and the browse...
Dan Tappin replied
Solved

My sql issue

0
General
Hi , I am Getting issue /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- mysql (LoadError) from /usr/local/lib/ruby/2.0.0/rubygems/co...
DHARMESH SHUKLA posted

Any good guides on how to start with redis and action cable?

0
General
I want to get some action cable notifications working on my site. I have never used redis before or action cable. I see there are videos on gorails on action cable that seem to spec that you have r...
spacerobotTR posted

Statistics of OS using for Ruby/Rails development

0
General
Is where any source of data about OS spreading between Ruby/Rails developers. Something like Stackoverflow Developer Survey, but only about Ruby, or where you can separate this data.
alogach posted

rvm vs rbenv

3
General
Hi Chris...My 2012 iMac GPU gave out and its not worth fixing..I am awaiting my new imac 27 5k. I have been using rvm for years most because I like when you download an example app to learn from m...
ken mcfadden replied

Setup Errors for Rails on MacOS 10.14 Mojave

3
General
Hello everyone! I have already installed Ruby Environment, but each time I try to install Rails on MacOS, it's giving me the following errors: Jerricas-MacBook-Pro:test_app jerricajohnson$ rails...
Chris Oliver replied

To use Rails 6 or Not

2
General
Hey Go Rails Fam, I'm starting a new project this weekend and I was wondering should I user Rails 5.2.3 or just start the project with Rails 6.0.0.rc1? Let me know what you think. Cheers Rob
Rob Thomas replied
Solved

OS Mojave 10.14.5 installation failed

1
General
Yesterday update of Mojave arrived.. Since then I cannot install: rbenv install 2.6.1 (brew install rbenv ruby-build, works) How the problem can be solved ? (cleaned the the tree, but doesn't...
James replied

Blazer and webpacker

0
General
Hi, lads! It looks like blazer requires default asset pipeline and doesn't work with webpacker. Did you saw any hack/fork how to make them work together?
Alexey Poimtsev posted

Actionable Errors in Rails 6 Discussion

5
General
This feature is sooo cool :D
Jules Thea replied

Learning Ruby on Rails? Join our newsletter.

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