your problem it's related with CORS.
A little recipe to solve this:
1. install rack-cors gem. On your Gemfile:
# Gemfile
gem 'rack-cors', :require => 'rack/cors'
2. on shell:
bundle install
3. on your application.rb:
# application.rb
...
config.middleware.insert_before 0, "Rack::Cors" do
No you do not have to immediately embrace all aspects of angular. My first app
with angular only used it for displaying tables. Each subsequent app, I make it
more angular and less rails.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
On Fri, October 23, 2015 03:19, Colin Law wrote:
>
> I have not used it, but since no-one else has suggested anything,
> perhaps prepend_view_path is an option.
>
> Colin
>
Thanks. Funnily enough that is what I started with:
self.prepend_view_path(
Pathname.new(
File.join(
On 22 October 2015 at 15:53, byrnejb wrote:
> I have a custom template file that resides in a non-standard (for RoR)
> location. I wish to use this template for text format messages generated by
> a stand-alone script. I also wish to incorporate it into a new RoR app that
Добрый день!
*В данный момент ищу Ruby/ROR Developer Москва, работа в офисе.*
*Речь идет об **мультимедийном и мультиплатформенном OTT Сервис Нового
Поколения,который позволяет осуществлять просмотр любого видео контента от
ведущих мировых кино и ТВ студий, включая программы традиционных
5 matches
Mail list logo