Search Results for "how-do-i-translate-database-content"
Lessons
Forum Threads
Introduction to Importing from CSV Discussion
46
General
thanks
HP replied
2 sites... 1 DB?
8
Rails
Hello all! It's been a while since i was here, but i am back!
So today I would like to get some opinions on a project I am working on. So here we go...
What would be the best way to architect 2/3...
Fugee Ohu replied
Deploy Ubuntu 14.04 Trusty Tahr Discussion
371
General
The following commands should be slightly modified:cap install STAGES=productioncap production deployI believe it should be the following:bundle exec cap install STAGES=productionbundle exec cap pr...
paul lahana replied
How do I allow a multi-select to be sortable?
0
General
I have a ton of many-to-many relationships in a CMS I built for work. I am currently using [Select2 3.5.3](http://select2.github.io/select2/) to assign these relationships. This all works well. ...
Thomas Bush posted
Rails for Beginners Part 14: Handling Sign Up Errors Discussion
39
General
Love these Chris, noting some new tricks along the way. Plus your always positive demeanour makes this so enjoyable to go through.
Michael replied
How to translate and localize apps with Rails Internationalization (18n) Discussion
18
General
This was really great, thank you! Can you provide a link as to what you need to sanitize the variable you passed in, name? Looking forward to the next episode!
Create little (parse data, formatting and counting) project
2
General
Hello, friends. I am a total newbie in ruby, I want to try to do the following thing: create a program that will collect vacancies and monitor the number of repeated words from them.
The structure ...
Solved
How do I find a records based on contents of a has_many :through join?
8
Rails
I think I've been at this problem for too long and the obvious answer has evaded me.
Say you have students, classes (klass for ruby's sake), and enrollements as the join between them.
```ruby
cla...
Peter Marcano replied
Solved
How do I handle Koala error
2
Rails
After watching [Facebook API and Auth Tokens with Koala](https://gorails.com/episodes/facebook-api-and-auth-tokens-with-koala), I decided to implement it. However, I made a mistake in my logic and...
Alexey replied
How do I properly handle submit events in Vue + Rails?
1
Javascript
Hi!
I'm learning Rails, Vue and JS and I've got a question on the proper handling of submit buttons on Rails using Vue component to validate it. I'm using mdbootstrap for the styles.
I built a fo...
olidev replied
Disabling ActionCable for Unauthenticated Users Discussion
14
General
Hey Chris,I tried to integrate the meta tag if else statement into the group chat app in the channels/chatrooms.js and got "cannot read property `send_message` of undefined" error. It was surprisin...
Imallek replied
Use coffeescript or javascript in rails form to grab model attribute
10
Javascript
I am working on a Rails app and need some help with coffeescript which I'm honestly not very good at.
I have a form with a field called location_id using a collection in Rails.
````
<%= f.grou...
shakycode replied
Solved
Single Responsibility Principle Discussion
25
General
Great series. I would love if you continue with this, plus with testing. Testing is something that you haven't really touched upon much here. Also with some design patterns that follow along w...
Aaron replied
Ruby question - Generating a nested hash with group_by
5
Ruby
I'm trying to create a nested hash. I have a hash with the year as the key and an amount for that year. hash = {2017 => 55000, 2018 =>55500, 2019 => 60000}
I need to divide the amount for...
Chris Oliver replied
Optimizing Queries in Service Objects
9
Ruby
I'm currently building an app and using namespaced service objects containing a single call method in each class.
Below is an actual method (I'm aware the ABC size is too large, I'm wanting to get...
Jacob Montgomery replied
Solved
How do I design Rails apps for better performance and conversion?
3
General
I’m working on several Rails-based products where the backend is solid, but I’ve noticed performance and user flow issues impacting real user behavior (drop-offs, slow interactions, low engagement)...
Slope Rider replied
LearnHotwire Course - stuck with Could not find table 'solid_queue_processes'
3
Rails
Hi all,
I bought the Learn Hotwire course and stuck at the Rails Application Introduction (3rd video).
When I ran "rails s" at 1.29 minute of the video, I got this error
'ActiveRecord::Connectio...
How do I test different configurations which are set at Rails boot time?
1
Testing
I'm currently working on a fix related to an issue in spree commerce: https://github.com/spree/spree/issues/12231
To test the failing behavior before I apply my fix, I wrote a Rspec test like this...
Karla Lara replied
How do I implement john hancock gem into jumpstart
0
General
Hi Everyone.
I need document signing in my app, and want to implement john hancock. https://github.com/Brantron/john_hancock
I am lazy so I like to start with Chris's https://github.com/excid3/go...
Jeremy Bray posted
How to determine acceptable memory baseline for my application?
7
Rails
Hey everyone, I have a Rails app deployed on Render's "Starter" plan which only includes 512MB of memory. My Rails app is a very simple blog that doesn't do anything crazy (as far as I know) with r...
Adam Taylor replied