[Rails-core] GemPlugins and classic plugins consistency

2008-07-11 Thread Jacek Becela
Hello, http://rails.lighthouseapp.com/projects/8994/tickets/515-make-plugin-generator-create-rails-init-rb This patch is another step in the effort of having single code-base for GemPlugins and classic plugins. This will ease migration from plugins to GemPlugins. There are also few tickets rega

[Rails-core] Re: Rake tasks and generators from vendorized gems (aka gem-plugins)

2008-06-30 Thread Jacek Becela
Count me in. Recently I submitted two patches in the same area: http://rails.lighthouseapp.com/projects/8994/tickets/515-make-plugin-generator-create-rails-init-rb#ticket-515-1 http://rails.lighthouseapp.com/projects/8994/tickets/272-make-plugins-also-initialize-form-rails-init-rb#ticket-272-1 A

[Rails-core] Re: Gems as plugins and rails/init.rb

2008-05-28 Thread Jacek Becela
> Or make Rails look for it in either place in plugins, and only have it > in rails/init.rb for gems.  I thought this was already the case, but > maybe it was just discussed and not implemented yet. It's the case - it was not implemented, but I had a spare moment so I created a patch: http://rai

[Rails-core] Re: Gems as plugins and rails/init.rb

2008-05-28 Thread Jacek Becela
> One reason would be to provide some namespacing of the init hook for > gems that work with multiple frameworks, or have a purpose outside the > context of Rails. Is init.rb in the main gem directory ever used by gems infrastucture? I couldn't find any reference of that but I agree - it's more a

[Rails-core] Re: Rails Lighthouse incorrectly marks my tickets as spam

2008-05-28 Thread Jacek Becela
It happens again - I've commented under http://rails.lighthouseapp.com/projects/8994/tickets/122-rails-init-rb-doesn-t-get-called-for-unpacked-gems and it's marked as spam... I'm starting to think about changing my profession and become a famous spammer :) On May 10, 12:13 p

[Rails-core] Gems as plugins and rails/init.rb

2008-05-28 Thread Jacek Becela
Hello, Why do we have to put "rails/init.rb" into a gem and not simply "init.rb" in main dir of a gem to make it behave like a plugin? Are there some special reasons for that? It would be cool to have one codebase which can be packaged as a gem or used as a classic plugin. On the other hand, so

[Rails-core] Re: Rails Lighthouse incorrectly marks my tickets as spam

2008-05-10 Thread Jacek Becela
Thanks a lot, Jacek On May 10, 1:39 pm, Michael Koziarski <[EMAIL PROTECTED]> wrote: > I've marked your stuff as ham, rick tells me that should whitelist you. > > Cheers > > Koz > > On 9/05/2008, at 10:49 AM, Jacek Becela <[EMAIL PROTECTED]> wrote: > &

[Rails-core] Rails Lighthouse incorrectly marks my tickets as spam

2008-05-09 Thread Jacek Becela
Hello, Every ticket I create in Rails LH gets incorrectly flagged as spam. What should I do? Is there anyone scanning through spams to unmark these? Anyone else has the same problem or is it only me? Here's an example: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/153 Rega

[Rails-core] Re: Asking for last +1 for render :parial => @something in namespaced controllers patch

2008-03-03 Thread Jacek Becela
On Mar 1, 7:49 pm, Jacek Becela <[EMAIL PROTECTED]> wrote: > Hello, > > http://dev.rubyonrails.org/ticket/9742 > > If anyone is annoyed by that, please find a moment to review the > patch. It's rather tiny and tested enough. It still applies cleanly > (r8

[Rails-core] render :partial => @person & render :partial => @people will work in namespaced controllers.

2008-02-13 Thread Jacek Becela
Hello, I've just added a patch to http://dev.rubyonrails.org/ticket/9742 which should (tests pass) work as advertised in the subject line. This is my first contribution, please take a look. Feedback greatly appreciated. -- Jacek B

[Rails-core] Re: Support for OpenID::SETUP_NEEDED in open_id_authentication plugin

2007-12-04 Thread Jacek Becela
On Nov 27, 10:16 am, Nicola Piccinini <[EMAIL PROTECTED]> wrote: > I believe that SETUP_NEEDED should be considered in conjunction with > immediate mode, I've added a second "proof of concept" patch to the > ticket. > > By the way, there could be a problem with theopen_id_authentication > plugin

[Rails-core] Support for OpenID::SETUP_NEEDED in open_id_authentication plugin

2007-11-21 Thread Jacek Becela
Hello, This should interest anyone using open_id_authentication plugin. There is a bug in current version which causes that authenticate_with_open_id method doesn't yield the result but silently returns when server returns with OpenID::SETUP_NEEDED response. This patch ( http://dev.rubyonrails.o

[Rails-core] Re: ActionView::Partials doesn't recognize not-yet-loaded HasManyThroughAssociationCollection

2007-11-12 Thread Jacek Becela
Yup, somehow didn't stumble upon that. On 12 Lis, 13:35, Tarmo Tänav <[EMAIL PROTECTED]> wrote: > Isn't thishttp://dev.rubyonrails.org/ticket/9051? > > On E, 2007-11-12 at 12:14 +, Jacek Becela wrote: > > > Hello, > > > In User model: > >

[Rails-core] ActionView::Partials doesn't recognize not-yet-loaded HasManyThroughAssociationCollection

2007-11-12 Thread Jacek Becela
Hello, In User model: has_many :projects, :through => :authorizations In view: render :partial => @user.projects This blows up because HasManyThroughAssociation inherits from AssociationProxy and not AssociationCollection. Partial logic checks if @user.projects === AssociationCollection wh

[Rails-core] Re: Bug in fixtures?

2007-10-17 Thread Jacek Becela
Thanks for quick reply. -- Jacek On Oct 17, 10:08 pm, "Jeremy Kemper" <[EMAIL PROTECTED]> wrote: > On 10/17/07, Jacek Becela <[EMAIL PROTECTED]> wrote: > > > Below is a test case which shows strange fixtures behaviour (tested > > against edge revision 79

[Rails-core] Bug in fixtures?

2007-10-17 Thread Jacek Becela
se!" Topic.find(2).update_attributes(:content => content) assert_equal content, topics(:second).content # passes end end -- Jacek Becela --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on R