Displaying 5 results from an estimated 5 matches for "membercontrol".
2006 Feb 04
22
What''s the best way to embed a form?
I would like to embed my login form on my app''s home page. What''s the best way to render the login action of member controller from another action?
Thanks
Frank
---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 02
3
Need help with registration page
...controller doesn''t seem to be working correctly:
Here is the method:
def register
c = member.new(params[:member])
c.save
redirect_to :controller => "main"
end
I''m getting an error message
undefined local variable or method `member'' for #<MemberController:0x37bc690>
Not sure what I"m doing wrong . Then again being a newb , not
entirely sure what I''m doing .
Stuart
2006 Jan 11
7
before_filter: how to give :except more than 1 value?
Hi all
I have the following class:
class MemberController < ApplicationController
before_filter :authorize, :except => :index
def index
...
end
Now I want to give the before_filter more than one :except argument. I
tried :except => {:index, :login}, but this didn''t work.
How can i accomplish this?
Thanks a lot and have a ni...
2006 Jun 21
7
acts_as_taggable and paginate?
Hi there,
I''ve been trying to paginate over a list of members that all share a tag in
common using the acts_as_taggable plugin. The regular way of paginating over
a collection doesn''t seem to work with acts_as_taggable. Here''s what my
method looks like that takes in a tag name, finds all the members that share
the tag and then displays all the members. Nothing too fancy
2012 Dec 13
23
make rails connect with database
i''m newbie in rails. i have problem with how to connect rails with
database. before i can connect it with command
"rake db:create" to create database.
and "rake db:migrate" to migrate schema to database.
but, i want to connect rails with database that i have before, not
create it via rails. can you help me?
--
Posted via http://www.ruby-forum.com/.
--
You received