[Rails] Re: Login modal using default rails ajax request not working with subdomains

2015-10-23 Thread Daniel Loureiro
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

[Rails] Using Angular with Rails

2015-10-23 Thread James Davis, PhD
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.

Re: [Rails] action-mailer 4.2 question regarding custom templates

2015-10-23 Thread 'James B. Byrne' via Ruby on Rails: Talk
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(

Re: [Rails] action-mailer 4.2 question regarding custom templates

2015-10-23 Thread Colin Law
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

[Rails] AGILE: вакансия Ruby on Rails Developer (Москва) частично удаленно

2015-10-23 Thread Nadezhda Frolova
Добрый день! *В данный момент ищу Ruby/ROR Developer Москва, работа в офисе.* *Речь идет об **мультимедийном и мультиплатформенном OTT Сервис Нового Поколения,который позволяет осуществлять просмотр любого видео контента от ведущих мировых кино и ТВ студий, включая программы традиционных