Displaying 1 result from an estimated 1 matches for "date_queri".
Did you mean:
date_query
2009 Sep 19
0
Merging API data and ActiveRecord data for display in the view...
Hi there,
I’m trying to merge JSON results from an API call in with ActiveRecord
results for a blended display in a view. I’d like to be able to merge
the two result sets based on ''created_at'' which is is common in both
the ActiveRecord results and the JSON results from the API. Created_at
is the only common element between the two data sets.
Here’s what I have in my controller