[Rails-core] Re: Fallback image for Rail's video_tag

2015-03-30 Thread Gabriel Sobrinho
Seems like you can do it using the poster option. On Sunday, March 29, 2015 at 6:30:21 PM UTC-3, Aaron Cordovez wrote: It seems like there is no way to provide a fallback image with Rail's video_tag. Is there a specific reason that the method was created this way?

Re: [Rails-core] Fallback image for Rail's video_tag

2015-03-30 Thread Matt Jones
On Mar 30, 2015, at 9:02 AM, Gabriel Sobrinho gabriel.sobri...@gmail.com wrote: Seems like you can do it using the poster option. I believe Aaron is referring to putting an `img` tag inside the `video` element, to accommodate browsers that don’t understand `video` at all.

Re: [Rails-core] Fallback image for Rail's video_tag

2015-03-30 Thread Jason Fleetwood-Boldt
on that note any plans to support picture_tag (the emerging new standard for displaying pictures?) something like what you see here: https://github.com/G5/picture_tag-rails On Mar 26, 2015, at 4:46 PM, Aaron Cordovez aaron.cordove...@gmail.com wrote: It seems like there is no way to

Re: [Rails-core] Fallback image for Rail's video_tag

2015-03-30 Thread Jason Fleetwood-Boldt
I think people using video_tag or picture_tag will probably be using polyfils or fallbacks. While we’re on the subject, it would be great to think long-term about supporting picture_tag too, generally it needs a polyfil and a CarrierWave/Paperclip integration, so it may or may not be

Re: [Rails-core] STEP argument for rake db:migrate

2015-03-30 Thread Pranas Kiziela
You can run migrations one at a time by passing VERSION env variable (see http://guides.rubyonrails.org/active_record_migrations.html#running-migrations ) I too see inconsistency here. I wish all operations supported both STEP and VERSION. On Sun, Mar 29, 2015 at 6:23 PM, Michael Mahemoff