Setup Windows 10 Discussion
![](https://secure.gravatar.com/avatar/ce795239ba5dd2384fc2f88ffaff5451.png?default=mp&rating=pg&size=48)
> You can set the session[:company_id] to a default when they login, or allow them to use the site under a "Personal" account without a company. Hi folks, appreciate the commentary, it's extra ...
Yeah, that's correct. It only runs in the browser on a page view. You'll get very basic data with it. Segment is fantastic for us because it allows us to track custom events and not just page view...
What's great about the puma plugin is the cost savings when running on something like Heroku. Only one dyno needed for small apps including a Queue. Something that was quite expensive before becaus...
Thank you!Great Job
One thing that really helped me learn vim was vimtutor. If you have vim installed, you should already have it. Just type `vimtutor` in the console https://superuser.com/questions/246487/how-to-use-...
if someone has errors with db:rake not working, here is the solution:http://stackoverflow.com/qu...
Hey there ! I'm trying to deploy on a private server following this tutorial with a rails 5.2 app and somehow when I cap production destroy, i get an error saying 01 SassC::SyntaxErro...
What are you using to authenticate your users in this app if you're not using Devise? The error shown is clearly that it's expecting a password, and your validations on your user model also state y...
How can i track or list online users in rails?
* I think parsing the S3 bucket logs could work but it may be hard for you to tell who did what if you want to track who did what. * I have done the redirect version of this before for http://feedf...
I have a multi-tenant app with various models. I want to start tracking data point for future stats and business intelligence integrations etc. Think of this like Amazon and you wanted to track e...
Cool thanks Chris, you've really helped - more than you know lol. I am sure i will get more questions haha :D
Hey Chris. Same problem with devise_invitable. When I try to set the password after accepting an invitation (view: users/invitations/edit) and e.g. the password doesn't match, the app gets stucked....
I think that's because on the index you want an array of records, but on show you just want a single record. When you pass in the array into policy_scope, it's going to call the `.where(company_id...
... I never really thought about the fact that my controllers don't have to map directly to models :/ That makes perfect sense. I suppose I will do a generic Page controller, then site(yelp, ...
Not sure what the etiquette is for answering or following up one's own question, but I ended up modeling this, because I realized I need some pretty complicated and persistent logic for each docume...