similar to: Launching a standalone Rails app

Displaying 20 results from an estimated 1000 matches similar to: "Launching a standalone Rails app"

2006 Jan 21
5
Distributing a Rails app
I''ve developed a Rails application that I''d like to make generally available, but I''m not sure how to go about this, or even what tools are most appropriate. Is this something that the Rails framework provides, or is it a job for Rake? for Rubygems? for Tar2rubyscript or Rubyscript2exe? A pointer to a "Distributing your Rails Application" would be ideal. --
2007 Apr 10
2
What does the end user need to run wxruby apps ?
Hi ! I''m new to this mailing list ! I''m just beginning to learn ruby programmation, ( so far mainly coded php web apps, and math algorithms with Caml ), so i''m a noob about libraries, toolkits, etc .... I wondered what does the end user need to run wxruby applications ? _ On Windows, he''ll need the ruby interpreter ( such as the one click ruby installer ), and
2006 Mar 13
8
Nested find(:all, :include => ) statements
Is there a way for me to do: OrderItem.find(:all, :include => [:user, :product => [:supplier]] So I don''t have a supplier_id on my order_item, but have it on my product, which is part of order_item. Joerg -- Posted via http://www.ruby-forum.com/.
2006 Jan 22
3
Download an Image using Net::HTTP
Hi, I need to download an image, and I''ve mucked about with Net::HTTP resp = Net::HTTP.get_response(''www.mydomain.com'', ''/test.jpg'') f = File.new("test.jpg","w") f.write(response.body) And various other combinations using HTTP.get etc. Anyway, I get an image, but it looks very psychedelic. This is obviously not the correct way.
2006 Jul 17
14
REST Relationship Models
I''m trying to figure out an elegant way to do this: I have the following three tables: people, employer, employees And consequently the following three models: class Person < ActiveRecord::Base end class Employer < ActiveRecord::Base has_many :employees end class Employee < ActiveRecord::Base belongs_to :person belongs_to :employer end I want to be able to say:
2006 May 31
7
How to render from with <%%> ?
I have a loop that I iterate through in my view. <% coll.each do |itm| puts(itm.value) end %> How do I render the itm.value without using a <%= %> tag? Should puts not work? Joerg P.S. There is a good enough reason for me wanting to do this :-) -- Posted via http://www.ruby-forum.com/.
2006 Jan 12
8
Synching between Sqlite and MySql
Hi folks, I am running an offline Rails app that periodically connects to the Internet to download the latest catalogue, and upload any new orders. I am about to implement the synching bit - and was thinking whether there is any other solution other than writing webservices and code to do a manual sync of the data, or whether there is a more nifty and robust way using say replication?
2006 Aug 10
1
Passing parameters defined in a function or something
Hi, I have method I want to call ... it can receive * number of parameters. I also have 3 parms that I want to pass often, so I have defined them in a separate function: def my_params { :parm1 => 1, :parm2 => 2, :parm3 => 3 } end And I want to call my method like this: mymethod :parm4 => 4, my_params Now - this doesn''t work - as my_params is a hash of params, which
2006 Jul 19
2
SimplyRestful bug?
Hi I have my routes set up like this: map.resource :contact, :path_prefix => "/employers/:employer_id" so now when I view all contacts for an employer I go to: /employers/1/contacts That works. On that page, there''s a problem with the routes: new_contact_url translates to: /employers/1/contacts/new ... so that works. But, contact_url(@contact) gives me
2006 Jan 10
2
Returning :success or :failure to remote function calls
Hi, When calling remote functions (AJAX), I can test for :success and :failure. But how do I return a :success or :failure to my AJAX function call from my action? Thanks Joerg -- Posted via http://www.ruby-forum.com/.
2006 Jan 20
2
AWS and passing in a Model
Hi, I have a webservice. And I want to pass in, a model. So, for example: api_method :save_person, :expects => [Person] When I do this I get an error saying that I cannot have ActiveRecord objects as parameters. Fine. I can have AWS Structs as parameters. I don''t want to start ''maintaining'' a struct everytime I change the table structure od Persons. So, is
2007 Jul 25
11
taskbaricon
Salut alex, j''ai un petit souci. quand j''utilise "demotaskbaricon" avec traducteur-wxruby, que j''ouvre mon application(donc l''icone apparaît dans la barre de lancement rapide) et que je ferme mon application, l''icone disparaît tout de suite. Mais quand je l''utilise avec l''exemple Wizard et que je ferme mon application
2007 Jun 12
4
fichier wxruby2
Bonjour, je voulais savoir si il est possible d''installer les fichiers wxruby2 ailleurs que dans les dossiers habituel et sans se servir de rubygems? car j''aimerais pouvoir les déplacés. Merci Sebastien _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Jul 09
2
DOS box popping up under rubyscript2exe
Hello My email has been broken for a week and some of it seems to have gone astray - so if there are other unanswered wxruby queries kicking about, please repost or forward me them. I have encountered this problem with a DOS box popping up under rubyw / rubyscript2exe; I don''t think it''s related to wxruby. I found them popping up when shelling out with backticks - I believe
2008 Jun 13
7
Rubyscript2exe undefined ''run'' method
After I ran my program through Rubyscript2exe, the Random.exe file that it created is causing the following error: D:\Ruby projects>random.exe C:\DOCUME~1\JEDELS~1\eee\eee.Random.exe.2\app\Random.rb:59: undefined method ''ru n'' for Wxruby2::App (NoMethodError) from C:\DOCUME~1\JEDELS~1\eee\eee.Random.exe.2\bootstrap.rb:77:in `load'' from
2006 Apr 13
10
Typo and acts_as_ferret rebuild_index errror
Hi, I''m running the edge Typo and the latest acts_as_ferret plugin and ferret gems (as of 11 April). In my Content model I put acts_as_ferret :fields => [:title, :body] In the console, I call Content.rebuild_index to index all of my existing content. All the directories get created etc, but I get the following error back: Loading development environment. >>
2006 Mar 03
1
starting webrick from ruby (tar2rubyscript.rb)
I am using tar2rubyscript to package up a rails application and run it as one file from the server. If you run script/server and have lighttpd install it will start lighty instead of webrick. So, thanks to Erik Veenstra''s suggestion, I add ARGV.unshift("webrick") to the init.rb file to force webrick to start: ARGV.unshift("webrick") load "script/server"
2007 Feb 11
2
"no camping required" deployment?
Hi, So Lennon got me going with my database-less Camping app, but I''ve just realized that, I have no deployment strategy. This app is to provide a GUI front end to our FUN3D fluid flow simulation monster, which is used by ourselves, companies, universities, hobbyists, and the military. The end result of which, is a file of (key, value) pairs read by FUN3D. Requiring our users to have
2006 Apr 05
4
distributing rails apps for localhost usage
Has anyone come across any interesting ways to make rails apps easily distributable to run on a local machine. I''d love to be able to "bundle" my rails app into a single file that would contain a simple webserver, database and my rails app which a non-experienced user could then download install on their machine, go to a web browser and run the app locally. I envision it
2006 Jul 06
5
Building a standalone application with RoR
Hello, I have to code a small application for a car repair shop running under Windows (98 SE but may be my client could upgrade to 2000) and using RoR is my definite choise ! The app will be powered by WebRick (which is enough powerfull for a small app used by only ONE user at a time) My questions are targeted to the best database to use... I had a look to SQLite and Firebird but support