Beta testing for groups

2 views
Skip to first unread message

Yuki (aka Rubén Gómez)

unread,
Nov 18, 2008, 6:37:38 AM11/18/08
to ins...@googlegroups.com
Hello everyone!

I have been developing galleries for groups, and improving groups a
little. To do it I have made galleries to be polymorphic, and photos
too.

At this moment in groups show page we can see its profile, members and
galleries.

The next step is to make activities polymorphic, to have a
recent_activities for groups, to see who has become a member, or if
photos and galleries has been added...

To make galleries polymorphic I have made a migrations adding
"galleryable_id" and "galleryable_type" columns. For photos, another
migrations adding "photoable_id" and "photoable_type". I'm not sure if
those names are really good. I suppose it may change to "owner", or
any other suggestions?

If anyone could do a bit of beta testing to make any suggestion or to
ask for any improvement it would be great!

All of this can be seen in http://github.com/yuki/insoshi/tree/group_option

Thanks for reading!

Yuki (aka Rubén Gómez)

unread,
Nov 18, 2008, 7:41:56 AM11/18/08
to ins...@googlegroups.com
On Tue, Nov 18, 2008 at 12:37, Yuki (aka Rubén Gómez) <rug...@gmail.com> wrote:
> Hello everyone!
Hello again :P

> If anyone could do a bit of beta testing to make any suggestion or to
> ask for any improvement it would be great!

II have changed the sample_data.rake to be compliant to the groups
option, so anyone can use it. I supoussed I must do the same in the
demo_data.rake file.

Steps to test group options:
* Download from http://github.com/yuki/insoshi/tree/group_option
* rake db:create:all
* Delete the content of the file
db/migrate/20081015002258_migrate_photo_data.rb (this file makes the
next step fails, so it's better to delete its content. I must see why)
* rake db:sample_data:reload

Doing this you will have the possibility to test the option_group

Arvind Gupta

unread,
Dec 10, 2008, 11:27:22 AM12/10/08
to ins...@googlegroups.com
I am not able to view any group option. What am I missing? 

Yuki (aka Rubén Gómez)

unread,
Dec 10, 2008, 11:46:20 AM12/10/08
to ins...@googlegroups.com
On Wed, Dec 10, 2008 at 17:27, Arvind Gupta <arvind.b...@gmail.com> wrote:
> I am not able to view any group option. What am I missing?
There must be a "Groups" tab when you logged in (I'm thinking that
maybe it must appear the tab also when you're not logged in, what do
you think?).

So you must log in (as a normal user or admin) and you could see de
"Groups" tab. If you log in you must see also a group tab in the
"admin view".

The best thing would be to install my branch in my own machine and all
of you could test the groups, but the machine I have sometimes loose
connection, so at the moment I can't do this :-(

If you can't see the tab after log in, please tell me and I'll see what happend.

Thanks!

Yuki (aka Rubén Gómez)

unread,
Dec 11, 2008, 3:28:54 AM12/11/08
to ins...@googlegroups.com
Ok, all's my fault. I didn't remember to put the step to swith to the
branch. I have rewrite the steps as I test that it works.

Steps to test group options:

* Download from http://github.com/yuki/insoshi/tree/group_option (
git clone git://github.com/yuki/insoshi.git)
* Go to the insoshi directory (cd insoshi)
* Change to the groups branch (git checkout -b groups origin/group_option)
* Create config/database.yml


* rake db:create:all

* Delete the content that is inside self.up and self.down of the file


db/migrate/20081015002258_migrate_photo_data.rb (this file makes the
next step fails, so it's better to delete its content. I must see why)
* rake db:sample_data:reload

* ruby script/server
* login as a normal user (user: mic...@foobar.com password:foobar)
to see the groups tabs and then you can create groups, invite people
(only when a private group), create groups galleries...

Sorry to all the people who tries to install and see it doesn't work.
Those steps works, so I hope you can give another chance :p

Thanks Arvind!

Arvind Gupta

unread,
Dec 11, 2008, 6:45:02 AM12/11/08
to ins...@googlegroups.com
Thanks Yuki. It's working perfectly.

-arvind

Arvind Gupta

unread,
Dec 11, 2008, 6:53:38 AM12/11/08
to ins...@googlegroups.com
Hello Guys
                 To make galleries polymorphic I have made a migrations adding
"galleryable_id" and "galleryable_type" columns. For photos, another
migrations adding "photoable_id" and "photoable_type". I'm not sure if
those names are really good. I suppose it may change to "owner", or
any other suggestions?
 
   Yuki you can consider gallerygp_id and gallerygp_type also, where gp stands from group.
 One more feature I would love to have is that you can invite other person also by using there
 email Id  or by using insoshi membership.
 Thanks

-arvind

 :

Arvind Gupta

unread,
Dec 11, 2008, 7:02:53 AM12/11/08
to ins...@googlegroups.com
Hello everyone,


The best thing would be to install my branch in my own machine and all
of you could test the groups, but the machine I have sometimes loose
connection, so at the moment I can't do this :-(
                      
I have a suggestion regarding yuki's branch. I have a VPS with ROR setup, where I will be deploying insoshi for my custom site. We can also use that space for group option testing.
Currently I am testing mephisto on it.

-arvind

Mitnik

unread,
Dec 11, 2008, 9:51:58 PM12/11/08
to Insoshi
Thanks for do this group function, good job!!
I've found a problem, when visit "http://localhost:3000/people/2-alex-
chang/groups"
It has the wrong message:

NoMethodError in People#groups

Showing people/_groups.html.erb where line #5 raised:
undefined method `count' for #<WillPaginate::Collection:0xb5ce4ab8>

I have the misalav-will_paginate plugin installed, do I miss anything?

Yuki (aka Rubén Gómez)

unread,
Dec 12, 2008, 3:10:50 AM12/12/08
to ins...@googlegroups.com
On Fri, Dec 12, 2008 at 03:51, Mitnik <blog....@gmail.com> wrote:
> I have the misalav-will_paginate plugin installed, do I miss any thing?
Maybe it has conflict with the normal will_paginate? I have no error
where you say. Could you uninstall the plugin and try again?

Mitnik

unread,
Dec 12, 2008, 10:01:10 PM12/12/08
to Insoshi
OK, it works now, after I installed will_paginate plugin, but I found
another problem:
I'm testing theThe hidden group invite function, I select the friend
"abc" to invite him to the hidden group "h1", and then I create
another hidden group "h2", but the invite page of "h2" does not show
the user that I've invite them to the "h1" group. (The user "abc" does
not show in the "h2" invite page.)

I'm not sure if this is my own problem? Can you check this, thanks!!

On 12月12日, 下午4時10分, "Yuki (aka Rubén Gómez)" <rug...@gmail.com> wrote:

Yuki (aka Rubén Gómez)

unread,
Dec 13, 2008, 9:11:18 AM12/13/08
to ins...@googlegroups.com
2008/12/13 Mitnik <blog....@gmail.com>:

> I'm not sure if this is my own problem? Can you check this, thanks!!
I'll check it on monday, thanks for the advice!

Yuki (aka Rubén Gómez)

unread,
Dec 15, 2008, 5:31:23 AM12/15/08
to ins...@googlegroups.com
2008/12/13 Mitnik <blog....@gmail.com>:

> I'm testing theThe hidden group invite function, I select the friend
> "abc" to invite him to the hidden group "h1", and then I create
> another hidden group "h2", but the invite page of "h2" does not show
> the user that I've invite them to the "h1" group. (The user "abc" does
> not show in the "h2" invite page.)
Ok, you're right, it was a little bug. I have commited the patch, so
you can update. Thanks!

Mitnik

unread,
Dec 24, 2008, 6:39:49 AM12/24/08
to Insoshi
Hi~Yuki, just tell u another little problem:
The activity_item of group can't be delete by anyone, because The
section of destroy action in activity_controller.rb haven't be modify.
and the shared/_activity.html.erb need to be modify, too.

On 12月15日, 下午6時31分, "Yuki (aka Rubén Gómez)" <rug...@gmail.com> wrote:
> 2008/12/13 Mitnik <blog.mit...@gmail.com>:> I'm testing theThe hidden group invite function, I select the friend
Reply all
Reply to author
Forward
0 new messages