top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Why are generators not menus or prompts in Rails

+1 vote
328 views

Wouldn't it be more efficient to have a generator ask for column names and types and indexes in a prompt?
or easier at least. It would be nice to also have ncurses menus for that.

posted Aug 21, 2013 by Majula Joshi

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

Please visit https://github.com/rails/rails and you can recommend it there.

answer Aug 21, 2013 by anonymous
0 votes

I think cakephp does a slightly better job of generators than rails.

answer Aug 22, 2013 by Garima Jain
Similar Questions
+5 votes

I want to make just simple back End to my first Ruby application, so I want to make header and include it to all of the pages in this back end

So how I can make require or include to simple Html page in ruby (this page just I want to set some links in it)

in Php we just make page and require or include it by
require("my_page_name.php")
or
include("my_page_name.php")

How we can make that in Ruby on Rails.

+3 votes

In the following code -

 require 'active_record'

 class Order < ActiveRecord::Base
 end

 order = Order.find(1)
 ...

As per http://api.rubyonrails.org/ find() is an instance public method. So why can we call Order.find(1) here? Shouldn't it be Order.new.find(1)?

+1 vote

Can anyone help me to run a rails application in a LAMP or WAMP server?

+2 votes

Users of my system will be uploading an excel spreadsheet. The issue is should I just read straight from this excel spreadsheet into my front-end or should I load this spreadsheet into my MySQL database and then to my front-end.

I have asked numerous people about this issue and have researched on-line to no avail.

...