Ruby on Rails Community Forum
Call Api and Auto-Reload div.
1
Rails
Hello!
I want to setup a script that calls api from various webistes and retrieve data every n seconds.
I'd like to setup a page where data(numbers) are showing auto-reload constantly.
Which ...
Rodrigo replied
Devise authentication and API
0
Rails
I'm working on JSON REST API for an existing Rails application. Authentication is currently implemented with Devise. What could be potential pros and cons of using cookie-based user sessions for AP...
Alex Musayev posted
How do I perform a Search without page reload (I think I need Angular/Turbolinks)
0
Javascript
Hi Everyone,
I am trying to make my app a SPA app, and accomplish most of this with erb templates, which I know is not ideal, but it works for now.
I need help with performing a search and filt...
Logan Houston posted
Sponsored Post Model?
0
Rails
i want to build a feature where on certain pages I could highlight different posts or jobs. Think of it like a sponsored google ad at the top of the rankings or a sponsored job post.
It should be ...
Ketan Anjaria posted
How Do I Search Against Records Saved In Memory, and Not the Database?
0
Rails
# Problem
I have an event that starts Jan 1, 2017 and repeats every day until Dec 31, 2017. If I search for an event (using [ransack](https://github.com/activerecord-hackery/ransack)) that starts a...
Steve Polito posted
My first 3 hour project for job application
3
General
Hello,
I made it past the phone screening and the next stage is that a robot will email me a project and I have a three hour window to complete it and then email them the results. This is for a R...
Chris Oliver replied
Recurring Select Accepts "Null" As a Valid Rule
2
Gems / Libraries
I followed the Chris' excellent tutorial on [Recurring events with the ice_cube gem](https://gorails.com/episodes/recurring-events?autoplay=1). However, I was running into an issue when the value ...
Francisco Quinones replied
Question BEST_IN_PLACE
1
Gems / Libraries
In Rails 5 versions is it recommended to use the gem Best_in_place? What other alternative is there?
Tabish Iqbal replied
How do I create a Zapier integration with a rails app?
3
Rails
I've read a lot about this and I understand that it involves REST webhooks, but I'm struggling to get it to actual work. I'm not sure how to actually get my app to tell Zapier that something has be...
Alan Vardy replied
Forum Series episodes ... no method error: undefined method
0
Rails
I've been following along the Forum series of episodes, when I try to submit a forum post, I get an error. It seems that the controller has trouble assigning the user id to the current user. I thou...
Miguel posted
Add Students to a class in a HABTM relationship !
0
Rails
I have an app designed that I have classrooms and I want to "enroll" students in the class en mass. For example I want to be able to search by name and either add by an enroll or add button or a c...
John Sanderbeck posted
Extending Rails flash
2
Rails
I have in *app/lib/action_dispatch/flash/flash_hash.rb* file this code:
class ActionDispatch::Flash::FlashHash
def my_method
#...
end
end
but when I call it in control...
Chris Oliver replied
Multiple Devise Users sharing a dashboard
2
Rails
Hi,
I have currently two Devise models Company and Contractor.
When they sign in I want to redirect them to a dashboard page. At the moment I have a before_action on the dashboard controller that...
Stephen Sizer replied
Two Forms/Two Controllers/One Page: Passing Instance Variables, Routing, and Error Handling
2
Rails
So... I'm having a higher level conceptual gap on how to deal with a scenario in which a form errs out on a page that has two forms relating to two different controllers.
My first knowledge gap...
Michael Becco replied
Colorbox & Turbolinks load
0
Javascript
Hello,
Rails 5.1.0 & Turbolinks5 & Jquery3.1.2 here
I'm trying to make jQuery Colorbox works with dynamicly loaded elements (using ActionCable) with no luck.
With the implementation belo...
Thomas M posted
Dynamic select boxes - like railscast 88 - but it ain't working
4
Rails
I am trying to scope a form selection list to from another select box selection. The select box groups the options correctly in the dropdown. Everything checks out in the console but it still does ...
Aaron Taddiken replied
How to i implement adobe e sign in rails 5?
2
Rails
Echochamber is not up to date and also not working , i have found the working python app, should i use python to process the document , help me guys.
naveen kumar replied
Use different repositories for frontend and backend?
0
General
I'd like to ask a question.
Lets say we have a web app that uses Rails api on the backend and Ember on the front end. The folder structure I guess would look like this:
```
my-app
- backend (rail...
Lykos posted
EAV Rails way?
4
Rails
Hi Team,
I was trying to explore possibility of using EAV (Entity-Attribute-Value) pattern in our application. We are a ecommerce solution and would need Product variants to be captured, I did som...
Anand Padia replied
How to perform bulk update in rails?
1
Databases
Hi there,
Here is the problem in more detail. I tried to perform bulk update on rails model, but ended up with normal save method. I have some number of records and i wanted to update their values...
ankit.k@cisiblabs.com replied