search for: main_url

Displaying 4 results from an estimated 4 matches for "main_url".

Did you mean: main_arg
2006 May 03
6
ActiveRecord and Lost Connection
...rse_development" ) @logger = Logger.new(STDOUT) ## Continue ## Active Record Class setup --------------- class NumbersLink < ActiveRecord::Base end ## ## Main Entry Point ## def ruby_main @logger.info "Connecting." # Create a dummy record link = NumbersLink.new() link.main_url = "http://www.yahoo.com" link.url_title = "The Title" link.created_on = Time.now if link.save @logger.info("Record was successfully created.") else @logger.info("ERR: Could not create record") end @logger.info "Done." end...
2007 Feb 01
12
RESTful Rails and other musings
Hi all, I would first like to introduce myself to the Ruby on Rails (RoR) community and to say that I hope to begin to build some relationships with other RoR developers. I''m a long time Java programmer (5+ years). Java was my first experience with Object Oriented Programming (OOP). Before Java I developed using many other languages including C, Pascal, Fortran, BASIC, Visual Basic,
2007 Mar 19
0
Problem to logar in MMORPG Sphere
...pear no signal of I pass through of data for kinternet, therefore I find that the game this not obtaining to find my connection. It inside has an archive of the folder that I used to install the game that has this name CONNECT.CFG and inside of it it finds if the following information: PORT 25858 MAIN_URL "brasil1.nikita.ru" LAST_URL "brasil1.nikita.ru" PORT_UPD 25859 *PWD P#20 *LOGIN >EfMG5FN00000000000000000000000000000000#0 SVPW 0 somebody can give a light to me? It will be that it has some skill of I to obtain to play this game?
2006 Jun 27
3
find_by_id vs. find in postback action
I''m playing around with the Postback action recipe listed in the recipes book. Here is the default code given: def edit @recipe = Recipe.find_by_id(params[:id]) || Recipe.new if request.post? @recipe.attributes = params[:recipe] redirect_to :main_url and return if @recipe.save end end Here is what my code sort of ended up looking like, altho i''ve ripped it apart so many times now trying to figure it out: def edit begin @entry = Entry.find(params[:id]) rescue @entry = Entry.new end # causes a weird error...