Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ruby²Ù×÷Îļþ

require 'app/configuration'
module RubyAMF
  module Configuration
    #set the service path used in all requests
    # RubyAMF::App::RequestStore.service_path = File.expand_path(RAILS_ROOT) + '/app/controllers'

    # => CLASS MAPPING CONFIGURATION
    ClassMappings.register(
      :actionscript  => 'Stock',
      :ruby          => 'Stock',
      :type          => 'active_record',
      :attributes    => ["code", "name"])
    end
end
ClassMappings.register(
      :actionscript  => 'Rolestock',
      :ruby          => 'Rolestock',
      :type          => 'active_record',
      :associations  => ["stock"],
      :attributes    => ["id", "cost", "amount"])


ÉÏÃæËãÊÇÕû¸öÎļþ°É£¬Ö®ºóÎÒÔÚÁíÒ»¸öͬµÈ¼¶Â·¾¶ÎļþÏÂÒª²Ù×÷Õâ¸öÎļþ


  File.open("rubyamf_config.rb") do |file|
    while line = file.gets
 


Ïà¹ØÎÊ´ð£º

ÏÖÔÚѧϰRUBY£¬ÓÐûÓÐǰ;¡£

×öÁËÈýÄê¡£NETÁË
µ±È»¡£NETˮƽҲºÜÀÃ
Ïë¶àѧһЩеÄÓïÑÔ
ÕâÁ½ÌìÔÚѧϰRUBY
²»ÖªµÀ½«À´ÓÐûÓÐǰ;

RUBYÇ°±²ÃÇ£¬Ö¸µãÒ»¶þ°¡¡£
±ðÕâɽ¿´×ÅÄÇɽ¸ß,ÆäʵËüÃÇÖ»ÊÇÄãµÄÒ»¸ö¹¤¾ß,¾ÍÏóÎäÁÖ¸ßÊÖÄøöÊ÷Ò¶ ......

Ë­ÖªµÀºÃÓõÄRuby IDE£¿

Ë­ÖªµÀºÃÓõÄRuby IDE£¿


·¹ý°ï¶¥

°ï¶¥

cheng_erÄãÕâ¸öÍ·Ïñ±ÈÎҵĻ¹»Æ°¡.

ÓÑÇéUp£¡~

´¿¶¥

ÒýÓÃ
cheng_erÄãÕâ¸öÍ·Ïñ±ÈÎҵĻ¹»Æ°¡.


ÕâÄêÍ·,Ææ¹ÖµÄÊÂÇéÔõôÕâô¶àÄØÎÒ¾Í˵
......

ÌÆÉ®£¡ruby on rails£¡ÎÒÓû¿ÞÎÞÀá¡£

±¾ÈËÓеãC££¸újavaµ××Ó£¬»ØÍ·Ö±½ÓÀ´Ñ§ROR¡£
Ôõô¸Ð¾õROR¾ÍÄÇô¶ñÐÄÈË£¬µ«ÓÖºÜÏëѧºÃ£¬ÆÈÓÚ¸÷·½ÃæѹÁ¦Ò²Ö»ÄÜѧϰROR¡£Ñ§ÁË´ó¸ÅÓÐÁ½¸öÔ°ɣ¬¿ÉÎÒ×ܸоõ×Ô¼ºÃŶ¼Ã»Èë¡­¡­Ì«¶àµÄÉËÐĵĻ°¾Í²»Ïë¶à˵ÁË£¬Ö»Ï£Íû¿´µ½µÄ¸ß ......

ÇëÎÊÓÐûÓÐÈËѧϰRubyÓïÑÔ£¿

ÇëÎÊÓÐûÓÐÈËѧϰRubyÓïÑÔ£¿
Õâ¸öÎÊÌâÓÐʲôÒâÒ壿



¿Ï¶¨ÓÐ

¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£ºÇºÇ
Õâ¸ö¿ÉÒÔÓÐ

žžµØ£¬
¡£¡£¡£Óл¹ÊÇûÓУ¿

ÒýÓÃ
Õâ¸öÎÊÌâÓÐʲôÒâÒ壿
É¢·ÖµÄÒâÒåµÄÓУ¡

¹þ¹þ£¬ ......

[¹ØÓÚJavaºÍRuby]ÇóÇ°±²Ö¸µ¼ - Java / Web ¿ª·¢

ÎÒÏÖÔÚ²»µÃ²»ÃæÁÙÒ»¸öÑ¡Ôñ£º A£¬Ìø²Û¼ÌÐø×öJ2EE. B,תÐÍ×örailsµÄ¿ª·¢
ÔÚй«Ë¾¹¤×÷ÒѾ­°ëÄ꣬Õâ±ßµÄ·ÕΧ±È½ÏÇáËÉÓä¿ì£¬µ«ÊÇÎÒ¸ºÔðµÄÒ»¸öJavaÏîÄ¿ÒѾ­ÉÏÏߣ¬°´ÕÕpmµÄÒªÇó£¬ÈÃÎÒתÐÍ×örails¿ª·¢¡£¾ÍÎÒѧϰrailsµÄ¹ý³ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ