Search Results for "track-user-s-usage-per-month"

Lessons



















Forum Threads

Structure Guidance - Multi Tenancy Authentication / Authorization

19
Rails
I while back I was playing around building an app where you had multiple tenants (Company Model) and a single login (User Model). I then created roles (Role Model) to link the users to the tenants....
Chris Oliver replied

Tracking Rails App Usage with Analytics

3
Rails
Hi I notice this site uses Google Analytics to track usage. Is that the standard when it comes to tracking your rails apps? I know it is generally pretty standard in the case of my websites but fo...
Chris Oliver replied

Login with Facebook Discussion

30
General
Thanks for the video—it was great! I would love to see how you'd approach managing multiple OmniAuth strategies for a single user without Devise.…

Why my rails production server reaches to 100% CPU usage and making app to be unresponsive?

11
Servers
Hi My rails app production server CPU usage sometimes reaches to 100% and making app to be unresponsive. We are using Ubuntu 16.04.1 LTS server and configured Rails app along with Nginx and passe...

How do i track a course progress?

4
General
Hey Chris, I have been trying to build a onemonth like sample website. How do i track the user's progress for each of his course. Just like onemonth all these courses have multiple episodes, and i ...
Jay Kapoor replied

Liking Posts Discussion

96
General
Learned a lot of new things through this post, thank you. Never knew how to properly write a route to a module or the proper architecture for that set up. Very useful stuff. Would have liked to s...
Someone replied

Authenticating Blog Admin Pages Discussion

19
General
Hi, Is it necessary to add @blog_post behind the edit_blog_post_path in the last part of the video or can that be left out as well? <%= link_to "Edit", edit_blog_post_path if user_signed_in? %>

Best way to create a belongs_to object from a has_many

19
General
Sorry for the vague title but I cant think of a better explanation!&nbsp;Let's say I have a list of Users and an admin could click a button/link that would create a site for them from the existing ...
alangosh replied
Solved

Analytics with Segment Discussion

8
General
Great episode Chris! Would be awesome to see some more detailed episodes both for client and server side implementations.
DURR replied

Recurring events with the ice_cube gem Discussion

47
General
On my app I use a Event and a EventTrans model so for each time a event occurs we can have a record with info and other stuff. So for the Calendar we display the First event with the recurrent on t...

Group Chat with ActionCable: Part 4 Discussion

69
General
As for message relay jobs matter for this particular subject of this ActionCable example, do you recommend putting down for its current_user's id or name in these kind of scenarios when it comes to...

Inviting Users with devise_invitable Discussion

46
General
What made you laugh at 7:25? Is that a bird?! When do we get meet her/him? :)
nikhil kumawat replied

Comments With Polymorphic Associations Discussion

98
General
Awesome Video. I really liked and refreshed my concepts about Polymorphic Associations. Thanks :)
Karl McCollester replied

How to add or call a particular action in all the controllers ?

4
Rails
I want to store the user activity by using after_action in the all the controller for a specific action of those controller
nynhex replied
Solved

How do I implement voting in Rails?

2
General
I have an app that has a resource called 'pins'. I want to add upvoting, and possibly downvoting, to the pins, so that I can rank them on the site Sort of like Reddit karma. I was thinking that an ...
karl replied

Idea for TimeClock Need Advice

27
General
I'm wanting to integrate Time Clock functionality into an existing Rails 3.2.21 app. I think I have an idea of how to do this, but I need some advice on the how to handle different scenarios. So ...
shakycode replied

How to Deploy ActionCable and Rails 5 To Production Discussion

22
General
Nice! This is pretty much what we also recommend in our upcoming Action Cable integration documentation.One thing that I'd like to add is that you will need to configure config/cable.yml to specify...
Shivashish Singh replied

API Tokens with Devise Token Authenticatable Discussion

18
General
Yes!! I have been waiting for this one. I need to watch it still, but thanks!
Roberto Brevé replied

Single Table Inheritance (STI) with ActiveRecord in Rails Discussion

8
General
Thanks Chris, It's funny that we just stopped using this design pattern at Gitlab https://docs.gitlab.com/ee/development/database/single_table_inheritance.html
Dale Holmes replied

Adding a New Blog Post Action Discussion

9
General
Hi Chris, i have noticed that the show action has an instance variable called @blog_post. Which is the current blog post being viewed. Why are we overwriting that variable in the new action?
Juan Francisco Gallardo Gonzalez replied