I have done just that, sending the pull req. to the tog user.
On a side note, I could not run the tests of tog_conversation neither
in "standalone" mode nor when plugged in to a host application. That
latter presented me with an unpleasant:
/Users/balint/code/rails/host_for_tog_conversatio/vendor/plugins/
tog_conversatio/init.rb:1:in `evaluate_init_rb': undefined method
`require_plugin' for #<Rails::Plugin:0x21ba9ac> (NoMethodError) (I
have not found require_plugin in the Rails 2.2.2 source anywhere)
Is this a known issue?
Balint
On Feb 25, 3:49 pm, Alberto Molpeceres <alberto.molpece...@gmail.com>
wrote:
On Thu, Feb 26, 2009 at 10:24 AM, Balint Erdi <balint.e...@gmail.com> wrote:
> I have done just that, sending the pull req. to the tog user.
> On a side note, I could not run the tests of tog_conversation neither
> in "standalone" mode nor when plugged in to a host application. That
> latter presented me with an unpleasant:
> /Users/balint/code/rails/host_for_tog_conversatio/vendor/plugins/
> tog_conversatio/init.rb:1:in `evaluate_init_rb': undefined method
> `require_plugin' for #<Rails::Plugin:0x21ba9ac> (NoMethodError) (I
> have not found require_plugin in the Rails 2.2.2 source anywhere)
> Is this a known issue?
> Balint
> On Feb 25, 3:49 pm, Alberto Molpeceres <alberto.molpece...@gmail.com>
> wrote:
>> > What do you think?
>> > Balint
>> Sure!. I'm sure Roberto will be happy if you for the repo in github
>> and send him a pull request XD.
Thank you, so the tests should be run inside a "tog-enabled" rails
app, is that it?
I tried that (standing in /vendor/plugins/tog_conversatio I did: rake
test) and it worked, the tests were run but there were quite some
errors so I would not be able to see if my simple change works as it
should.
Balint
ps. A sample error:
test: A Post should find one result. (PostTest):
ActiveRecord::RecordInvalid: Validation failed: Summary no puede estar
en blanco
On Feb 26, 10:37 am, Aitor Garcia Rey <aitor.gar...@gmail.com> wrote:
> This is defined in tog-desert... Do the app starts correctly?
> On Thu, Feb 26, 2009 at 10:24 AM, Balint Erdi <balint.e...@gmail.com> wrote:
> > I have done just that, sending the pull req. to the tog user.
> > On a side note, I could not run the tests of tog_conversation neither
> > in "standalone" mode nor when plugged in to a host application. That
> > latter presented me with an unpleasant:
> > /Users/balint/code/rails/host_for_tog_conversatio/vendor/plugins/
> > tog_conversatio/init.rb:1:in `evaluate_init_rb': undefined method
> > `require_plugin' for #<Rails::Plugin:0x21ba9ac> (NoMethodError) (I
> > have not found require_plugin in the Rails 2.2.2 source anywhere)
> > Is this a known issue?
> > Balint
> > On Feb 25, 3:49 pm, Alberto Molpeceres <alberto.molpece...@gmail.com>
> > wrote:
> >> > What do you think?
> >> > Balint
> >> Sure!. I'm sure Roberto will be happy if you for the repo in github
> >> and send him a pull request XD.
On Thu, Feb 26, 2009 at 4:53 PM, Balint Erdi <balint.e...@gmail.com> wrote:
> Thank you, so the tests should be run inside a "tog-enabled" rails > app, is that it?
> I tried that (standing in /vendor/plugins/tog_conversatio I did: rake > test) and it worked, the tests were run but there were quite some > errors so I would not be able to see if my simple change works as it > should.
> Balint
> ps. A sample error:
> test: A Post should find one result. (PostTest): > ActiveRecord::RecordInvalid: Validation failed: Summary no puede estar > en blanco
> On Feb 26, 10:37 am, Aitor Garcia Rey <aitor.gar...@gmail.com> wrote: >> This is defined in tog-desert... Do the app starts correctly?
>> On Thu, Feb 26, 2009 at 10:24 AM, Balint Erdi <balint.e...@gmail.com> wrote:
>> > I have done just that, sending the pull req. to the tog user.
>> > On a side note, I could not run the tests of tog_conversation neither >> > in "standalone" mode nor when plugged in to a host application. That >> > latter presented me with an unpleasant:
>> > /Users/balint/code/rails/host_for_tog_conversatio/vendor/plugins/ >> > tog_conversatio/init.rb:1:in `evaluate_init_rb': undefined method >> > `require_plugin' for #<Rails::Plugin:0x21ba9ac> (NoMethodError) (I >> > have not found require_plugin in the Rails 2.2.2 source anywhere)
>> > Is this a known issue? >> > Balint
>> > On Feb 25, 3:49 pm, Alberto Molpeceres <alberto.molpece...@gmail.com> >> > wrote: >> >> > What do you think? >> >> > Balint
>> >> Sure!. I'm sure Roberto will be happy if you for the repo in github >> >> and send him a pull request XD.
> On Thu, Feb 26, 2009 at 4:53 PM, Balint Erdi <balint.e...@gmail.com> wrote:
> > Thank you, so the tests should be run inside a "tog-enabled" rails
> > app, is that it?
> > I tried that (standing in /vendor/plugins/tog_conversatio I did: rake
> > test) and it worked, the tests were run but there were quite some
> > errors so I would not be able to see if my simple change works as it
> > should.
> > Balint
> > ps. A sample error:
> > test: A Post should find one result. (PostTest):
> > ActiveRecord::RecordInvalid: Validation failed: Summary no puede estar
> > en blanco
> > On Feb 26, 10:37 am, Aitor Garcia Rey <aitor.gar...@gmail.com> wrote:
> >> This is defined in tog-desert... Do the app starts correctly?
> >> On Thu, Feb 26, 2009 at 10:24 AM, Balint Erdi <balint.e...@gmail.com> wrote:
> >> > I have done just that, sending the pull req. to the tog user.
> >> > On a side note, I could not run the tests of tog_conversation neither
> >> > in "standalone" mode nor when plugged in to a host application. That
> >> > latter presented me with an unpleasant:
> >> > /Users/balint/code/rails/host_for_tog_conversatio/vendor/plugins/
> >> > tog_conversatio/init.rb:1:in `evaluate_init_rb': undefined method
> >> > `require_plugin' for #<Rails::Plugin:0x21ba9ac> (NoMethodError) (I
> >> > have not found require_plugin in the Rails 2.2.2 source anywhere)
> >> > Is this a known issue?
> >> > Balint
> >> > On Feb 25, 3:49 pm, Alberto Molpeceres <alberto.molpece...@gmail.com>
> >> > wrote:
> >> >> > What do you think?
> >> >> > Balint
> >> >> Sure!. I'm sure Roberto will be happy if you for the repo in github
> >> >> and send him a pull request XD.
Ough, I didn't read your mail properly XD. This is a known issue that
we don't know/we haven't decide how to solve yet.
You are testing this plugin in a project that extends conversatio
(field 'summary' isn't part of conversatio), and this field is
declared as mandatory in your project. The factory used by
tog_conversatio's test doesn't set this field, so any try to
instantiate a Post fails, so every test using a Post fails.
>> On Thu, Feb 26, 2009 at 4:53 PM, Balint Erdi <balint.e...@gmail.com> wrote:
>> > Thank you, so the tests should be run inside a "tog-enabled" rails
>> > app, is that it?
>> > I tried that (standing in /vendor/plugins/tog_conversatio I did: rake
>> > test) and it worked, the tests were run but there were quite some
>> > errors so I would not be able to see if my simple change works as it
>> > should.
>> > Balint
>> > ps. A sample error:
>> > test: A Post should find one result. (PostTest):
>> > ActiveRecord::RecordInvalid: Validation failed: Summary no puede estar
>> > en blanco
>> > On Feb 26, 10:37 am, Aitor Garcia Rey <aitor.gar...@gmail.com> wrote:
>> >> This is defined in tog-desert... Do the app starts correctly?
>> >> On Thu, Feb 26, 2009 at 10:24 AM, Balint Erdi <balint.e...@gmail.com> wrote:
>> >> > I have done just that, sending the pull req. to the tog user.
>> >> > On a side note, I could not run the tests of tog_conversation neither
>> >> > in "standalone" mode nor when plugged in to a host application. That
>> >> > latter presented me with an unpleasant:
>> >> > /Users/balint/code/rails/host_for_tog_conversatio/vendor/plugins/
>> >> > tog_conversatio/init.rb:1:in `evaluate_init_rb': undefined method
>> >> > `require_plugin' for #<Rails::Plugin:0x21ba9ac> (NoMethodError) (I
>> >> > have not found require_plugin in the Rails 2.2.2 source anywhere)
>> >> > Is this a known issue?
>> >> > Balint
>> >> > On Feb 25, 3:49 pm, Alberto Molpeceres <alberto.molpece...@gmail.com>
>> >> > wrote:
>> >> >> > What do you think?
>> >> >> > Balint
>> >> >> Sure!. I'm sure Roberto will be happy if you for the repo in github
>> >> >> and send him a pull request XD.