Re: [Rails] Is this a bug in ActiveRecord or expected to work this way ??

2011-02-21 Thread Frederick Cheung
On 22 Feb 2011, at 06:57, Bhasker Harihara wrote: > > Hi, > > Is it not accessing the model at the time of > > $rake db:migrate. > It won't be instantiating any model objects at that point. Besides, it's completely legal to create a model with a column called type, it's just that activere

Re: [Rails] Re: Upgraded to rails 3 and now I can't install plugins

2011-02-21 Thread Frederick Cheung
On 22 Feb 2011, at 06:07, Clem Rock wrote: > I can create a new rails app w/ no problem and the app works. I > can try to install any plugin in that newly created project but they > never exist in vendor/plugins. I also notice there are some other > things wrong and I'm worried that some

Re: [Rails] Beginner Help - Iterating and Displaying From Models with Relationship

2011-02-21 Thread Frederick Cheung
On 22 Feb 2011, at 03:40, Ryan wrote: > This should probably be easy but for some reason I can't get past a > simple routine. I have a model for Companies and for Applications. A > company has many applications. So in this instance I have a company > id and I want to find all applications as

Re: [Rails] Can't get .js.erb to work ...

2011-02-21 Thread Jim Ruther Nill
On Tue, Feb 22, 2011 at 2:53 PM, Niklas Nson wrote: > Trying to follow railscast #88, i know the js.erb file is loaded but > when i try to insert ruby code in the .js.erb file i get an error > "illegal XML character" i have added the following line to my routes > file > match ":controller(/:actio

[Rails] Beginner Help - Iterating and Displaying From Models with Relationship

2011-02-21 Thread Ryan
This should probably be easy but for some reason I can't get past a simple routine. I have a model for Companies and for Applications. A company has many applications. So in this instance I have a company id and I want to find all applications associated with that company. I tried the following:

Re: [Rails] Is this a bug in ActiveRecord or expected to work this way ??

2011-02-21 Thread Bhasker Harihara
Hi, Is it not accessing the model at the time of $rake db:migrate. Is there anything like a cheat sheet for rails ? Actually I found one but that did not have "type" as a reserved word. Regards, On Tue, Feb 22, 2011 at 12:19 PM, Michael Pavling wrote: > On 22 February 2011 06:15, Bhasker Ha

[Rails] Can't get .js.erb to work ...

2011-02-21 Thread Niklas Nson
Trying to follow railscast #88, i know the js.erb file is loaded but when i try to insert ruby code in the .js.erb file i get an error "illegal XML character" i have added the following line to my routes file match ":controller(/:action(/:id(.:format)))" and code not working is: ... var

Re: [Rails] Is this a bug in ActiveRecord or expected to work this way ??

2011-02-21 Thread Michael Pavling
On 22 February 2011 06:15, Bhasker Harihara wrote: > Hi, > > I used "type" as a column in "rails generate model" there was no error. > > ActiveRecord::SubclassNotFound in UsersController#show "Type" is a reserved word in Rails (the wiki seems to be not responding, but there's still a few referenc

[Rails] Is this a bug in ActiveRecord or expected to work this way ??

2011-02-21 Thread Bhasker Harihara
Hi, I used "type" as a column in "rails generate model" there was no error. I did a rake db:migrate again no problem. I created the values using console again no problem. I did a show function in users contoller then rails threw up the error. But should it not give this error right at the time

[Rails] Re: Upgraded to rails 3 and now I can't install plugins

2011-02-21 Thread Clem Rock
I can create a new rails app w/ no problem and the app works. I can try to install any plugin in that newly created project but they never exist in vendor/plugins. I also notice there are some other things wrong and I'm worried that something bigger is going on. For instance, when I try to

[Rails] No. of controllers

2011-02-21 Thread Bhasker Harihara
Hi All, In rails 3.0.4 Is there any limit on the number of controllers that an application can have ? Can contollers work across sub-domain ? Can we generate a view dynamically using module helper or something ? Answeres to these will help me a lot in my design. Thank you & Warm Regards, --

Re: [Rails] Re: Upgraded to rails 3 and now I can't install plugins

2011-02-21 Thread Phil Crissman
On Mon, Feb 21, 2011 at 10:41 PM, Clem Rock wrote: > A bit more info that might help: > > I'm running this: > > rails -v > Rails 3.0.4 > > > ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0] > > That ruby version looks pretty cracked out to me - could this be the > issue? > That

[Rails] Problem installing restfull authentication

2011-02-21 Thread Mitin Rai
hi trying to use restfull authentication, but getting the folloing error script/plugin install http://github.com/technoweenie/restful-authentication.gitrestful_authentication Plugin not found: [" http://github.com/technoweenie/restful-authentication.git";, "restful_authentication"] can someone h

[Rails] Re: Upgraded to rails 3 and now I can't install plugins

2011-02-21 Thread Clem Rock
A bit more info that might help: I'm running this: rails -v Rails 3.0.4 ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0] That ruby version looks pretty cracked out to me - could this be the issue? Clem Rock wrote in post #983018: > At this point, I am only concerned about ge

[Rails] nested attributes with belongs_to

2011-02-21 Thread Butu
Here is my model looks like:- Model: Movie has_many :songs Model: Song belongs_to :movie I have a songs/new form which contains song name and movie name input field. If movie name does not exist it should create a new one else it should use already existing one. So this I will come to know only a

[Rails] Re: Can Redis2Go replace memcahe?

2011-02-21 Thread rails.n...@gmail.com
Does anyone have any experiences in production with Redis being slow for fragment caching? On Feb 21, 12:56 pm, "rails.n...@gmail.com" wrote: > According to this, Redis is too slow for caching > > http://stackoverflow.com/questions/4221735 > > Can anyone confirm that experience? -- You receiv

Re: [Rails] Re: What version of Rail, Ruby & my website is using?

2011-02-21 Thread Hassan Schroeder
On Mon, Feb 21, 2011 at 5:35 PM, korssane korssane wrote: >  i figure out that the website is running using the following : > rails : 2.1.0 > ruby 1.8.6 > > what i have to do in this case.. > > Update to rails 3 and try to run the website locally ? > or repicate the same environment locally ? > >

Re: [Rails] Re: Upgraded to rails 3 and now I can't install plugins

2011-02-21 Thread Phil Crissman
Phil On Mon, Feb 21, 2011 at 7:53 PM, Clem Rock wrote: > At this point, I am only concerned about getting ANY plugin to work and > I just don't understand what the problem could be because I'm not > getting any type of errors or strange behavior. > > Another piece of information: I'm running

[Rails] Re: Upgraded to rails 3 and now I can't install plugins

2011-02-21 Thread Clem Rock
At this point, I am only concerned about getting ANY plugin to work and I just don't understand what the problem could be because I'm not getting any type of errors or strange behavior. Another piece of information: I'm running all this on a mac-book pro w/ 10.5.8 Leopard. Thanks for your ti

[Rails] Re: What version of Rail, Ruby & my website is using?

2011-02-21 Thread korssane korssane
korssane korssane wrote in post #982985: > Colin Law wrote in post #982958: >> On 21 February 2011 16:11, korssane korssane >> wrote: >>> Hi guys, >>> >>> I am working on importing a website locally to do some changes in a safe >>> mode. >>> >>> >>> Is there a way to go to the website itself and c

Re: [Rails] Using route helper returns undefined method

2011-02-21 Thread Phil Crissman
Phil On Mon, Feb 21, 2011 at 7:06 PM, John Merlino wrote: > Hey all, > > I have this in routes: > > resources :cocore do >collection do > get :cocoreim >end > end > > I have this in ccore controller: > > class CoController < ApplicationController > def index > end > > def coco

[Rails] Using route helper returns undefined method

2011-02-21 Thread John Merlino
Hey all, I have this in routes: resources :cocore do collection do get :cocoreim end end I have this in ccore controller: class CoController < ApplicationController def index end def cocoreim render 'cocoreim' end end In indx.html.erb of cocore view directory, I

[Rails] autotest with Growl not working

2011-02-21 Thread Murph2m
Hi I'm new and using Ruby on Rails 3 but when I run $ autotest nothing happens (I have growl installed). If I run $ rspec spec then I get the 'Finished in 0.07253 seconds seconds 2 example, 0 failures' message I have the following gems installed for autotest (checked via $ gem list): autotest (4.

Re: [Rails] Upgraded to rails 3 and now I can't install plugins

2011-02-21 Thread Phil Crissman
This is not related to your question... but I don't believe restful-authentication will work with Rails 3. You could always patch it, but you might be better off choosing a different auth gem. Why the plugin isn't installing, I'm not certain. Phil On Mon, Feb 21, 2011 at 4:35 PM, Clem Rock wro

[Rails] pulling data from ancestry

2011-02-21 Thread Mixed_in
Greetings friends, I`m trying to make drop down menu which will pull data from the categories made with ancestry. lets say i have: Category -subcategoy -subsubcategory My point is to pull Category.roots and by hovering on each of the roots dropdown menu to show with the roots childrens and the

[Rails] two parameters on the /index action

2011-02-21 Thread paul
I've got the following RESTful route: resources :documents I need to call the index action with two extra parameters, so my url will look like: /documents/?first=one&second=two Unfortunately, the second parameter seems to be swallowed up. The first one appears normally, though. That is, in my l

[Rails] How to access controller located as part of another application in plugins directory

2011-02-21 Thread John Merlino
Hey all, I installed blogkit as a rails plugin. It installed in the vendor directory as an entire application. called blog_kit. This application has a controller called blog_posts_controller. However, when I route to blog_posts in my application: resources :blog_posts do resources :blog

[Rails] Upgraded to rails 3 and now I can't install plugins

2011-02-21 Thread Clem Rock
Hello, I just upgraded to rails 3 and whenever I try to install a plugin, it acts like it's installing and then when I try to confirm that it was installed by going to the vendor/plugins directory, there's never anything there. Here's and example of my install code: rails plugin install https:

[Rails] Re: What version of Rail, Ruby & my website is using?

2011-02-21 Thread korssane korssane
Colin Law wrote in post #982958: > On 21 February 2011 16:11, korssane korssane > wrote: >> Hi guys, >> >> I am working on importing a website locally to do some changes in a safe >> mode. >> >> >> Is there a way to go to the website itself and check what is the >> package ( rails version ,..etc)

[Rails] Re: Join three tables with a common join table

2011-02-21 Thread macro
Thanks. I just got it working by doing this: has_and_belongs_to_many :users, :join_table => "projects_roles_users", :foreign_key => 'role_id', :association_foreign_key => 'project_id', :insert_sql => 'INSERT INTO projects_roles_users(project_id,role_id,user_id) VALUES(#{i

[Rails] Re: Join three tables with a common join table

2011-02-21 Thread macro
Thanks. I just got it working by doing this: has_and_belongs_to_many :users, :join_table => "projects_roles_users", :foreign_key => 'role_id', :association_foreign_key => 'project_id', :insert_sql => 'INSERT INTO projects_roles_users(project_id,role_id,user_id) VALUES(#{i

Re: [Rails] Re: Search logic

2011-02-21 Thread Jatin kumar
On Mon, Feb 21, 2011 at 2:48 PM, Paul Bergstrom wrote: > I think I'm on the right track. But I get the first post for each user, > not the latest. This is what I use. > > Model.all(:select => "*, max(id)", :group => :user_id) > > How do get the latest? > > In Rails 3 syntax, Post.where(:user_id =>

[Rails] self.prepend_view_path - am I missing something

2011-02-21 Thread Owain
I have an app that varies its content based upon the domain from which it is being accessed. Some of the domain characteristics are supported in the model but it is easier varying static text in the views and then sharing the form templates via partials etc. Rails 2.3.10 and looking at the docume

[Rails] xhr and format.js

2011-02-21 Thread Jonathan Rochkind
I am getting confused about the relationship between respond_to/format.js and an xhr request. Would appreciate any advice, tips on how this has changed in different Rails versions if it has, etc. In particular, I am confused as to why an xhr request sometimes will trigger format.js, even though it

[Rails] Re: Completely broken rails install on OSX

2011-02-21 Thread dkerins
I wonder if you added the required line to your .bash_profile file. This is the line... [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. Check out the link on the rvm site... and scroll down to the "Post Install" section. http://rvm.beginre

Re: [Rails] Rails 3 routing problem

2011-02-21 Thread David J . Hamilton
Excerpts from Phil Crissman's message of Sun Feb 20 15:14:45 -0800 2011: > > Started POST "/items/28/price" for 127.0.0.1 at 2011-02-20 18:52:10 -0300 > > > > ActionController::RoutingError (No route matches "/items/28/price"): > First check: is this route listed when you do `rake routes | grep pri

[Rails] Re: Different renderings within the same format

2011-02-21 Thread Frederick Cheung
On Feb 21, 3:00 pm, Erwin wrote: >  I would like to write the same application for Facebook web app and > Standard web users, > but the Facebook layout is restricted, so I would have 2 html format > layouts > > what is the best way to respond to html request from FB users and > 'standard' us

Re: [Rails] What version of Rail, Ruby & my website is using?

2011-02-21 Thread Colin Law
On 21 February 2011 16:11, korssane korssane wrote: > Hi guys, > > I am working on importing a website locally to do some changes in a safe > mode. > > > Is there a way  to go to the website itself and check what is the > package ( rails version ,..etc) in order to avoid any conflict? Assuming yo

Re: [Rails] What version of Rail, Ruby & my website is using?

2011-02-21 Thread Hassan Schroeder
On Mon, Feb 21, 2011 at 8:11 AM, korssane korssane wrote: > I am working on importing a website locally to do some changes in a safe > mode. > > Is there a way  to go to the website itself and check what is the > package ( rails version ,..etc) in order to avoid any conflict? If it's a Rails 2.x

[Rails] What version of Rail, Ruby & my website is using?

2011-02-21 Thread korssane korssane
Hi guys, I am working on importing a website locally to do some changes in a safe mode. Is there a way to go to the website itself and check what is the package ( rails version ,..etc) in order to avoid any conflict? i need simply to reproduce the same environment as in the production to be ab

[Rails] authlogic problem

2011-02-21 Thread Kelly Pfaff
I can't get authlogic to work. (https://github.com/binarylogic/authlogic) i've installed it, i've put the following in environment.rb: config.gem "authlogic" 'gem list' gives: *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.3, 2.0.2) actionpack (3.0.3, 2.0.2) activemodel (3.0.3) activereco

Re: [Rails] Re: Unindent ERB output

2011-02-21 Thread Colin Law
On 21 February 2011 08:51, khoan wrote: > <%= semantic_form_for @template do |f| %> >  <%= f.input :source %> > <% end %> > > where template is an instance of > > class Template < ActiveRecord::Base >  # add_column :templates, :source, :text > end Please don't top post, it makes it difficult to f

Re: [Rails] caching database result

2011-02-21 Thread Jeffrey L. Taylor
Quoting Vogon Primo : > Hi guys, > Has ActiveRecord 3 a more complex cache mechanism than version released > with Ruby on Rails 2.0 ? > > And has ActiveRecord the concept of "scope of object identity?" > > obj1 = MyModel.find(1) > obj2 = MyModel.find(1) > > results in two selects and two diff

[Rails] Different renderings within the same format

2011-02-21 Thread Erwin
I would like to write the same application for Facebook web app and Standard web users, but the Facebook layout is restricted, so I would have 2 html format layouts what is the best way to respond to html request from FB users and 'standard' users on the web.. ? what I should test in the requ

[Rails] Re: caching database result

2011-02-21 Thread Frederick Cheung
On Feb 21, 2:11 pm, Vogon Primo wrote: > Hi guys, > Has ActiveRecord 3 a more complex cache mechanism than version released > with Ruby on Rails 2.0 ? > > And has ActiveRecord the concept of "scope of object identity?" > >  obj1 = MyModel.find(1) >  obj2 = MyModel.find(1) > >  results in two sel

[Rails] Re: Search logic

2011-02-21 Thread Paul Bergstrom
I think I'm on the right track. But I get the first post for each user, not the latest. This is what I use. Model.all(:select => "*, max(id)", :group => :user_id) How do get the latest? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the G

[Rails] caching database result

2011-02-21 Thread Vogon Primo
Hi guys, Has ActiveRecord 3 a more complex cache mechanism than version released with Ruby on Rails 2.0 ? And has ActiveRecord the concept of "scope of object identity?" obj1 = MyModel.find(1) obj2 = MyModel.find(1) results in two selects and two different object in memory, why? Where I coul

[Rails] sqlite error only in rails

2011-02-21 Thread jeb
Hi all, I have a has_many through relation and have written a scope for that. I don't get the joins to work so I wrote the sql for the joins: scope :has_country_variation_for_country, lambda{|country_id| joins('INNER JOIN variations ON variation_images.variation_id IS variations.id INNER JOIN coun

[Rails] Re: Newb: Order page, multiple view single model question

2011-02-21 Thread James allan To
Guys thank you so much and yes Jim that is what is happening i guess i'll go for the hidden field. Thank you so much again. -- 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 grou

[Rails] Multiple custom CSS for Formtastic

2011-02-21 Thread rtacconi
Inside stylesheets I have formtastic.css and formtastic_changes.css. In formtastic_changes.css I have a custom with: form.formtastic { width: 700px; etc.. It is working ok but now in only one page only, need a narrower form, say 530. So I need to have two width set up. What is the best way to d

Re: [Rails] Rails 3 routing problem

2011-02-21 Thread Aldo Nievas
curl -X POST /items/:id/price.html or price.json -- Aldo On Mon, Feb 21, 2011 at 10:00 AM, Leonardo Mateo wrote: > On Sun, Feb 20, 2011 at 9:24 PM, Aldo Nievas > wrote: > > try calling it using: > > curl /items/:id/price.html or price.json as needed. > > format is needed when you call a route

Re: [Rails] Rails 3 routing problem

2011-02-21 Thread Leonardo Mateo
On Sun, Feb 20, 2011 at 9:24 PM, Aldo Nievas wrote: > try calling it using: > curl /items/:id/price.html or price.json as needed. > format is needed when you call a route from outside without using named_path > route. That didn't work either, but I think that's because curl is requesting a GET an

Re: [Rails] Devise or Authlogic?

2011-02-21 Thread Leonardo Mateo
On Mon, Feb 21, 2011 at 9:41 AM, shyam wrote: > Hi.. > > > If you are new to rails go for authlogic. > because device needs lots of customization . I'm not new to Rails and I go with a +1 to authlogic. I just tried Devise, but seemed too much for me. I love Authlogic's simplicity. > > > Thanks a

Re: [Rails] Devise or Authlogic?

2011-02-21 Thread Jatin kumar
On Mon, Feb 21, 2011 at 6:11 PM, shyam wrote: > Hi.. > > > If you are new to rails go for authlogic. > because device needs lots of customization . > > > Devise gives you a heads up start, and its modular. Yes, it needs customization but any authentication solution would need that because everyon

Re: [Rails] Devise or Authlogic?

2011-02-21 Thread shyam
Hi.. If you are new to rails go for authlogic. because device needs lots of customization . Thanks and regards, Shyam ruby on rails developer Mobile : +91(0)86-8846-8400 Web : Shyam.heroku.com On Mon, Feb 21, 2011 at 6:08 PM, Gerő Zoltán wrote: > Hello all, > > is

[Rails] Devise or Authlogic?

2011-02-21 Thread Gerő Zoltán
Hello all, is there any general law what you follow choose authentication system? Are there any good article about pros/contras? Thanks, gezope -- 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 rubyonr

Re: [Rails] quick syntax question - newbie

2011-02-21 Thread Chris Kottom
Er, yeah, that's not going to work. It's actually part of the Ruby standard lib as part of CGI::HtmlExtension, and now that I'm looking at it more closely, it's not compatible with Rails use. My bad. Rails only supports the radio_button helper, as Jim pointed out. On Mon, Feb 21, 2011 at 2:10 A

Re: [Rails] Re: has_many relation - NoMethodError

2011-02-21 Thread Michael Pavling
On 21 February 2011 10:50, Colin Law wrote: > This really makes no sense to me. +1 Everything looks good... nothing is jumping out at me - but the error messages you're getting don't tie with what code/migrations you have. > Have a look and remove anything extra there.  Are > you *absolutely* su

Re: [Rails] Re: has_many relation - NoMethodError

2011-02-21 Thread Colin Law
On 21 February 2011 09:30, rogi wrote: > class Worker < ActiveRecord::Base >        has_many :trainings >        has_many :courses, :through => :trainings >        belongs_to :ressort > >        def firstname_and_name >        first_name+" "+last_name >        end > end > > --- > class Ressort < A

[Rails] omniauth, facebook on ruby 1.9.2 and rails 3.0.0

2011-02-21 Thread Eugen Ciur
Hi, I try to use omniauth to authenticate with facebook account, as in Ryan Bates tutorial http://railscasts.com/episodes/235-omniauth-part-1. I have followed all steps in that tutorial. When point my browser to http://localhost:3000/auth/facebook it indeed redirects me to facebook to login. But o

Re: [Rails] Re: has_many relation - NoMethodError

2011-02-21 Thread Jim Ruther Nill
could you confirm if the error still exists if you drop your db and remigrate? On Mon, Feb 21, 2011 at 5:30 PM, rogi wrote: > class Worker < ActiveRecord::Base >has_many :trainings >has_many :courses, :through => :trainings >belongs_to :ressort > >def firstname_an

[Rails] Re: has_many relation - NoMethodError

2011-02-21 Thread rogi
class Worker < ActiveRecord::Base has_many :trainings has_many :courses, :through => :trainings belongs_to :ressort def firstname_and_name first_name+" "+last_name end end --- class Ressort < ActiveRecord::Base has_many :workers end --- c

[Rails] Re: Link_to frustration...help?

2011-02-21 Thread Robert Pankowecki (rupert)
On Feb 20, 10:13 pm, T wrote: > I have a resource 'users'.  the index page has a 'link_to' tag I > created on the line item level for a specific view.  The link_to that > is frustrating me in particular says:  <%= link_to 'View', :controller > => 'users', :action => 'view' %> The best way would

Re: [Rails] Newb: Order page, multiple view single model question

2011-02-21 Thread Michael Pavling
On 21 February 2011 03:34, James allan To wrote: > Question: Is there aright way of doing this (carry params values between > views) or should I just place the data from new in session as we move to > forward to the third page create a hash from session and save in model? My view would be that th

Re: [Rails] Newb: Order page, multiple view single model question

2011-02-21 Thread Colin Law
On 21 February 2011 08:50, Jim Ruther Nill wrote: > > > On Mon, Feb 21, 2011 at 4:34 PM, Colin Law wrote: >> >> On 21 February 2011 07:56, Jim Ruther Nill wrote: >> > >> > >> > On Mon, Feb 21, 2011 at 3:38 PM, Colin Law >> > wrote: >> >> >> >> On 21 February 2011 03:34, James allan To wrote: >

Re: [Rails] System() Function

2011-02-21 Thread Michael Pavling
On 21 February 2011 02:06, Nop wrote: > whether i use system("octave","/usr/bin") or > system("octave"), it will return "true", telling me that the > application was successfully executed. > I can't convert the output to string, either. > > What are your recommendations to grab the output from an

[Rails] Re: Unindent ERB output

2011-02-21 Thread khoan
<%= semantic_form_for @template do |f| %> <%= f.input :source %> <% end %> where template is an instance of class Template < ActiveRecord::Base # add_column :templates, :source, :text end On Feb 20, 8:19 pm, Colin Law wrote: > On 20 February 2011 08:39, khoan wrote: > > > The app is using

Re: [Rails] Newb: Order page, multiple view single model question

2011-02-21 Thread Jim Ruther Nill
On Mon, Feb 21, 2011 at 4:34 PM, Colin Law wrote: > On 21 February 2011 07:56, Jim Ruther Nill wrote: > > > > > > On Mon, Feb 21, 2011 at 3:38 PM, Colin Law > wrote: > >> > >> On 21 February 2011 03:34, James allan To wrote: > >> > Hi I would just like to ask if someone can point me to the rig

[Rails] Re: Link_to frustration...help?

2011-02-21 Thread Frederick Cheung
On Feb 20, 11:35 pm, T wrote: > In this case the view I want to render is not one of the routes.  I > already have a show/edit/index view, I now need another one that is > specialized and this may not be the last one I need. > Then add a route. ( check the :member option to resources) Fred > O

Re: [Rails] Newb: Order page, multiple view single model question

2011-02-21 Thread Colin Law
On 21 February 2011 07:56, Jim Ruther Nill wrote: > > > On Mon, Feb 21, 2011 at 3:38 PM, Colin Law wrote: >> >> On 21 February 2011 03:34, James allan To wrote: >> > Hi I would just like to ask if someone can point me to the right >> > direction. I have an order page which will need to be split

[Rails] System() Function

2011-02-21 Thread Nop
Hi, I'm new to RoR and to begin I decided to do a graphic calculator as my second project. I plan to use octave to evaluate the expressions, I can't get to install the octave-ruby gem and for the sake of development speed I'll be fetching the ouput of "octave --eval" instead. I found that ruby use