Using Ruby on Rails -- No database update

Hi, All,
I'm trying to follow the instructions in the article called:
Using Ruby on Rails for Web Development on Mac OS X
I've installed everything according to the instructions and everything seems to work fine. However, I'm having a problem with the "rake migrate" command.
When I run it, it should add an accounts table, but it isn't adding the table. Here is the results of running the command:
[Daves-Computer:~/expenses] davep% rake migrate
(in /Users/davep/expenses)
[Daves-Computer:~/expenses] davep%
When, however, I run the command to revert to the previous version I get this:
[Daves-Computer:~/expenses] davep% rake migrate VERSION=0
(in /Users/davep/expenses)
== Accounts: reverting -- drop_table(:accounts)
rake aborted!
Mysql::Error: Unknown table 'accounts': DROP TABLE accounts
(See full trace by running task with --trace)
[Daves-Computer:~/expenses] davep%
So it looks to me like I'm accessing the database alright, but I'm not updating it with the new table.
Any ideas? If i'm being obtuse, let me know and I'll try to get you more details.
Thanks,
Dave

Hello Deepak,
Thanks a lot for this great content.
Feel feel to contact OTN editors if you want to publish new articles on Oracle Tech site.
Tugdual Grall

Similar Messages

  • Connect mysql from with dreamweaver using ruby on rails

    hi,
    i just finish form my database using mysql front, but i begin
    to do the interface uisng dreamweaver i find difficulties to
    connect it with the database can someone tell how or tell about a
    tutorial that talks about this.
    notice: i am using ruby on rails
    thanks a lot

    hi,
    i just finish form my database using mysql front, but i begin
    to do the interface uisng dreamweaver i find difficulties to
    connect it with the database can someone tell how or tell about a
    tutorial that talks about this.
    notice: i am using ruby on rails
    thanks a lot

  • CRUD Ruby on Rails Oracle database

    A Create-Read-Update-Delete application may be developed with Ruby on Rails and Oracle database.
    http://www.regdeveloper.co.uk/2006/07/03/ruby_rails_part1/
    http://www.regdeveloper.co.uk/2006/07/17/ruby_rails_part2/

    Hello Deepak,
    Thanks a lot for this great content.
    Feel feel to contact OTN editors if you want to publish new articles on Oracle Tech site.
    Tugdual Grall

  • Help with Ruby on Rails and mysql - I just don't get the terminal...

    Let me just start by saying I'm pretty new to using the terminal and unix commands. I've been trying to teach myself how to use Ruby on Rails (ror) over the pasy couple of days and have had some luck but I'm struggling with the terminal.
    For instance, when starting a new ror project I need to use the terminal to creat a new database schema (I think this the right terminology) within mysql. The tutorials I'm using suggest that I use the terminal to create the database with a command like:
    mysqladmin -u root -p create expenses_development
    no matter how I try I cannot seem to find the way to make this work. I contunue to switch directories in the terminal, but am not getting anywhere. Can someone shed some light on where I could be going wrong?
    thanks in advance
    MacBook Pro Core 2 Duo 2.33 Mac OS X (10.4.8) 2 GB RAM

    okay, that helped. Here's what I get:
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
    comp_err mysql_zap
    makesharedlibdistribution mysqlaccess
    makewin_bindist mysqlaccess.conf
    makewin_srcdistribution mysqladmin
    msql2mysql mysqlbinlog
    myprintdefaults mysqlbug
    myisam_ftdump mysqlcheck
    myisamchk mysqld
    myisamlog mysqld_multi
    myisampack mysqld_safe
    mysql mysqldump
    mysqlclienttest mysqldumpslow
    mysql_config mysqlhotcopy
    mysqlconvert_tableformat mysqlimport
    mysqlcreate_systemtables mysqlmanager
    mysqlexplainlog mysqlshow
    mysqlfindrows mysqltest
    mysqlfixextensions mysqltestmanager
    mysqlfix_privilegetables mysqltestmanager-pwgen
    mysqlsecureinstallation mysqltestmanagerc
    mysql_setpermission perror
    mysql_tableinfo replace
    mysqltzinfo_tosql resolvestackdump
    mysql_upgrade resolveip
    mysqlupgradeshell safe_mysqld
    mysql_waitpid
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
    How would I create a new database from here?

  • [SOLVED]Ruby on Rails won't run with apache/passenger

    Hi I want to run Redmine, a Ruby on Rails application, on a personal server using MariaDB as the database and Apache with the Phusion Passenger module as the application platform. So far I am able to run Redmine with the default WeBrick server, but if I try to run it via Apache (http://192.168.1.5/redmine) I just get the directory index of  /usr/share/webapps/redmine. I've been running various php webapps using this apache installation without issues but my unfamiliarity with Ruby on Rails makes me unsure how to fix this. If I create a Ruby on Rails test  application as described at https://wiki.archlinux.org/index.php/Ru … figuration I get the same issue.
    Using the arch wiki articles on Ruby on Rails and Redmine, This is basically how I installed things:
    $ yaourt -S ruby1.9 rubygems1.9 nodejs redmine
    # gem-1.9 install rails
    # gem-1.9 install passenger
    /opt/ruby-1-9/ and subfolders ended up having no read/exexute permissions for 'other', probably because of my umask settings, so I changed the permissions, also because apache runs as user/group 'apache'.
    Ran the script that installs the passenger apache module:
    # /opt/ruby1.9/bin/passenger-install-apache2-module
    added to httpd.conf:
    LoadModule passenger_module /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/libout/apache2/mod_passenger.so
    PassengerRoot /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5
    PassengerDefaultRuby /opt/ruby1.9/bin/ruby
    ServerName arch-server
    DocumentRoot /usr/share/webapps
    <Directory "/usr/share/webapps">
    # This relaxes Apache security settings.
    AllowOverride all
    Order allow,deny
    Allow from all
    # MultiViews must be turned off.
    Options -MultiViews
    </Directory>
    I checked if the passenger module is loaded, and judging from /var/log/httpd/error_log that seems the case:
    [ 2013-07-03 22:52:22.8947 28902/b7407700 agents/Watchdog/Main.cpp:440 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nobody', 'default_python' => 'python', 'default_ruby' => '/opt/ruby1.9/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '0', 'max_pool_size' => '6', 'passenger_root' => '/opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_pid' => '28901', 'web_server_type' => 'apache', 'web_server_worker_gid' => '1001', 'web_server_worker_uid' => '1006' }
    [ 2013-07-03 22:52:22.9120 28905/b73bd700 agents/HelperAgent/Main.cpp:555 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.28901/generation-0/request
    [ 2013-07-03 22:52:22.9262 28902/b7407700 agents/Watchdog/Main.cpp:564 ]: All Phusion Passenger agents started!
    [ 2013-07-03 22:52:22.9266 28910/b71dd700 agents/LoggingAgent/Main.cpp:271 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.28901/generation-0/logging
    [Wed Jul 03 22:52:22 2013] [notice] Apache/2.2.24 (Unix) PHP/5.4.16 mod_ssl/2.2.24 OpenSSL/1.0.1e DAV/2 Phusion_Passenger/4.0.5 configured -- resuming normal operations
    'apachectl configtest' gives 'Syntax OK'.
    I followed the wiki on redmine (https://wiki.archlinux.org/index.php/Redmine), chose to use "bundle install" to install the required gems with only a 'production' environment. What worried me is that those gems are now in /root/.gems while the webserver runs as user 'apache'.
    I can run Redmine at 192.168.1.5:3000 without errors using:
    # ruby script/rails server webrick -e production
    But if I kill it and try via apache http://192.168.1.5/redmine I get a directory content listing.
    Last edited by rwd (2013-07-04 21:00:10)

    Thanks markocz, my use of sub-url was indeed the problem. With help from the linked article I did the following:
    # mkdir /usr/share/webapps/phusion-passenger/
    # ln -s /usr/share/webapps/redmine/public /usr/share/webapps/phusion-passenger/redmine
    # chown -R root:http /usr/share/webapps/
    # chmod -R g+rx /usr/share/webapps/
    httpd.conf now looks like this:
    LoadModule passenger_module /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/libout/apache2/mod_passenger.so
    PassengerRoot /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5
    PassengerDefaultRuby /opt/ruby1.9/bin/ruby
    ServerName arch-server
    DocumentRoot /usr/share/webapps/phusion-passenger
    <Directory "/usr/share/webapps/phusion-passenger">
    # This relaxes Apache security settings.
    AllowOverride all
    Order allow,deny
    Allow from all
    # MultiViews must be turned off.
    Options +FollowSymLinks
    </Directory>
    RailsBaseURI /redmine
    <Directory "/usr/share/webapps/phusion-passenger/redmine">
    Options -MultiViews
    </Directory>
    Redmine now works via passenger.
    Last edited by rwd (2013-07-04 20:59:40)

  • Ruby on Rails environment

    I have tried the Apple tutorial and Adam Blackbourne's book and website and still cannot get a functional environment started so that I can develop using Ruby on Rails. I get Ruby installed, Textmate installed, and then seem to get bogged down with Textmate and sql. I seem not to have mysql properly installed but I can't figure out what's wrong. Both these sources above refer to some great package call Locomotive that is "the golden path..." but it has been withdrawn by its author. Any ideas on how to proceed? What sources are available?

    Hi,
    I'm not sure what your stated problem is here? It seems you are describing problems with Ruby on Rails on Leopard and coincidentally with mysql based on the Apple tutorial; are these one problem or two? Please note that the tutorial is describing running mysql on server which is part of the 10.5 server package.
    I have been running Rails 2.0.2 on Leopard client which I loaded following the tutorial (once I loaded Xcode 3 on the client as well). Since Rails 2.0 comes with sqlite3 as its default database, you can be up and running on 10.5 client in short order and save your mysql for deployment. In my case I also have 10.5 Server and have been testing with Rails and reverse proxies while operating in development mode (with sqlite3). When I start porting over to Server, mysql is a service on server and has a unique configuration. So the tutorial may not be applicable if you are using it with a mysql standard type install. You can read about the server install environment of mysql at
    http://docs.info.apple.com/article.html?path=ServerAdmin/10.5/en/c6ws25.html
    Actually, Ruby on Rails 2.0.2, TextMate and Ruby-Debug form a great environment for development. Not quite an IDE on 10.5 but almost there.
    Hope this helps,
    Harry

  • Ruby on Rails + RFC

    Is there a way to call RFC using Ruby on Rails?!
    I want to list all purchase order waiting approval calling BAPI_PO_GET_LIST. And also I want to use the approval BAPI for both PO and Requests.
    Thanks in advance,
    Guilherme Costa

    All,
    This is the code I've used for testing:
    require 'sapnwrfc'
    start = Time.now
    startGlobal = Time.now
    # Connect SAP
    print "[" + (Time.now - startGlobal).to_s + "s][" + (Time.now - start).to_s + "s] Connecting SAP...\n"
    rfc = SAPNW::RFC::Connection.new(:ashost => "spsapbw", :sysnr => "60", :client => "210", :user => "<YOUR_USER>", :passwd => "<YOUR_PASSWORD>", :lang => "PT", :destination => "RC3", :trace => "0")
    print "[" + (Time.now - startGlobal).to_s + "s][" + (Time.now - start).to_s + "s] SAP is connected!\n"
    start = Time.now
    # Get function information
    print "[" + (Time.now - startGlobal).to_s + "s][" + (Time.now - start).to_s + "s] Getting function...\n"
    fun = rfc.discover("BAPI_REQUISITION_RELEASE_GEN")
    print "[" + (Time.now - startGlobal).to_s + "s][" + (Time.now - start).to_s + "s] Function ready!\n"
    start = Time.now
    times = 10
    for i in (1..times)
        # Create a function call
        funCall = fun.new_function_call
        # Set some parameters
        funCall.NUMBER = i.to_s
        funCall.REL_CODE = "AC"
        # Invoke function
        funCall.invoke
        # Get RETURN Type
        #print "TYPE: " + funCall.RETURN[0].values_at("TYPE")[0] + "\n"
        # Get Message
        #print "MESSAGE: " + funCall.RETURN[0].values_at("MESSAGE")[0] + "\n"
    end
    print "[" + (Time.now - startGlobal).to_s + "s][" + (Time.now - start).to_s + "s] Function called " + times.to_s + " times!\n"
    print "[" + (Time.now - startGlobal).to_s + "s] Done!\n"
    Best regards,
    Guilherme Costa

  • Mixing up Ruby on Rails & ABAP

    Hello,
    last week I bought a German magazin called "XI" (http://www.heise.de/ix/inhalt.html ).
    With Ruby on Rails 3.0 the framwork was completly rewritten and will become the future web development framework.
    Is it possible to use Ruby on Rails as Web Frontend where the business logic will be developed in ABAP OO?
    Regards & Thanks,
    Guido Brune

    Hi Mr. X,
    follow these steps: (as root)
    1) install rubygems:
    pacman -S rubygems
    2) install rails:
    gem install rails
    3) install sqlite3 and ruby-slite3:
    pacman -S sqlite3 ruby-sqlite3
    (if you prefer you can install mysql)
    4) install mongrel (it's faster than webrick)
    gem install mongrel
    Now you have the complete Rails stack.
    Enjoy
    Last edited by luca (2008-06-12 10:54:30)

  • Ruby on Rails with Oracle Database

    I am starting a new project that needs to produce dynamic charts and data reports on the web. I am a Java programmer and new to databases. I have heard good things about Ruby on Rails but cannot get it to work with Mac OS X and our Oracle database. I've read many, many forum posts about the lack of an Intel Client from Oracle, but would really like to know how if its possible to
    A) Get Ruby on Rails to read from an Oracle database AND
    B) Find out how to configure Locomotive (the Ruby GUI I'm using) to connect to the Oracle database.
    Thanks for any help!

    Hello Deepak,
    Thanks a lot for this great content.
    Feel feel to contact OTN editors if you want to publish new articles on Oracle Tech site.
    Tugdual Grall

  • Ajax with Ruby on Rails and Oracle Database

    Ajax may be used with Ruby on Rails and Oracle database.
    http://www.ftponline.com/channels/java/2007_02/dvohra/

    okay, that helped. Here's what I get:
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
    comp_err mysql_zap
    makesharedlibdistribution mysqlaccess
    makewin_bindist mysqlaccess.conf
    makewin_srcdistribution mysqladmin
    msql2mysql mysqlbinlog
    myprintdefaults mysqlbug
    myisam_ftdump mysqlcheck
    myisamchk mysqld
    myisamlog mysqld_multi
    myisampack mysqld_safe
    mysql mysqldump
    mysqlclienttest mysqldumpslow
    mysql_config mysqlhotcopy
    mysqlconvert_tableformat mysqlimport
    mysqlcreate_systemtables mysqlmanager
    mysqlexplainlog mysqlshow
    mysqlfindrows mysqltest
    mysqlfixextensions mysqltestmanager
    mysqlfix_privilegetables mysqltestmanager-pwgen
    mysqlsecureinstallation mysqltestmanagerc
    mysql_setpermission perror
    mysql_tableinfo replace
    mysqltzinfo_tosql resolvestackdump
    mysql_upgrade resolveip
    mysqlupgradeshell safe_mysqld
    mysql_waitpid
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
    How would I create a new database from here?

  • Ruby on Rails FUBAR after gem update? Aptana and NetBeans no work now!!

    After doing an gem update --system it seems that the whole out-of-box Ruby and Ruby on Rails experience in Leopard goes way south.
    I first had issues just trying to run the rails command:
    <pre>
    Adenthir:Workspace nicholas$ rails dummy
    /Library/Ruby/Site/1.8/rubygems.rb:304:in `reportactivateerror': Could not find RubyGem rails (> 0) (Gem::LoadError)
    from /Library/Ruby/Site/1.8/rubygems.rb:238:in `activate'
    from /Library/Ruby/Site/1.8/rubygems.rb:76:in `activegem_withoptions'
    from /Library/Ruby/Site/1.8/rubygems.rb:50:in `gem'
    from /usr/bin/rails:15
    </pre>
    I found that the directory path(s) of the gem repositories which were:
    <pre>
    \["/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8" , "/Library/Ruby/Gems/1.8"]
    </pre>
    had become simply:
    <pre>
    \["/Library/Ruby/Gems"]
    </pre>
    So I added GEM_HOME and GEM_PATH to my .profile, and this works for when I'm in the shell.
    However when I run Aptana or Netbeans it complains about the environment and not being able to find the rails 1.2.3 gem. It seems that not all was yet fixed by adding the paths to my .profile to help clear up the confusion about the missing gem repositories.
    How do you get it so that applications that are not run from the shell eg. Aptana or NetBeans can see the same path as I'm getting in the shell? (My assumption is that the reason they error is because they don't use the .profile shell settings.) I'm not quite sure how to set environment variables for the Mac OS itself (other than the shell sessions). And I am not going to take "just run your apps using shell commands to start them" as an answer!
    All my rails/ruby stuff was working flawlessly in 10.4 ...sigh.
    Help!

    Okay - I think I have the path situation sorted out. In order to get applications like NetBeans or Aptana to recognize the gem repositories after doing a gem update --system command you need to create a file ~/.MacOSX/environment.plist (it isn't there by default so you'll need to make one).
    I used the plist editor tool that comes with XCode's installation, but I imagine any text editor will be sufficient. You will want to add the following to restore your paths for RubyGem:
    <pre>
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>GEM_HOME</key>
    <string>/Library/Ruby/Gems/1.8</string>
    <key>GEM_PATH</key>
    <string>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gem s/1.8</string>
    </dict>
    </plist>
    </pre>
    That seems to of fixed the confusion that NetBeans was having for me as to where to find the gem for rails. Everything (so far) seem to be back to normal.
    Just a word of caution - if you're going to do a gem update be ready for some downtime as you fix your environment paths.

  • AUXILIARY database update using full backup from target database

    Hi,
    I am now facing the problem with how to implement AUXILIARY database update to be consistent with the target database during a certain period (a week). I did a fully backup on our target database everyday using rman. I know it is possible to use expdp to realize it but i want to use the current fully backup to do it. Does anybody has idea or experience with that? Thanks in advance!
    Regards,
    lik

    That's OK. If you don't use RMAN to clone your database. You can create a database just using the cold backup of the primary database simply.
    Important things are
    1) you must catalog all datafiles as image copy level 0 in the cloned database
    RMAN> connect catalog rman/rman@rcvcat (in host 1)
    RMAN> connect target sys/manager@clonedb (in host 2)
    RMAN> catalog datafilecopy
    '/oracle/oradata/CLONE/datafile/abc.dbf',
    '/oracle/oradata/CLONE/datafile/def.dbf',
    '/oracle/oradata/CLONE/datafile/ghi.dbf'
    level 0 tag 'CLONE';
    2) You need to make incrementals of the primary database to refresh the clone database.Make sure that you need to specify a tag for the incremental and the name of tag is the exactly same as the one used step (1).
    RMAN> connect catalog rman/rman@rcvcat (in host 1)
    RMAN> connect target sys/manager@prod (in host 3)
    RMAN> backup incremental level 1 tag 'CLONE' for recover of copy with tag 'CLONE' database format '/backup/%u';
    3) Copy the newly created incrementals (in host 3) to the clone database site (host 2). Make sure the directory must be exactly same.
    $ rcp /backup/<incr_backup> /backup/
    -- rcp <the loc of a incremental in host 3> <the loc of a incremental in host 2>
    4) Apply incrementals to update the clone database. Make sure you provide the tag you specified.
    RMAN> connect catalog rman/rman@rcvcat
    RMAN> connect target sys/manager@clone
    RMAN> recover copy of database with tag 'CLONE';
    5) After update the clone database, then delete the incremental backups and uncatalog the image copies
    RMAN> delete backup tag 'CLONE';
    RMAN> change copy like '/oracle/oradata/CLONE/datafile/%' uncatalog;
    *** As you can see, you can clone a database using any methods. The key is you have to catalog the clone database when you refresh it. After finishing it, then uncatalog..

  • Using Ruby in place of Actionscript

    I love flash (design tools, stage / layout concepts, etc.),
    but I hate actionscript. I've been a programmer for about 10 years
    now, programming in everything from C to C#, java, php, perl, ruby,
    and actionscript. Actionscript is by far my least favorite of the
    group. It is a clumsy language (just have a look at the way
    actionscript 2 handled method closures on callbacks) and I'd prefer
    to use another scripting language in place of it for my flash
    development. Ruby would be an excellent replacement, offering
    everything actionscript has to offer (object oriented, event
    handling, etc.) with a number of additional features that come
    through ruby core and the ruby gems (excellent date and time
    libraries, database libraries, file handling libraries, etc.).
    Does anyone with an in-depth knowledge of actionscript and
    flash know what it would take to achieve some sort of common
    language API that would allow such a substitution? If the ruby on
    rails guys came across a solution allowing them to leverage the
    benefits of ruby (superior language to actionscript) with the
    benefits of the flash platform (superior visual control to
    html/ajax), flash would be unstoppable.

    ryanmohr,
    > The actionscript developers seem to enjoy leaving the
    > core libs unfinished so others can produce utility
    classes
    > to finish the job they should have done on their own.
    Again, fair enough. :) On the other hand, regarding the
    missing String
    manipulation utilities ...
    > but why not just offer it built in? It would take what,
    a
    > full five minutes for them to write?
    ... hey, if all it takes is five minutes of someone's time,
    why not craft
    together a utils library and share it? You could make a
    positive
    difference. :) In that line of thinking, it's not even the
    size that
    matters. Moses Gunesh, for example, put together an elaborate
    and popular
    tweening engine, Fuse (
    http://www.mosessupposes.com/Fuse/),
    and shared the
    wealth. Note: by proximity to a casual statement on a String
    utils class,
    I risk implying that Fuse is just a five-minute exercise in
    simplicity,
    which is not *at all* the case. I'm only pointing out that
    good libraries
    can make a helpful difference in people's workaday lives. If
    the
    functionality you want isn't available, roll your own! :)
    > You are correct that there is no arguing taste, but if
    you
    > took the time to learn ruby well you would come back
    > to actionscript very disappointed.
    Even if I do "appear to be very knowledgable ... [on] the
    inner-working
    of Flash itself," I don't claim to know much on the
    inner-working of Adobe.
    I guess it depends on one's point of view -- and to my point
    of view,
    ActionScript keeps getting better and better.
    I think there's more than just taste to consider. For the
    type of
    programming I like to do -- where the end result is (ideally,
    to me) making
    cartoon characters move in response to user input, Ruby might
    leave me dry
    (Flash is strongly suited to vector graphics, sound effects,
    video footage,
    etc.). My multimedia career started with Macromedia Director,
    whose
    programming language is Lingo, a very AppleScript-like
    language. My guess
    is that you wouldn't much care for it at all. From there, I
    moved,
    reluctantly at first, to Flash, where my programming skill
    grew in-step with
    the increasing maturity of ActionScript. There was a time,
    essentially AS1,
    when ActionScript was practically identical to JavaScript,
    and I enjoyed
    getting to know both. JavaScript led me to regular
    expressions, which
    fascinated me for fully two years before I got any good at
    it. I'm pleased
    as punch that AS3 supports regex natively. AS2 brought the
    "class"
    keyword -- and OOP in general -- to the forefront of my mind,
    which led to
    brief excursions into Java and C#. I've played a bit with
    Python, PHP, and
    a handful of other languages. To a certain extent,
    programming is
    programming: it's the syntax that changes, not the challenge
    and fun of
    problem solving within a given set of constraints (like the
    language
    itself). In that regard, it doesn't really matter to me what
    language I'm
    using, so much as a general answer to the question, "Does
    this platform
    allow me -- encourage me -- to participate in the kinds of
    projects I like?"
    Even if I found another language, such as Ruby, more
    convenient, it might
    not facilitate the sorts of projects I enjoy. To go out on a
    limb and make
    an extreme example, Ruby, for all its elegance, wouldn't help
    me if I had a
    passion for programming LCD wristwatches. Because I "grew up"
    on
    ActionScript, I also have something of a nostalgia for its
    particular
    quirks. I personally happen to find ActionScript more
    palatable than
    Lingo -- so I can see some of your points.
    > The more I get to know actionscript 3 in detail the more
    > I'm convinced those that adamantly support it just don't
    > know any better.
    I don't know if you consider me one of those who adamantly
    supports AS3
    or not, and it doesn't really matter. You yourself said that
    ActionScript
    isn't a bad language -- only that Ruby, in your estimation,
    is that much
    better. Well, good! I'm glad you've found a language that
    pleases your
    palate. :) If you were to change your mind and decide, after
    all, that
    ActionScript actually is a "bad language," it wouldn't be any
    skin off my
    nose. See, if I step away from ActionScript toward something
    else, it means
    I'm stepping away from a platform that has continued to
    intrigue me for
    eight years. If ActionScript were still where it was in the
    Flash 4 days,
    I'd probably be whistling a different tune. ;)
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Ruby on Rails and Dreamweaver 8

    There were, at one time, Ruby on Rails extensions for
    DreamweaverMX, created by Rob Cameron and referred to as
    "RubyWeaver". Apparently, *those were the days*, because you can't
    find them any where now!
    Does anyone know how to use RonR with Dreamweaver? I am just
    starting out. Too poor for ColdFusion and Flex. My only other
    alternative, because I am on a Mac, is to use PHP - but I thought
    RonR was better and faster at creating database-backed web
    applications.
    Thanks for taking the time to read this!

    There were, at one time, Ruby on Rails extensions for
    DreamweaverMX, created by Rob Cameron and referred to as
    "RubyWeaver". Apparently, *those were the days*, because you can't
    find them any where now!
    Does anyone know how to use RonR with Dreamweaver? I am just
    starting out. Too poor for ColdFusion and Flex. My only other
    alternative, because I am on a Mac, is to use PHP - but I thought
    RonR was better and faster at creating database-backed web
    applications.
    Thanks for taking the time to read this!

  • Ruby on Rails

    I tried to follow the Ruby on Rails example post by Apple but it simply didn't work. I got the server started but the SQL migration didn't work. Has anybody made this work or been able to get through the "tutorial?"

    Thanks. It is hard to describe exactly what doesn't work, but I will try. I get to the point in the tutorial where the server is up and running, I get Textmate running, but I keep having trouble with MySQL. I have installed MySQL 5.0.5 but at one point I got a screen that said I was using SQLite3. I think that came with some Apple package. I don't know how to "look at that particular section of the config/database.yml file." Nor how to modify it per the tutorial. "mysqladmin" commands generate an error message saying they can't be found. It seems that I have environmental issues. Of course, the "golden path installation guide," Locomotive, has been removed from circulation. So, I think that the tutorial assumes things will be done for you by installing Locomotive and that can't happen. I can't even get to the sample application.
    Does this help in analyzing my problem?

Maybe you are looking for

  • Nokia N81 firmware update problem!!!

    i cant seem to update my nokia n81 everytime i go into nokia software updater and it searches for phones connected to my computer is says it cant find any even though my phone is connected to the computer according to PC suite i have vista 64bit if t

  • Template AR INVOICE with BILL OF EXCHANGE

    Hello everyone I'm looking for in SAP Business One a Template of AR INVOICE with in the footer a bill of exchange as this example : Thanks for your help. Have a good day. Stéphane.

  • Multiple Mouse Clicks in Captivate?

    hi, i'm trying to get a mouse to click twice on one slide... is this possible? if it's not, how do i get it to advance seemlessly to the next slide? thanks

  • BB Torch 9800 Software Upgrade

    Hi I am running OS 6.0 Bundle 3106 (v6.0.0.723 Platform 6.6.0.248). Please confirm if there is any upgraded version on the same. Thanks Atin

  • Domains All Showing Default Welcome Landing Page

    When setting up Web services I am unable to get Server.app to point domains at their corresponding directories and actually work. I choose the websites directory, but every domain shows the default welcome page in the browser. I am wanting to host se