Ruby on Rails Community Forum
Facets with Searchkick
8
General
Great job on the Searchkick tutorial! However, I'm really interested in faceted search for an application I'm building, and the documentation on the internet is not really good enough. Any ideas? T...
Simon Cooper replied
Orders and Order Items
2
General
I have 2 models, Orders and Order Items.
I want the user to be able to add any number of items to an order in the view. How can I structure a form so that I can iterate over the order items or is ...
Michael Victor replied
Subdomains Email reset with Devise
1
Gems / Libraries
Hi Chris so im trying to work with subdomain and maindomain email reset password
I use the code on devise and for subdomain work like a charm but for the main domain I get this erro because they do...
Chris Oliver replied
Could you do a screencast on how to build notifications with Rails?
9
General
I've been trying to add a notification system (bell icon on the header) to the app I'm building. The implementation I came up with is very awkward and I'm sure there's a better way to do it (maybe ...
Chris Oliver replied
What are the benefits of using rails-assets version of Bootstrap over bootstrap-sass version?
2
General
And for other JS libraries as well.
[Screencast](https://gorails.com/episodes/rails-assets)
Dan K replied
How about an episode on zero-downtime deployment?
3
General
I have a Rails app on Heroku running on just 2 web dynos (Standard type).
I'd like to know how best to ensure uninterrupted access to the app for my users while also allowing me to deploy any time...
Chris Oliver replied
Activity Feed with Public Activity Gem ?
1
Gems / Libraries
Hi Chris,
Thanks for the tutorial. It really helped me a lot. Can you please post a video about How to install the public activity gem to show all the activities done by the user. Thanks a lot again.
Chris Oliver replied
Firefox rendering issues
1
General
The site - leanhire.co that I'm working on seems to render perfectly on Chrome but it seems to be a mess when I view the site via Firefox.
What do you think is missing and what is the best way to ...
Chris Oliver replied
How can I implement back button and bookmark history with turbolinks ajax and rails 4?
3
General
Hi guys!
I have been asking this question everywhere... basically I am building a user dashboard and it load the main div with ajax calls. I wanted to know how can I update the URL when an ajax c...
Chris Oliver replied
Stripe Payments
3
Gems / Libraries
Hey, love the new Stripe video but I'm stuck on something.
I am getting the error: uninitialized constant ActionView::CompiledTemplates::STRIPE_PUBLIC. It's having a problem with my meta tag which...
Chris Oliver replied
Subtract until zero then go to next record
4
General
Hi,
I am looking for this:
for a warehouse application for ordering and keeping stock for machine maintenance .
i have multiple record of items that coming in.
On Monday i received a item 5 ti...
Chris Oliver replied
2Checkout in Rails
3
General
HI Chris,
I'm new to here and new to rails. i saw your screencast about stripe payment gateway, i learn lot from that video.. i need to ask for favor. could you please make another screencast abou...
Shairyar Baig replied
Handle multiple binding when using CoffeeScript & Turbolinks
11
Javascript
Hi,
After watching the screencast about extracting JS code to CS classes, I tried to follow the same pattern.
The problem I am facing is that the page loads new items through AJAX and in order for ...
Chris Oliver replied
How to I access a position attribute on a join model?
2
General
I have case studies and site models in my database. I have a `has and belongs to many` association set up between them.
## site#show
When on a `site#show` page I want to write the following erb...
Thomas Bush replied
Solved
What is the spinning icon I see on GoRails?
2
General
I see a spinning/loading icon on the right. In addition, I see the loading lightning-like animation right below the address bar, what gem is it? or what library are you using? Thanks.
Tim
Francisco Quinones replied
Making a gem like thoughtbot's refills gem
3
Gems / Libraries
Heya,
I saw on HN the other day that USDS has released a styleguide/component system based off of Bourbon. I'd like to toy around with making a gem based off of the Refills gem that allows me to l...
Chris Oliver replied
AASM state based on variable
3
General
Hi,
I am using AASM and i want to set the state based on the total_price of a purchase order.
is this code below the way to go or can it be refactored.
```ruby
before_save :check_budget
event :...
Chris Oliver replied
twilio as verification mobile systems
2
Gems / Libraries
Hello I'd really like to implement the following tutorial (verify phone number by sms)
http://fullstackstanley.com/read/verifying-mobile-phone-numbers-with-rails-devise-and-twilio
It doesn't work...
corrado tuccitto replied
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
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