Ruby on Rails in Portal Applications?

how can i make use of Ruby on Rails for developing Portal interfaces

Hello Rohit,
a Ruby Application can be included into the Portal like any other external application using an URL-iView. If you have to logon to a ABAP Backend system in your Ruby Application you can try to use Logon Tickets as I've used in my Blog: <a href="/people/gregor.wolf3/blog/2006/09/30/single-sign-on-with-external-id-implemented-in-ruby Sign On with External ID implemented in Ruby</a>. You only need the part starting with Variable "rfc2". The ticket is a cookie sent by the client Browser if you are using the same subdomain.
Regards
Gregor

Similar Messages

  • How do I live preview a Ruby on Rails/Ember application?

    I have a Ruby on Rails application and I am under the impression that Edge Code will work with locally hosted web servers to use live preview. I have set up the project settings to use the locally hosted address: http://localhost:3000/ ... However when I use Live Preview I receive the following error.
    "Open an HTML file or make sure there is an index.html file in your project in order to launch live preview."
    I have done so and I meet the criteria but it doesn't seem to work. Does Adobe Edge Code support this feature?

    What's the file extension of the page you want to view in Live Preview? You may need to add it to the internal (not yet easily configurable) list of file extensions.
    Randy

  • Ruby on rails application problem

    hi,
    I have installed the ruby on rails architecture. I also have created an application and it is running also..but the problem is when I try to add,edit or delete any record it gives me the error..:
    ActiveRecord::RecordNotFound in DepartmentsController#edit
    can anyone help:..
    regards,
    Saad.

    Is this applcation specific? Could you explain the problems more.

  • Ruby one rails Web application

    Hi, I have been working on setting up the ruby on rails application for web review that apple sent to my boss and I had some questions if people knew how to fix a few certain problems. I am not very proficient when it comes to ruby or rails, but I don't have the money to hire some one to do this for me, so I am trying to teach my self.
    we are trying to get it to: -
    [Priority 1] Can we convert the QT served files to be streamed rather than 'wait while downloading"? If we can't stream, we need a progress bar to track the download pace.
    - [Priority 2] Web-based upload tool
    - [Priority 3] Who/When an event happens: specifically, who approved the clip & when (on the website)?
    - [Priority 4] Clip length displayed next to the clips.
    - [Prpriority 5]simple log in and password
    I know this is a lot to ask and I am not asking any one to go out of there way to figure anything out, just if any one know any reading material or tutorials and can point me in the right direction it would be appreciated.
    thank you

    Unless you want to learn and support a Ruby on Rails application like the one you are trying to implement, which will work, but will never be officially supported by Apple.
    I would recommend you take a look at services like:
    Media Silo
    http://www.mediasilo.com/fcs
    Wiredrive
    http://www.wiredrive.com
    They do very excellent jobs of offering Robust review and approval workflows.

  • Ruby on Rails Concurrent program registration in EBS 11i

    hi everyone
    I'm trying to see if it is possible to register a Ruby on Rails concurrent program in Oracle E-business Suite 11i applications. We have Ruby on the Rail program we are using to create a GL Daily Rates file into one of our Custom top directory. Our intention is to create a request set that includes this Ruby on Rails program and SQL*Loader program that loads the data into staging table before data is uploaded to the GL_Daily_Rates_Interface.
    I have seen that the execution method for Ruby on Rails does not exist in 11i and have tried to use perl but without success.
    Any help will be much appreciated.
    Thanks in advance.
    Leo

    This is Oracle Application Server forum. Oracle Apps (EBS) forums are here:
    http://forums.oracle.com/forums/category.jspa?categoryID=3

  • Ruby on rails in archlinux bootstrap instalation

    I have 6 servers that were migrated from CentOS to Archlinux. They run apache with ruby on rails. The installations were done via bootstrap with one exception. In all they had to have them installed via bootstrap error "invalid byte sequence in US-ASCII ". I created a debug to see what is happening because the whole application runs on UTF-8. I noticed that the servers installed with bootstrap changed the environment variables, these changes occurred with the application running.
    before the error
    ENV inspect {"XDG_DATA_HOME"=>"/root/.local/share", "GEM_HOME"=>"/usr/lib/ruby/gems/1.9.1", "TERM"=>"xterm", "SHELL"=>"/bin/bash", "SSH_CLIENT"=>"***.**.** 45873 22", "OLDPWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "SSH_TTY"=>"/dev/pts/0", "USER"=>"mongrel", "XDG_CONFIG_DIRS"=>"/etc/xdg", "MAIL"=>"/var/mail/root", "PATH"=>"/usr/lib/ruby/gems/1.9.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl", "PWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "LANG"=>"pt_BR.UTF-8", "PS3"=>"> ", "SHLVL"=>"3", "PS4"=>"+ ", "HOME"=>"/home/mongrel", "XDG_CONFIG_HOME"=>"/root/.config", "BUNDLE_GEMFILE"=>"/home/fusion-apps/minika.objectdata.com.br/rails/Gemfile", "XDG_CACHE_HOME"=>"/root/.cache", "LOGNAME"=>"mongrel", "XDG_DATA_DIRS"=>"/usr/share/:/usr/local/share/", "SSH_CONNECTION"=>"201.95.50.68 45873 192.168.0.200 22", "GEM_PATH"=>"", "PROMPT_COMMAND"=>"echo -ne \"\\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\\007\"", "RUBYOPT"=>"-I/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib -rbundler/setup", "BUNDLE_BIN_PATH"=>"/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/bin/bundle", "G_BROKEN_FILENAMES"=>"1", "_"=>"/usr/bin/bundle", "RAILS_ENV"=>"production"}
    $LANG => pt_BR.UTF-8
    after error
    ENV inspect {"GEM_HOME"=>"/usr/lib/ruby/gems/1.9.1", "SHELL"=>"/bin/bash", "SSH_CLIENT"=>"***.**.** 12975 22", "OLDPWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "USER"=>"mongrel", "MAIL"=>"/var/mail/root", "PATH"=>"/usr/lib/ruby/gems/1.9.1/bin:/usr/bin:/bin:/usr/sbin:/sbin", "PWD"=>"/home/fusion-apps/minika.objectdata.com.br/rails", "SHLVL"=>"3", "HOME"=>"/home/mongrel", "BUNDLE_GEMFILE"=>"/home/fusion-apps/minika.objectdata.com.br/rails/Gemfile", "LOGNAME"=>"mongrel", "SSH_CONNECTION"=>"189.111.110.78 12975 192.168.0.200 22", "GEM_PATH"=>"", "RUBYOPT"=>"-I/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib -rbundler/setup", "BUNDLE_BIN_PATH"=>"/usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/bin/bundle", "_"=>"/usr/bin/bundle", "RAILS_ENV"=>"production"}
    $LANG =>
    The frequency of the error is one of the servers is 30 in 30 minutes, which made me disable syslog and crontab, but still not resolved, the others are one time during the day or at night.
    As I said, the facilities with Centos or Arch with CD do not present problems.
    Last edited by ariveira (2011-05-20 13:26:14)

    One topic, bootstrap install usage http://arm.konnichi.com/2010/10/18/ repo because limit of Centos, after pacman -Suy

  • New wiki page on Ruby on Rails

    Hi,
    Just wanted to let you know that I created a Ruby on Rails page on the
    wiki. It's not really long but the basis is there to quickly set up a
    rails application.
    http://wiki.archlinux.org/index.php/RubyOnRails
    As always, please feel free to comment and edit the wiki.
    ekse

    Hi,
    It is a really nice idea. Maybe the page ought to serve as a hub for other articles.
    A couple of comments on sharing medias:
    * I have not been very happy with upnp. I used it for a while when I had a Synology NAS, but the fact that it seemed to rely on some kind of index made it less attractive. Samba has treated me nice; it always works (as oppose to "real" Windows shares which is a drag to setup).  I use samba for sharing videos and pictures to XMBC4Xbox.
    * For streaming live audio output, i.e. what is playing *right now* on my laptop to my stero, I have found a combo of icecast, pulseaudio and gstream to work nice. For serving static audio files I use squeezeboxserver. Had I used a Sonos sound system I would have used Samba again.
    * For PS3, which is a somewhat limited device, there is a nice java application that takes care of everything.
    * What I really miss is some way to preserve metatags when downloading video podcasts. To me it does not matter much at the moment as xbmc does not support local rss feeds. . . 
    I could add some comments on some of the above if you think it fits into your article.
    --Rasmus

  • [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)

  • Problem: fcgi with ruby on rails

    hi!
    i'm working on an application using an ajax based web frontend developed with ruby on rails.
    with oracle apache's normal cgi this runs, but very slow (4+sec latency) compared to webricks.
    does anyone have some pointers how to get fastcgi to work under these circumstances?
    i'm looking for a solution on solaris.
    thanks, cornelius

    Hi,
    can you provide some error messages from the logs?

  • 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!

  • 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

  • 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?

  • Ruby on rails idea

    I had an idea for a ruby on rails application. Basically it is an online classroom. Teachers sign up and can make courses online, similar to moogle, but the data itself is also made by the teachers or other volunteers instead of it jsut being a course administration tool, with other resources needed for it to work, like textbooks, etc... e.g.: a full year math course, complete with tests and quizes and self check homework. It could feature a gradebook, forums, calendar of course events and such, schedules for work, interactive tutor pages for different aspects of subjects, online lessons, chat sessions, etc...
    Anyways, I thought this would be a cool idea to develop, and perhaps eventually even make.

    Dusty wrote:I'm sure you can justify such statements iphitus.
    Yeah I can, but i had to go out earlier
    Most of the teachers at my school are utterly clueless when it comes to computers, and to them it seems a big steep learning curve. Others just dont trust them. While they have an effective and working system in place, teachers won't want to switch to a computer based setup. Adding computers in adds even more room for disruption. When you have a class of thirty, all using computers, something *will* go wrong.
    In year 10, it is a requirement for everyone to have a laptop computer. And teachers did let us use them, to take notes, do work, etc. But the reality is, that students will be distracted. Games of counterstrike, gameboy emulators, tetris was popular, were common.
    Students could easily access webpages and such too when they desired.
    The teachers were simply incapable of policing it.
    A handful didnt realise you could minimise, and for those that did, some students discovered 'double desktop', aka multiple desktops. One keypress and battlefield is gone, your word document is on screen.
    Dont say training, it's just not practical, no matter what, teachers will be one step behind students, and once one student finds away around something, it spreads.
    And dont even consider locking computers down. With windows? pssh, good luck. It'd be easier to find a needle in a haystack than lock windows down. Linux? It's simply not ready. Linux didnt support my wireless driver for at least 6 months. Linux wireless sucks imho. Linux doesnt support many programs that the teachers and students are used to either. Dont say wine. More work, and it doesnt always provide the most consistent results.
    Which leads me to another point, what real benefits does a computer provide? the ability to use Comic Sans MS?
    Sure you can use programs like OneNote (windows oriented school ) or other things to take well organised notes, but I betcha, I could find anything in my handwritten notes faster than any computer note taker.
    Essays are best done on paper. You dont have spell check, grammar check and the ability to chop and paste in an exam.
    I suppose you could do research on the computers, but then, when the school has three full class computer rooms, why bother with laptops just for research when you could go to those rooms?
    Computers break down, computers stop working. Viruses, Infections, Spyware, Trojans, Adware (hey that spells Vista!). One student I know had at least 5 new hard drives, in 2 years. And each one interrupted his schoolwork in some way. I had one new one myself.
    The benefits of computers in the classroom do not outweigh the distractions and effects of them.
    If it aint broke, dont fix it. It's easier, and more productive to learn by paper and pen. I find i take more in if I write it by hand too.
    put simply. it doesnt work
    phew... ok, rant over.
    slightly more on topic: having a system with the things mentioned above would be terrible to maintain. It's extra work for teachers (they hate that), and it would need to be kept up to date. Curriculum changes. You couldnt share between different schools either, as many teach things differently. Online lessons? Man I have a text book! Chat sessions? I'd rather talk face to face, it's soo much quicker and effective. I know that my teachers are happy to field any questions, in or out of class time.
    secondary rant over.....
    ciao,
    iphitus

  • 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.

  • Solaris 10, Ruby on Rails, Core Dumps

    I am not very savvy with Solaris administration and we are having issues with configuring our system to run Ruby on Rails applications. We opted to use the Coolstack framework for our environment, thankfully without many hiccups. That said, our applications load but core dump during the second page load.
    At this point, I'm not sure if it's our recent switch to Coolstack that is causing the problem. We've also worked to get a Mongrel cluster up and running, so that could also be the culprit.
    What I'm looking for really is advice on how to pin down what the error is. I've learned about pstack to deal with the core dump file, but I'd have a better time understanding Chinese than that output. I also read about gdb and dbx, neither of which appear to be installed on our system. A strings on the file, another recommendation I found, spits out a bunch of gibberish.
    How can I move forward in discovering the problem?

    I'm having the exact same problem with my Solaris server. I can't seem to get any form of Rails running on the system, and pages generated by Rails crash after a few page loads (not always the same number).
    Did you have any luck tracking down the issue? I've asked around in a number of places and come up empty-handed every time.

Maybe you are looking for