SURESHKUMAR RAMAIAH
Joined
Activity
Hi Chris,
Is it possible to make a REST API for this app and create a Mobile app using Jquery mobile or Android and do real time chat with people chatting on desktop?
I have an application with Rails 5, Action Cable and Devise. I am planning to create mobile app to let mobile users do realtime chat with users on desktop or any other device. My website is device responsive but I am wondering if we can create a mobile app with REST API and do real time chat with Action Cable? Or is Action Cable only applicable to desktop users?
Oh thanks Chris. They make the forms look cool. Will check if it's possible to add them to forms.
Hi Chris,
How are you getting those icons like padlock in the text_field?
Thank you so much Chris for the prompt reply. I don't know how to convert this to f.button
<%= form_tag reply_conversation_path(@conversation), method: :post do %>
<div class="form-group">
<%= text_area_tag 'body', nil, cols: 3, class: 'form-control', placeholder: 'Type your message here', required: true %>
</div>
<%= submit_tag "Send Message", class: 'btn btn-primary', data: {disable_with: "Sending..."} %>
<% end %>
Is it possible to convert this to f.button here?
Thank you so much. This is awesome. Been looking for this for ages.
How do I do this for submit_tag? Couldn't get the spinner working. This is what I have right now
<%= submit_tag :Search, class: "btn btn-primary", data: {disable_with: "Searching..."} %>