Displaying 4 results from an estimated 4 matches for "homepage_url".
2006 Jul 02
3
homepage_url ?
does the routes.rb have some kind of automatic generated url_for a ''''
map.connect?
(say, something like url_for_homepage or homepage_url) ...i''ve looked
around, tried a couple of combos but nothing really worked. do i have
the wrong lead?
?
thanks...
--
Posted via http://www.ruby-forum.com/.
2007 Nov 02
4
Login Redirect - Hacking the session[original_uri]
...urrent_user
#ajax code
else
link_to "vote up", login_url(:referrer_uri => request.request_uri) %>
end
#Controller
def create
uri ||= params[:referrer_uri] #pull in hacked original_uri
uri ||= session[:original_uri] #pull in sessions''s original uri
uri ||= homepage_url #default to homepage
render :action => :new and return true if request.get?
if params[:user_name] and params[:password] and user =
User.authenticate(params[:user_name], params[:password])
session[:user_id] = user.id
session[:original_uri] = nil
redirect_to(uri) and re...
2006 Dec 15
4
Why won't Rails update my object attributes?
...es"=>"",
"birthdate(1i)"=>"1988", "gender"=>"male", "birthdate(2i)"=>"12",
"is_smoker"=>"0", "birthdate(3i)"=>"13", "first_name"=>"Test",
"homepage_url"=>"", "languages"=>"--- ", "last_name"=>"User Three",
"likes"=>"", "nationality"=>"", "hometown"=>"",
"email"=>"testuser3-mSy8YtThJsM@public.gmane.o...
2008 Jan 21
4
Rails app cannot connect to Ferret server
...available at
druby://localhost:9010
Ad Columns (0.004026) SHOW FIELDS FROM `ads`
default field list: [:keywords, :family_tree_other, :description, :sex,
:top_ad, :background_color, :family_tree, :notified_expired,
:ad_kind_id, :callname, :show_bold_border, :race_id, :castrated,
:display_type, :homepage_url, :distinctive_features, :email,
:read_count, :age, :duration, :title, :show_contact, :ts_create,
:age_unit, :price, :show_image_on_list, :phone2, :ts_display, :color_id,
:show_bold_text, :phone1, :disappeared_from, :qty_available,
:date_sale_ready, :phone3, :user_id, :ts_expire]
ArgumentError (wr...