Testing your markdown
3
Testing
I see your markdown tables aren't being rendered as tables. I have the same problem :( Any idea how we get this fixed?
| Tables | Are | Cool |
| ------------- |:-------------:| -...
Chris Oliver replied
Solved
How to use the Sentimental gem
8
Gems / Libraries
Hi there,
I want to use the Sentimental gem to automatically check if an article is positive negative or neutral. This gem here: https://github.com/7compass/sentimental works fine in the Rails con...
Sascha M. replied
Solved
Dynamic Pricing based on user country
2
General
Hello!
I'm thinking of a way to handle dynamic pricing on my web app based on the user country, for example:
A user wants to subscribe for a pro account on my website and this user is based outsi...
Enrique Benitez replied
Solved
How to migrate from Heroku to Digital Ocean
10
Servers
Chris, I'm thinking of moving to digital Ocean from Heroku but my knowledge on this topic is cloudy. Can you tell us about the differences between the 2 service? and benefit.
tim carmichael replied
Solved
Loop through associated records and deliver as csv
5
General
Hi there,
I've watched your CSV export episode and I'm using the exact same code to export the records to a CSV.
I've got two tables: Orders and Sales. 1 Order has_many Sales and 1 Sale belongs_t...
Sascha M. replied
Solved
dealing with authorized parts in fragment caching
4
General
I have a facebook/disqus like news feed in my app. Every action handled via AJAX on the posts index page. I have hard time figuring out how to do the russian-doll-catching when there are authorized...
Chris Oliver replied
Solved
Action Cable vs Mailboxer?
3
General
Differences and pros/cons between Rails 5 new **Action Cable** vs **Mailboxer** gem?
What are your thoughts? :)
Bruno Sacco replied
Solved
jquery.turbolinks not working on my app
2
Javascript
I'm using both jquery and turbolinks on my app and because turbolinks don't make full page loads I need some of my js to fire when navigating between pages using turbolinks, I really don't want to ...
Chris Oliver replied
Solved
Polling/Long Polling navbar notifications
3
General
Chris I have been using your implementation of navbar notifications and I really like the way it's constructed.
I can implement Facebook style notifications and I am pretty happy about it.
However ...
Chris Oliver replied
Solved
Push bitmap to clients in realtime
1
General
Hi Chris!
I want to create a service which will show a heatmap with some stocks data in realtime (updated each second). Each second there will be around 100 new data points and in general, chart m...
Chris Oliver replied
Solved
How do I add a loading spinner and bar like this site?
5
General
I know it's a **turbolinks** feature but I don't know how to make it appear or how to do it, it's pretty nice the way GoRails handles the loading with that spinner and bar, how is it done?
*Thanks...
Enrique Benitez replied
Solved
best way to validate URL
3
Gems / Libraries
Hi Chris!
I've been looking for a good URL validator for a while, but all the solutions I found are kinda weird, so I'm not even sure if I wanna use any.
Here is my usecase: A user can create a p...
Chris Oliver replied
Solved
About In-App Navbar Notifications
2
General
Chris, thanks for this one. Notifications work like a charm.
I was just wondering...
How do I create different JSONs for different models?
```
json.array! @notifications do |notification|
json...
Christophe Estanol replied
Solved
has_one association on polymorphic model
4
General
I have the following models (stripped down for simplicity) :
```ruby
class Activity < ActiveRecord::Base
belongs_to :trackable, polymorphic: true
belongs_to :user
has_one :comment, as: :t...
Greg Answer replied
Solved
How "expensive" are API calls?
2
General
I was thinking about an SPA that has a like button. In "Liking Post" tutorial you wrote a method that checks if the current user liked the post, but in an SPA that means I will have to make a call ...
Isaac Ben Hutta replied
Solved
Any good tutorials on using rbenv?
3
General
I setup my rails environment using the ubuntu installation guide found on gorails (amazingly helpful, thank you) but I'm not really sure how to use rbenv.
I have a few rails apps, and I'm wonderin...
tquill replied
Solved
Pundit scopes
2
General
Hi, i have no idea how to choose best way. There are three models User, Department and Task. Each user assigned to one department (belongs to). Department has many tasks. How to write a policy or s...
Dmitrii Amelchenko replied
Solved
Elastic search & search kick incorporating dates fields and integers
10
General
HI Chris,
I implemented elastic search using search kick gem and all went well from search, autocomplete and suggestions when dealing with text.
Now i wanna perform a similar search on table th...
Chris Oliver replied
Solved
Single Devise User Model or Multiple Devise Models?
8
Gems / Libraries
Hi all,
I am planning to create an application that will have several types of users with a couple shared fields and many unrelated fields. What would be my best option?
After doing some research...
Francisco Quinones replied
Solved
GoRails Markdown and Preview
6
Gems / Libraries
Hey Chris,
Just wondering what are you using to preview Markdown in forum posts? I watched the whole Forum series and I saw the other video about html-pipeline gem but you don't mention syntax hig...
Chris Zempel replied
Solved