[Rails] Re: Looking for way to test for an unsaved record in Rails 3

2011-08-02 Thread 7stud --
Both ActionView::Helpers::FormBuilder#object() and ActiveRecord::Persistence#new_record?() exist in rails 3. Here is how "Ruby on Rails 3 Tutorial" uses them: <%= form_for(@user) do |f| %> <%= render 'some/partial', :object => f.object %> Then a local variable named 'object' is available i

[Rails] Looking for way to test for an unsaved record in Rails 3

2011-08-02 Thread Bob Smith
I need to do an html delete if the record isn't saved, so in Rails 2, all I had to do was: <% if person_form.object.new_record? %> <%= link_to_function "Delete", "delete_row()" %> <% else %> object doesn't seem to be there, and rails 3 seems angry about the fields_for that defines per

[Rails] Re: NoMethodError in Store#index

2011-08-02 Thread 7stud --
The error message says to look in this file: C:/rails/shop9/app/views/line_items/_line_item.html.erb where this is happening: undefined method `title' for nil:NilClass That means that nil is calling the title() method. In ruby, nil is an object that represents nothing. And something that is

[Rails] Re: One controller, multiple models, how to create ?

2011-08-02 Thread 7stud --
> One controller, multiple models, how to create ? class PostsController < ApplicationController def new p = Post.new c = Catalog.new t = Tag.new end end class Post < ActiveRecord::Base end class Catalog < ActiveRecord::Base end class Tag < ActiveRecored::Base end -- Posted vi

Re: [Rails] Nested Rotues

2011-08-02 Thread Tower He
> Hi, > > I am making a survey app. > > The user takes the survey and I'm saving it fine. > > But what i want next is to redirect the user to /surveys/1/results > after completion. > > I have tried the following in my routes file: > > > Rails.application.routes.draw do > resources :surveys do >

[Rails] One controller, multiple models, how to create ?

2011-08-02 Thread coolesting
Hi, guys, I want to create a controller that assocates multiple models(ActiveRecord), how to building ? For example, my controller called posts, it has the models post , catalog and tag. thanks all. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Ta

[Rails] Re: Nested Rotues

2011-08-02 Thread bigegg
What's the structure of your model? survey => answers, or survey => results? Use 'rake routes' to give you a sense of what route helpers you can use. Yan On Aug 3, 7:28 am, jdkealy wrote: > Hi, > > I am making a survey app. > > The user takes the survey and I'm saving it fine. > > But what i wa

[Rails] Re: How to install new version of SQLite in the bundle?

2011-08-02 Thread 7stud --
Rubyist Rohit wrote in post #1014558: > I am learning rails and referring to the -- Ruby on Rails Guides: > Getting Started with Rails. > > I executed command: bundle install > > It displayed a lot of names and among them was SQLite. bundle install is used to install all the gems listed in your Ge

[Rails] Nested Rotues

2011-08-02 Thread jdkealy
Hi, I am making a survey app. The user takes the survey and I'm saving it fine. But what i want next is to redirect the user to /surveys/1/results after completion. I have tried the following in my routes file: Rails.application.routes.draw do resources :surveys do match 'results' => 'r

[Rails] NoMethodError in Store#index

2011-08-02 Thread Vincent Mr
Thanks in advance I want to know how to solve No method errors Agile Rails 4th ed Great book But second time I get this type of error I would like to know how to troubleshoot and resolve Please see below thanks once again NoMethodError in Store#index Showing C:/rails/shop9/app/views/line_i

[Rails] Re: Database preference?

2011-08-02 Thread Peter Song
Thank you both for the replies. I've had issues with PostgreSQL and it seems like the main advantage of Mysql is ease of use. So I was wondering if Mysql would make life easier. Anyway, the advice about being database agnostic is good... always good to be flexible when you can. I'll stick with P

Re: [Rails] Re: Limit number of requests per second

2011-08-02 Thread Rafael Fernández López
Hi, Yeah, that could be a solution if that was the case. I didn't explain enough in depth the problem. When you perform a request, you provide certain arguments that are cointained in the request itself, so it's not only a matter of having a background job that collects information updating the d

[Rails] Re: How to install new version of SQLite in the bundle?

2011-08-02 Thread Rubyist Rohit
Where is the latest SQLite Ruby Gem located? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this grou

[Rails] removing instance variables in partials?

2011-08-02 Thread 7stud --
Hi, I read some articles about why partials should not have instance variables in them. But in "Ruby on Rails 3 Tutorial" the author starts with this partial: View: <%= form_for(@user) do |f| %> <%= render 'shared/error_messages' %> Partial: <% if @users.errors.any? %> ... ... I thought rem

Re: [Rails] How to install new version of SQLite in the bundle?

2011-08-02 Thread Conrad Taylor
On Tue, Aug 2, 2011 at 12:30 PM, Rubyist Rohit wrote: > I am learning rails and referring to the -- Ruby on Rails Guides: > Getting Started with Rails. > > I executed command: bundle install > > It displayed a lot of names and among them was SQLite. I see that it is > of old version and want to i

[Rails] How to install new version of SQLite in the bundle?

2011-08-02 Thread Rubyist Rohit
I am learning rails and referring to the -- Ruby on Rails Guides: Getting Started with Rails. I executed command: bundle install It displayed a lot of names and among them was SQLite. I see that it is of old version and want to install the latest version of SQLite. Should I just replace the SQLit

[Rails] [JOB] Rails Developer, New York City to 140k

2011-08-02 Thread OSS
This is a full time, on-site, salaried Ruby on Rails Developer position paying $100,000-$140,000 depending on experience + benefits. No telecommuting allowed. US Citizens or Green Card holders only please. Local candidates strongly preferred, but candidates interested in relocating considered as

[Rails] business intelligence software

2011-08-02 Thread Mattia xxx
Hi there, i'm searching for a RoR platform that allows to create private and separate communication channels, to keep clients updated on their projects progress statuses. is there any kind of software free? thanks in advance -- Posted via http://www.ruby-forum.com/. -- You received this message

[Rails] PDF format of Rails Guides

2011-08-02 Thread Rubyist Rohit
Is there a downloadable PDF version Rails Guides? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this

[Rails] Re: invalid multibyte character error

2011-08-02 Thread Ritesh Kumar
Some more configuration to escape error: - Make sure 'config.encoding = "utf-8"' is there in application.rb file. - Make sure you are using 'mysql2' gem - Putting '# encoding: utf-8' on top of rake file. - Above '::Application.initialize!' line in environment.rb file, add followi

[Rails] Re: Problem launching WEBrick in Rails

2011-08-02 Thread Ritesh Kumar
Create a soft link by command - sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib http://rorguide.blogspot.com/2011/07/getting-error-library-not-loaded.html -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed

[Rails] Re: Error while installaing Rails: [Errno: EINVAL]

2011-08-02 Thread Rubyist Rohit
What is ri and rdoc? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyon

[Rails] Stitch over asset pipeline

2011-08-02 Thread Wojtek Augustynski
I'm wondering if anybody is using Stitch ( http://alexmaccaw.co.uk/posts/2011/06/30/rails_js_packaging.html) over the sprockets pipeline? Sounds like the solution that should have been introduced over sprockets. What I'm wondering is if we would be also able to use NPM to import local commonjs p

Re: [Rails] image path save in mysql database

2011-08-02 Thread Walter Lee Davis
Look closely at the Creating Complex Forms Railscast (2 parter). While that covers making a quiz, you can follow the same logic to create a way to upload multiple images to a single parent object (using accepts_nested_attributes_for) so there's no limit to the number of images each object c

[Rails] t.references question regarding migrations..

2011-08-02 Thread Rick F
Ok.. So I've been doing more reading after buying a few RoR books now.. I've got my data models setup without any foreign keys between the tables (much to my dismay). What I'm wondering are the following : 1) should I be manually setting up the foreign keys by editing the initial migration st

[Rails] Re: Problems with fixtures and HABTM

2011-08-02 Thread Juan Kinunt
The problem was that if you want to use the name convention for defining relationships like in: treatments: treatment4 The treatment fixture cannot have an id attribute. Ids should be managed by Rails in this case. -- Posted via http://www.ruby-forum.com/. -- You received this message becau

Re: [Rails] resource create action with json

2011-08-02 Thread Tower He
On Tue, Aug 2, 2011 at 9:47 PM, vhochstein wrote: > Hi, > > Regularly, you create a resource in html via form. you ve got some > naming conventions for form fields and rails will bring it together > for you in params hash. > > My question is, how my i do this with json. I would like to create a >

[Rails] resource create action with json

2011-08-02 Thread vhochstein
Hi, Regularly, you create a resource in html via form. you ve got some naming conventions for form fields and rails will bring it together for you in params hash. My question is, how my i do this with json. I would like to create a resource with pure json. do I have to follow specific naming,syn

Re: [Rails] image path save in mysql database

2011-08-02 Thread Everaldo Gomes
Hi, I am newbie in RoR and I don't know how to help you accomplish this (multiple images). I suggest that you take a look at www.railscasts.com or http://ruby-toolbox.com/ Best Regards, Everaldo On Tue, Aug 2, 2011 at 11:15 AM, john paul wrote: > Hi > > Already i used for paper-cli

[Rails] ror +auth_token + c#

2011-08-02 Thread tom
HI, i have to change a desktop app written in c# to post and get some data to/from a rails app. the railsapp uses devise. what im doing right now is: 1) pull up sign_in page 2) parse 1) for auth_token 3) post username+ pwd & auth_token 3.1) if 3 ok > goto 4) 4) post json data that works all good,

Re: [Rails] Error while installaing Rails: [Errno: EINVAL]

2011-08-02 Thread Tim Shaffer
You can also add this line to your ~/.gemrc file to make it the default: gem: --no-ri --no-rdoc -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/

Re: [Rails] image path save in mysql database

2011-08-02 Thread john paul
Hi Already i used for paper-clip plugins and i need in file upload add multiple images and store database , if i retrieve images from database all images display in singal page , Regards, John Paul.D -- You received this message because you are subscribed to the Google Groups "Ruby o

Re: [Rails] image path save in mysql database

2011-08-02 Thread Everaldo Gomes
Hi! Usually, people save only the path for the image in the database and stores the binary file in the filesystem. Take a look in some gems, like paperclip, that do this job - https://github.com/thoughtbot/paperclip Best Regards, Everaldo On Tue, Aug 2, 2011 at 10:59 AM, john paul wrote: > H

[Rails] image path save in mysql database

2011-08-02 Thread john paul
Hi have doing one ruby project i can upload image in mysql database save in binary if u have any idea help me -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsu

[Rails] Re: page.replace_html :template => 'index'

2011-08-02 Thread ruby r.
add :update => "content" in your form_remote_for tag eg. <% form_remote_for(@object,:url => {:action => 'update'}, :update => "content") do |f| %> <% end %> and in your controller if saved render :template => 'index' else render (:update) do |page| p

[Rails] Tools/gems for A/B testing

2011-08-02 Thread bertly_the_coder
Hi guys, What tools/gems(paid of free) do you use for A/B testing in your rails 3 applications? I have looked at Google's Web Toolkit, but it diverts heavily from the DRY methodology, I have tried both the abingo and vanity gems, but they don't seem to support Rails 3. Are there any others out the

Re: [Rails] Error while installaing Rails: [Errno: EINVAL]

2011-08-02 Thread Alex Katebi
gem install rails --no-ri --no-rdoc Nobody ever uses the stupid ri rdoc crap and there is always some issue installing them. On Tue, Aug 2, 2011 at 7:16 AM, Rubyist Rohit wrote: > While installing Rails on Windows 7 using following command, an error > was displayed and installation interrupted.

Re: [Rails] Parse rails object into Javscript

2011-08-02 Thread Alex Katebi
On Tue, Aug 2, 2011 at 6:09 AM, DJ Patterson wrote: > I currently have a timesheet page which displays a calendar, a search > function that allows a user to search for a project. Once the user has > selected a specified project they press the plus button that creates a > new row in a new table. I

Re: [Rails] Re: How can i get The MAC address

2011-08-02 Thread Alex Katebi
%x/ifconfig/ On Tue, Aug 2, 2011 at 6:55 AM, Rajashekar R. wrote: > How can i get The MAC address from existing system. Plz send me any Code > about the MAC Address > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Group

[Rails] Re: Rendering json with default options.

2011-08-02 Thread Yang Yi
try override serializable_hash def serializable_hash(options = nil) super(options.merge(:methods => :some)) end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d

[Rails] Re: Re: each do js problem

2011-08-02 Thread Neil Bye
Neil Bye wrote in post #998024: > Jeffrey L. Taylor wrote in post #997862: > "> I rebuilt the app in Rail 3 and the above no longer works. Has anybody an idea why? Or What can I use instead? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to

[Rails] Error while installaing Rails: [Errno: EINVAL]

2011-08-02 Thread Rubyist Rohit
While installing Rails on Windows 7 using following command, an error was displayed and installation interrupted. Attached is the image. gem install rails How to rectify this error and what it means? Attachments: http://www.ruby-forum.com/attachment/6484/RailsInstallationError.png -- Posted v

[Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Juan Kinunt
IMO you are mixin Rails and Ruby. Rails has one focus on facilitating code reuse. In no way Ruby or Rails have invented code reuse. Nobody says that. If you are learning Rails I think you should do what others are saying first. Rubyist Rohit wrote in post #1014431: > Isn't the concept of Class

Re: [Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Chris Kottom
Lots of people, especially beginners, copy and paste a lot of code. Just about everyone's done it, and it's a great way to get started and get something that works, but the resulting code can be brittle and hard to maintain because you've got the same or similar logic spread out everywhere. Class

[Rails] Re: How can i get The MAC address

2011-08-02 Thread Rajashekar R.
How can i get The MAC address from existing system. Plz send me any Code about the MAC Address -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-ta

[Rails] How can i get The MAC address

2011-08-02 Thread Rajashekar R.
How can i get The MAC address from existing system. Plz send me any Code about the MAC Address Attachments: http://www.ruby-forum.com/attachment/6480/raj.rar -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

[Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Rubyist Rohit
Isn't the concept of Classes mean this? Does Ruby has something more advanced? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups

Re: [Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Chris Kottom
>From Wikipedia (which is the first Google result for "don't repeat yourself"): In software engineering , *Don't Repeat Yourself* (*DRY*) or *Duplication is Evil* (*DIE*) is a principle

[Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Rubyist Rohit
7stud -- wrote in post #1014420: > Rubyist Rohit wrote in post #1014419: > > Situation 1: you have a method with 20 lines of code that performs a > calculation, and every time you need to execute that code you call the > method. > > Situation 2: every time you need to do do the calculation, you wr

Re: [Rails] posts go poof!

2011-08-02 Thread Chris Mear
On 2 August 2011 10:16, 7stud -- wrote: > he main goal of any web site that allows you to enter text in a > textarea > is: NEVER lose the text that a user types in.  With this forum's > software, > you can spend a great deal of time writing a masterpiece of a response, > and then hit submit--only

[Rails] Parse rails object into Javscript

2011-08-02 Thread DJ Patterson
I currently have a timesheet page which displays a calendar, a search function that allows a user to search for a project. Once the user has selected a specified project they press the plus button that creates a new row in a new table. I've done this using Javascript. I am so close to finishing thi

[Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread 7stud --
Rubyist Rohit wrote in post #1014419: > @Martin: > > I am going through the tutorial link you provided. It discusses about > assumptions made by Ruby. One such assumption is: "Keeping code DRY > (Don't Repeat Yourself)". Is Ruby assuming the drawbacks of code > re-usability that is popular througho

[Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Rubyist Rohit
@Martin: I am going through the tutorial link you provided. It discusses about assumptions made by Ruby. One such assumption is: "Keeping code DRY (Don't Repeat Yourself)". Is Ruby assuming the drawbacks of code re-usability that is popular throughout programming paradigm? -- Posted via http:

[Rails] Re: Heroku deployment issue

2011-08-02 Thread 7stud --
SW Engineer wrote in post #1014394: > I'm following this tutorial, and have followed the steps to deploying to > 'Heroku'. > > When I open the application from 'Heroku', > What does that mean? Typically, you request a webpage from a server, which means you want some webpage to be displayed by yo

[Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread 7stud --
Rubyist Rohit wrote in post #1014409: > What are the initial steps? I have a little knowledge of PHP as well and > with that limited knowledge I think first I need to design a web-page > using HTML and CSS. Later I need to write Ruby classes and integrate > code within those nasty HTML DIVs. > Gue

Re: [Rails] How to design and write my first blog using RoR?

2011-08-02 Thread Chris Kottom
If you're really interested in learning Rails and your first step is going to be writing HTML and CSS, you might be doing it wrong. Same thing with focusing on the editor you use. Watch the flow in the Rails blog example video link (or the Rails guide that Martin linked to), and notice the flow o

Re: [Rails] How to design and write my first blog using RoR?

2011-08-02 Thread Dhaval Mehta
http://guides.rubyonrails.org/getting_started.html is the best site for new ROR developer.. and it also show how to create simple blog .. Best of luck.. On Tue, Aug 2, 2011 at 2:26 PM, Rubyist Rohit wrote: > I want to design a blog using RoR. It is also my initial step with RoR. > I want to

Re: [Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Martin Wawrusch
First you need to go through the tutorial I linked to. Then you might want to add additional styling. On Tue, Aug 2, 2011 at 2:17 AM, Rubyist Rohit wrote: > What are the initial steps? I have a little knowledge of PHP as well and > with that limited knowledge I think first I need to design a w

Re: [Rails] Database preference?

2011-08-02 Thread Simon Riggs
On Sun, Jul 31, 2011 at 7:23 PM, Peter Song wrote: > Mysql or Postgresql? Or some other database. > > What do you prefer and does it really matter down the road? Anybody have > disaster stories where you choose one and it turned out another would > have been better? Do you use different dbs depen

[Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Rubyist Rohit
What are the initial steps? I have a little knowledge of PHP as well and with that limited knowledge I think first I need to design a web-page using HTML and CSS. Later I need to write Ruby classes and integrate code within those nasty HTML DIVs. Is there any free Ruby front-end that can help?

[Rails] posts go poof!

2011-08-02 Thread 7stud --
he main goal of any web site that allows you to enter text in a textarea is: NEVER lose the text that a user types in. With this forum's software, you can spend a great deal of time writing a masterpiece of a response, and then hit submit--only to be presented with a horror of horrors: "You cannot

[Rails] Problems with fixtures and HABTM

2011-08-02 Thread Juan Kinunt
I have: treatments.yml treatment3: id: 3 code: T3 description: "Desarrollo de una política de seguridad" reduction: 0.3 document: "D01_Politica_Seguridad" account_id: 1 soa_lines: soa_line3 treatment4: id: 4 code: T1 description: "Inclusión en el mantenimiento de los sistemas

Re: [Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Martin Wawrusch
Here is a guide to create a blog: http://guides.rubyonrails.org/getting_started.html The development model is different than asp.net. There aren't any controls. In case of the repeater, you iterate over the collection. Very rough sample code Controller: def index @posts = Post.all # This

[Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Rubyist Rohit
I have read few pages of Beginning Ruby by Peter Cooper. I can learn fast when I write a real-life project and implement techniques of the book and forums. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: T

Re: [Rails] Re: What do we mean by this code if written in Gemfile

2011-08-02 Thread Peter Hickman
On 2 August 2011 09:44, 7stud -- wrote: > In your example, one gem is included in development mode(and presumably > production mode), and another gem is included for testing mode only.  So Only if there is a group :production do gem 'xyz' end or the line gem 'xyz' not included in a 'group .

Re: [Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread Chris Kottom
And if you need an app to copy... http://weblog.rubyonrails.org/2008/11/27/new-15-minute-blog-video-on-rails-2-2 It's not the latest and greatest version, but it will get you started. Set your sights low initially, and plan to throw the first version away. On Tue, Aug 2, 2011 at 11:00 AM, 7stud

Re: [Rails] Heroku deployment issue

2011-08-02 Thread Conrad Taylor
On Tue, Aug 2, 2011 at 1:23 AM, SW Engineer wrote: > I'm following this tutorial, and have followed the steps to deploying to > 'Heroku'. > > When I open the application from 'Heroku', this is what I get: > > http://furious-sunrise-574.heroku.com/ > > Why isn't my application showing up? > > Hi,

[Rails] Re: How to design and write my first blog using RoR?

2011-08-02 Thread 7stud --
Rails is too complicated. The typical way to learn rails is to copy an app out of a book, and you will have very little understanding of what is going on--especially if you don't know ruby at an intermediate level. -- Posted via http://www.ruby-forum.com/. -- You received this message because

[Rails] How to design and write my first blog using RoR?

2011-08-02 Thread Rubyist Rohit
I want to design a blog using RoR. It is also my initial step with RoR. I want to learn both Ruby and Rails with this real-life project that will be live on the net. Since I am from a .NET background, I use a language of Toolbox with Controls on it. How to display blog posts one after the other as

Re: [Rails] What do we mean by this code if written in Gemfile

2011-08-02 Thread Peter Hickman
Only install the 'xyz' gem in the development and test environments. It can also be written as group :development, :test do gem 'xyz' end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-

[Rails] Re: What do we mean by this code if written in Gemfile

2011-08-02 Thread 7stud --
Rails has three modes: production, development, and testing. An example: when you are developing an app, you may want to show the values of certain variables on each page, i.e. the views that are displayed. Looking at the values of those variables can help you understand where any errors migh

[Rails] What do we mean by this code if written in Gemfile

2011-08-02 Thread SW Engineer
If I write the following code for example in 'Gemfile': group :development do gem 'xyz' end group:test do gem 'xyz' end Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk

[Rails] Heroku deployment issue

2011-08-02 Thread SW Engineer
I'm following this tutorial, and have followed the steps to deploying to 'Heroku'. When I open the application from 'Heroku', this is what I get: http://furious-sunrise-574.heroku.com/ Why isn't my application showing up? Thanks. -- Posted via http://www.ruby-forum.com/. -- You received thi

Re: [Rails] Rails and Service Oriented Architecture (SOA): any downsides?

2011-08-02 Thread Chris Kottom
SOA and performance are two of the most abused terms in IT, so definitions matter a lot. I take the first to mean a set of principles applied to the design and development of systems and complex solutions (go to Wikipedia or Google define:SOA for a list) and the second as the ability of a system o

Re: [Rails] Newbie Model Question

2011-08-02 Thread Chris Mear
On 2 Aug 2011, at 08:32, Michael Pavling wrote: > On 1 August 2011 22:20, OES wrote: >> On the Profile I would like to store basic data ie Gender > > Sex. Gender is a term about language being masculine/feminine/neutral. > Sex is male/female. Except that you're not really interested in finding

Re: [Rails] Newbie Model Question

2011-08-02 Thread Michael Pavling
On 1 August 2011 22:20, OES wrote: > On the Profile I would like to store basic data ie Gender Sex. Gender is a term about language being masculine/feminine/neutral. Sex is male/female. On 2 August 2011 07:31, Colin Law wrote: > Then I get to data like yearly income or marital status. > > I sha