[Rails] Re: any_login gem to help with development

2015-10-19 Thread Igor Kasyanchuk
Hello guys and girls Want to inform that gem any_login now supports Sorcery gem - https://github.com/igorkasyanchuk/any_login Demo: https://www.youtube.com/watch?v=978DlHvufSY Thanks Igor -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the G

Re: [Rails] Re: The Basics of Creating Rails Plugins

2015-10-19 Thread botp
On Mon, Oct 19, 2015 at 11:04 PM, Frederick Cheung > FYI, plugins were removed in rails 4.0 just to be clear. only the vendor/plugins directory was remove. rails 4+ now recommends the gemified plugin kind regards --botp -- You received this message because you are subscribed to the Google Grou

Re: [Rails] Re: The Basics of Creating Rails Plugins

2015-10-19 Thread Colin Law
On 19 October 2015 at 16:04, Frederick Cheung wrote: > > > On Monday, October 19, 2015 at 3:27:52 PM UTC+1, Bharat Manghnani wrote: >> >> Ruby on Rails is really powerful but eventually you may find Ruby lacking >> a particular functionality or wishing for a particular feature in course of >> your

[Rails] Re: The Basics of Creating Rails Plugins

2015-10-19 Thread Frederick Cheung
On Monday, October 19, 2015 at 3:27:52 PM UTC+1, Bharat Manghnani wrote: > > Ruby on Rails is really powerful but eventually you may find Ruby lacking > a particular functionality or wishing for a particular feature in course of > your work. After all, no programming language is perfect and Rub

[Rails] The Basics of Creating Rails Plugins

2015-10-19 Thread Bharat Manghnani
Ruby on Rails is really powerful but eventually you may find Ruby lacking a particular functionality or wishing for a particular feature in course of your work. After all, no programming language is perfect and Ruby core team cannot add whatever everyone wishes for. This is where plugins come in

[Rails] Re: Why can't inline template be rescued?

2015-10-19 Thread Andy Ogzewalla
By default rescue only matches StandardError. If you are getting another type of Exception then your usage of rescue will not be sufficient to handle it. You will need to use the multiline form of begin/rescue. ``` begin ActionView::Template.new("Test <% if Crash %>", "inline template", handl