similar to: Setting up deployment scenario

Displaying 20 results from an estimated 10000 matches similar to: "Setting up deployment scenario"

2006 Jan 25
8
conditional replacements in rhtml
I am working on the Agile programming tutorial and trying out some ruby code. Can someone tell me why the following works: <h1>Display Cart</h1> <p> Your cart currently holds <%= @items.size %> <%= @items.size == 1 ? "item" : "items" %>. </p> while this does not? <h1>Display Cart</h1> <p> Your cart currently
2006 Jun 30
2
Subscription Payment Model
Ok, I''m new to the world of actually charging for software, and it''s taken me a full month to decide how to charge in a way that doesn''t make me sleep with difficulty at nights. :) If someone can look at this and verify I''m on the right track or give any hints/tips, I''d greatly appreciate it. Basically, I want each user to be able to apply
2006 Jan 25
12
DRY in Models
I am building an app right now that needs to grant access to three levels of members right now - each will have their own table in the DB. When creating the add_user action I am converting the password into a hashed password through the model. The way I am doing this right now, I will inevitably end up with repeated code in three different models. Is there a way I can define this code in
2006 Jan 24
18
Can''t install rails, instructions in the book are wrong....
I can''t even get Rails installed in Windows XP. I follow the directions in "Agile Web Development With Rails", I download Ruby, then RubyGems, and I install those, and I then type the command that came right out of the book. C:\ruby>gem install rails --include-dependencies and it doesn''t even work: C:\ruby>"C:\ruby\bin\ruby.exe"
2006 Jun 01
3
rake create_sessions_table, does not create session table
when i run rake create_sessions_table, I get following output. tables donot get created and my application doesnot start. (in G:/rubysrc/blog) create db/migrate create db/migrate/001_add_sessions.rb info: the first time ran take everyting was fine, but now i have reinstalled ruby and rails and created the database, but i am unable to create session table with rake, please help.
2006 Mar 27
3
Migration commands -- create a SQL Server production DB?
Hallo -- could anyone tell me how I use Migrations (which my existing development schema is implemented with) to create the production database for deployment? The target DB is a SQL Server database -- I don''t know if that''s an issue -- I seem to remember reading that SQL Server is supported now. Oh, yeah -- SQL Server was *not* my choice! But what I seem totally unable to
2006 Jan 23
3
[OT] Lighttpd + AWStats
Hello ~ I have posted a tutorial on my blog, http://www.benr75.com/pages/lighttpd_awstats_tutorial, on how to get AWStats and Lighttpd to work together. I thought it might be of interest to Rails folk as I know many run Light. Enjoy, -- Ben Reubenstein http://www.benr75.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Dec 19
3
RMagick Resizing Issue
Hello ~ I have RMagick and file_column working in RoR. In my model I am setting up some standard sizes for the submitted photos. The photo files are created and named correctly, but the sizes are wrong. Only the second argument of my geometry call is used, with the width dimension being resized proportionately. file_column :image, :magick => { :versions => { "medium" =>
2006 Jan 12
3
ActionMailer bug?
Hi , I have actionamailer working properly with a template and a model for creating the mail object etc. The whole thing works correctly if I use Webrick.but when I use it on Apache,i get the error which says "template missing".rails is unable to find the template for the mailer object.Hasanyone noticed this? Vivek PS:I am still not using the 1.0 version -------------- next part
2006 Jan 20
3
text_field_with_auto_complete
Hi, I am trying to use text_field_with_auto_complete, it works fine but when I click on an item (even if I use the up and down key and then type enter) th search panel disappears but the selected results is not shown in the text field. Even more, the text field becomes empty. Any idea? Thanks S?bastien -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 26
1
Migrations: column option "offset"?
Hi, On the wiki http://wiki.rubyonrails.com/rails/pages/UnderstandingMigrations it says: Valid column options are: - limit - offset - null (i.e. ? :null => false? implies NOT NULL) - default (to specify default values) I was wondering what the purpose of the "offset" option is. And after looking at the API at
2006 Jan 21
6
Redirecting in a view?
Is there a way to do this in a view? <% redirect_to ''http://url.com'' %> All I can think of is outputting a link and using Javascript to click it, or probably do something like ''doc.location(url)''. csn __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2006 Jan 16
42
Linux Suggestions
I''m fairly new to Ruby & Rails and I come from a stricly M$ background. I''m trying to move into the world of open source, but I don''t have a good roadmap. I''m starting to develop a Rails-based product and I want to have the option to distribute it to non-hosted customers. So I''ve said all that to say this... I want to learn how to setup linux and
2006 Aug 14
5
UML
In Rolling with Ruby on Rails tutorial - http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html - I saw that to introduce a new element to my domain, I needed to define it in a table, generate a model element with a similar name and the class would autoamtically take the attributes from the table definition. Is it possible to do this in the other direction... i.e to take the class diagram
2006 Jan 18
7
FastCgi issue
Hi, I know that Apache2 + fastcgi is sometimes difficult to setup, but I was wondering if anyone has come across this error and if yes what did you do to resolve it? [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115] FastCGI: comm with server "/var/htdocs/ot/public/dispatch.fcgi" aborted: idle timeout (120 sec) [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115]
2006 Jan 24
14
A bad day with Action Mailer
Hi, I''ve setup Action Mailer today to email the contents of a form. Every seemes fine except when the email is sending. Here is the error I get on the production server: SocketError (getaddrinfo: Name or service not known): /usr/lib/ruby/1.8/net/protocol.rb:83:in `initialize'' /usr/lib/ruby/1.8/net/protocol.rb:83:in `new''
2010 Dec 10
2
News: Heroku bought: Salesforce wants some Ruby love: $212m goes a long way
News to me. Probably worth considering when choosing your deployment options. http://www.theregister.co.uk/2010/12/09/salesforce_why_buy_heroku/print.html Dreamforce 2010 Why would a company that spent 10 years delivering CRM as a service drop $212m in cash and $27m in stock on a 30-person startup that hosts Ruby on Rails apps for devs on Amazon? Salesforce.com vice president of technology and
2006 Jan 25
0
Shovel Switchtower deployment
Hello, Iam trying to use Shovel deployment as explained here http://nubyonrails.com/pages/shovel. Iam currently using windows as my development environment and *nix to deploy the application. I have changed all the dispatch.* files to be executable. but when I run rake remote_exec ACTION=setup_lighty it asks for my password and installs lighttpd and other stuff, but fails on task update_code.
2006 Apr 04
2
loading data with migrations
Hello, I''m just taking a look at migrations, seems like a fantastic way to maintain the database. I am wonder if there is a way to maintain what I''ll call "reference data" along with the migrations. A lot of times in apps your have tables that have pretty static data, often used to generate select lists. Is there a way to insert the reference data into these tables
2006 Feb 21
2
Managing Database Alter Scripts
I just posed this question to #subversion, with no reply. Any thoughts here? I''m trying to decide how to manage database changes w/ subversion. I''ve got a large number of production checkouts of a branch (actually, multiple branches). Of course I have a base script to create the schema, and this is updated of course when new fields are added to the system. When a new field