Why devise helpers are not available in application controller, except authenticate_user! ?
I think you have a typo. It's `user_signed_in?` not `user_signed_in`. That should do the trick! ```ruby if user_signed_in? layout 'admin_lte_2' else layout 'some_other_layout' end ```Chris Oliver replied
Updating sort_index attr on a collection of models
Yeah, I thought about that too, or grabbing before and behind. The gem is pretty quicky but it'll do in a pinch! Thanks for all the help!Sean Washington replied • Solved
Screencast Request: Unicorn vs. Puma
I'd love to see a video describing the differences between Unicorn and Puma, and how to tweak the settings with them (process count, thread count, etc) to get the highest performance possible.Matthew Welke posted
How to add or call a particular action in all the controllers ?
You're going to want to store the action details somehow in a method as Jacob mentioned called `track_user` or whatever naming convention you deem fit. You'll probably have to write the method tha...nynhex replied • Solved
Node.js is pretty nice. I use it a lot at work. It's designed for non-blocking operations from the ground up, so where in Rails you'd have to use threads or concurrency libraries to speed things up...Matthew Welke replied • Solved
Deck Builder App. How do I query only decks you can make with the cards in your inventory?
Thanks Francisco! I corrected the typo.Matias Fernandez replied • Solved
Everyone's Been Bitten Before - Whitespaces/Unwanted Characters in User Input
Hey Chris, thanks for the awesome and details response, and so quickly too! Great details consideration there, I think you're right on the money with the two points around callbacks and gems/de...Nick J replied • Solved
What text editor are you using for GoRails Forum?
Thanks Jacob! Awesome Chris! I will take a look.Lauro replied • Solved
[HATCH] Some questions :)
Great questions! 1. SSL is coming really soon. I decided to launch without it just to get it out the door. If you're not embarassed by your first version of your product right? :) Both custom ce...Chris Oliver replied
[HATCH] Error deploying app
![bill bill bill bill](http://i.imgur.com/F0sAGUr.gif)Chris Oliver replied • Solved
Autoloading models not working
Ah glad you got that fixed. I was going to reply yesterday and got distracted. I figured that there was something up with the folder naming and the naming of the classes. Rails always expects you t...Chris Oliver replied • Solved
Regexp for prices or how to detect price in a smart way
Yes, the edit is the way I went for. Per invoice there's just one currency, so no need for conversion there. I've been upping my regexp skills since this feature. Really now just need to whip up...eelcoj replied
From the active cable chatroom series how to I fix the size of the chatroom and scroll
I know Slack uses flexbox to do their layout. Something like this codepen: http://codepen.io/tutsplus/pen/XJexGg Scrolling should be automatic if you have enough messages in the view. You can al...Chris Oliver replied
How should I implement a week model with days and opening times?
Hey Drilon, It kind of depends on how flexible you need it to be. Will your days only ever need a maximum of 2 operating groups, ie for Monday, group 1 = 9am-11am and group 2 = 1pm-7pm? Or coul...Jacob Montgomery replied
Building out a mini-framework with CoffeeScript
A lot of deciding to do it yourself or to use a frontend framework is going to come down to the problems you're trying to solve. You get both the client side changes and the server side rendering t...Chris Oliver replied
why drop down menu (Account Setting)is not showing in sidebar?
i found the problem here , some css class issuenaveen kumar replied • Solved
I didn't understand this part of the Liking Posts
I actually haven't noticed that you created the _likes partial I'll watch again, thank you for the quick reply!Maor Tzabari replied
How to render partial as a json response for json format?
The default/convention here would be an url like: `localhost:3000/sales.json` Any show action would, as a default, be like: `localhost:3000/sales/1.json`eelcoj replied
How to add ssl to the CDN of AWS
I got it working. I need it to use ssl with a wildcard for subdomain for the assets. Now im using cdn.mysite.com with dns and works great.Francisco Quinones replied • Solved