How do I get Rails Ajax to work using ujs

0
Javascript
Hello, I am trying to user ajax on rails using the ujs library. I am calling the new controller action,with the remote: true property, however the request is being processed as JSON instead of JS.

Sortable List with GoRails Guide

0
Ruby
Hello all, I have a question, I finished with the sorting of the list with Chris's help. But now I want to be able to sort the list by only when I drag the item from a div/icon/text. Can you plea...

How to save a record in a nested form from a namespaced resource?

1
Rails
I have a nested form from a namespaced resource... #Word.rb ``` class Word < ApplicationRecord belongs_to :category has_many :choices accepts_nested_attributes_for :choices validate...

STATISTICS APPLICATION

0
General
Hello everyone, I am building a web app in rails to manage quality indicators of a financial institution. My apps use many complexe Queries. Unfortunately I am not very strong in rails so for my qu...

How do I get past rails server error

0
General
Hi, brand new to ROR. Running into error. Background: Did install of both ruby and rails, currently: ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32] with rails 5.2.0 I installed initi...

How do I update?

1
Rails
So, I'm following a YouTube  video trying to create my first Blog.  See the following link, at minute  13:50, https://www.youtube.com/watch?v=YCJqAZ--Sd8.  I'm attempting to do ...

Rails stopped listening on localhost

0
Rails
I am a novice rails user, I have been plodding along without too much trouble until today.I use a Mac (just stating that in case my environment needs to be considered)After creating a new rails app...

User create Dynamic Role base

2
General
Hi! So my app uses CanCanCan and Devise for working with users. Now the app needs to have a feature where users can create role. How can I approach this new task. Example: Admin(User) can create ...

ActiveRecord/Routing madness

0
Rails
I'm not sure whats happening here, I feel like I've done this successfully in the past but for some reason my app is crashing all over. This is quite simple. Ive got a model `Employees` and it has...
Solved

How to show a image on each property on index page

0
Rails
Good evening everyone,I am trying to create a real estate ad site and I do not know how to display the image associated with a property in each property displayed in the index page.I have a Propert...

Ruby on Rails migrations into a single migration?

0
Rails
Hi all. So i am a ruby on rails developer and I haven't used this feature earlier. So asking exactly how do I squash ruby on rails migrations into a single one?Any help would do.

Personal records

0
Rails
Hello! How to create an entry for each user? But only those creators can see these records

How to integrate mailgun in a rails app

0
Rails
Hi guys, I have a newsletter form where I collect the email of my users and I want to send the mails to mailgun to send them emails. how can I do that?!

React_on_rails 5.1.4

0
Rails
How to intergate react.semantic-ui.com in react_on_rails ...please help me ..thankyou very much

bad URI(is not URI?): Gotham Bold Regular.ttf error, how to fix?

0
Rails
I followed all the steps to add a fonts folder, register it with rails, and declare the @font-face in my .scss, but the same error keeps occuring. I am using rails 5.1.4, with the foundation frame...

How do I add the amount stored in my database to Braintree::Transaction.Sale?

0
Ruby
Hi all, I'm new to this community and also new to Ruby on Rails. I recently watched the Braintree integration screencast by Chris and I've been playing around with its Sand box integration. I wa...

Which is the simplest way to add ES6 to a Rails 5.1 app?

2
Rails
Hi! As of Rails 5.1.4, which is the most simple way to use ES6 in a Rails application?

How to make online product designer in ruby on rail

0
General
Hello i want to build this type of online product designer in ruby on rails. [Online Product Designer](http://fancyproductdesigner.com/). Anyone know about any gem that provides this type of functi...

Shrine vs. Carrierwave

0
Gems / Libraries
I noticed in the screencasts that the first one is on Carrierwave , but later on they're on all Shrine. I really like https://github.com/diogob/carrierwave-postgresql (not sure if it supports Shrin...

Rails How to link an email form with Sendgrid?

0
Rails
I was able to create a contact form that when a user clicks submit - its send an email (which i get in my yahoo inbox). I would like to now have that email be sent via sendgrid so that I can anal...
Solved

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.