[Rails] Re: Overriding layout causes empty response with content_for

2008-11-19 Thread THEBIGO
Hello - have you tried looking at Ryan Bates raiscasts - he has a couple on layouts that might help http://railscasts.com/tags/4?page=4 Owen On Nov 19, 8:16 pm, Brian Ploetz <[EMAIL PROTECTED]> wrote: > Ivan V. wrote: > > Hi, > > > I'm trying to pinpoint what the issue might be here. In a control

[Rails] Re: Pagination

2008-10-09 Thread THEBIGO
Have you tried will_paginate? Ryan Bates has a wonderful screencast at http://railscasts.com/episodes/51 Also the will_paginate google group is helpfull. In the screencast ryan bates shows how to put the pagination in the model Best wishes - Owen Erol Fornoles wrote: > On Oct 9, 8:17�pm, Sreej

[Rails] Re: sub-layouts

2008-10-01 Thread THEBIGO
Have you checked out Ryan Bates railscasts - you might try http://railscasts.com/episodes/7-all-about-layouts He also has some other ones on layouts. His railscasts are great Owen On Oct 1, 10:32 am, Garrett Berneche <[EMAIL PROTECTED]> wrote: > I don't know why I though the third method worked

[Rails] Re: Model newb qustion

2008-09-19 Thread THEBIGO
Also in the Book Practical RAils Social Networking Sites the author Alan Bradburne works through this by using a role model and assigning roles to the users. The Administrator then controls who has what role. You might look at this method I am a newb also - so books and forems help alot - Owen

[Rails] Re: will_paginate generates undefined method paginate

2008-09-16 Thread THEBIGO
Shuaib85 I have been usisng will_paginate and it seems to work fine. In the railscast episode 51 I believe the code for the pagination was put in the model - moved from the controller. Have you tried this? Also I notice that on your previous post it said that your undifined method was in your l