Displaying 20 results from an estimated 7000 matches similar to: "problem after scaffolding"
2006 Jun 01
10
Stylesheets not being recognized
I am a newbie, but have worked through 4 or 5 tutorials. I am using
InstantRails. The problem is that I cannot determine how the style is
being included. I have modified the stylesheet from
/public/stylesheets/, even removed it. All to no avail. The inline
<style>...</style> code is still being included from somwhere. Where?
What am I missing?
thanks,
steve
--
Posted via
2006 Apr 05
13
scaffold misuse?
Running ruby script/generate scaffold Product Admin
is a wonderful way to set up well, exactly what it says, a scaffold.
My problem is that I have several other tables that are linked,
through foreign keys, to the Product table. Say an "authors" table.
Now when I go enter a new product, a book, I want the application to
provide a drop down list of authors generated from the records in
2006 Mar 01
5
scaffold.css and Rails tutorial problem
In iteration D.1 on page 109 I am not getting a styled error message box
displayed at the top of the checkout as described in the tutorial and I
cannot seem to discover where I have erred.
The scaffold.css is copied from the pragmatic programmers site:
#--------------------------------------------------------------------
$ cat public/stylesheets/scaffold.css
body { background-color: #fff;
2006 Apr 24
9
A Stylesheet for a database app
Hi to all, I''m a new subscriber of this list and a new user of RoR.
I''m looking for a stylesheet to make a simple database app nicer, a css to
start working with.
I have to do some simple apps and I want them to be the more uniform on the
presentation side.
I know I can do it for myself, but a nice stylesheet is not so easy to perform
for a non-grafic geek like me, and so
2006 Mar 07
1
Relative stylesheet reference
Problem: The HREF generated by the stylesheet_link_tag is an absolute path.
Details:
The layout for my view has the following line
<%= stylesheet_link_tag ''scaffold'' %>
At runtime, this gets translated to
<link href="/stylesheets/scaffold.css" ... />
This does not get resolved correctly. The problem is the leading slash. It should be
<link
2010 Jun 14
2
stylesheet_link_tag
I know that the following statement loads the scaffold stylesheet, but
what exactly does stylesheet_link_tag do here?
<%= stylesheet_link_tag ''scaffold'' %>
Thanks.
--
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
2006 Apr 19
3
ror css
Hi
pretty new to this ROR stuff, ive just created my first simple plication
using scaffold, was just wondering if anyone knows of any good tutorials
on how to screate custom css stylesheets for these pages.
also whats the best way to go about adding a footer / header html images
to all pages
Thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 Apr 18
6
scaffold.css
Hi there,
I have been working on Rails applications for sometime and lately trying
my hands on beautification of the same.
Now the problem that I am facing in here is whatever design or layout I
try to apply to a particular application is visible to the rest of the
applications also!
I mean...I am not able to apply different designs to different
applications.
If anybody could help.
Thankyou.
--
2006 Jan 31
2
How did I end up with read-only access?
I''ve generated the standard scaffolding half a dozen times on play
databases on my own machine, but now I''m trying it for real against the
team''s development database (postgres) and I see to have ended up in
some sort of read-only mode. "list" will show my existing records and
"show" will drill down, as expected, but "New" or
2006 Jan 27
6
Scaffolding to use has_many and belongs_to ?
What does everyone on this list think about enhancing scaffolding
somehow so that a "has_many" relationship will automatically drop the
<select> box into the view to reference the "belongs_to" part of the
view?
I think scaffolding is great but I am always adding the <select> boxes
to reference the parent association. Do you think this would be
useful? just a
2006 Mar 09
8
Problem with scaffolding and table name
Hello, i''m new in ruby rails framework. I have the following problem. I
try to create a scaffold
for a certain model of my db, but since ruby rails doesn''t assume the
table name corectly (its incidents_reported )
i get errors ....
Besides renaming the table :) is there a way to ''tell'' ruby rails the
name of the table?
I haven''t been able to find any
2006 Jan 12
8
Scaffolding support for many-to-many editing (habtm)?
Like with simple table editing, there are also typical ways of how a
user usually interacts with one-to-many or many-to-many relations. For
example, one would show the fields of one row of table1 in the screen
and below a line-by-line view of all associated entries in table2. Then,
one could press an "Edit" button and add or delete rows from table2 to
this entry of table1,
2008 Sep 02
6
Scaffolding
Hello everyone,
Does scaffold still work in the new rails 2.0?
Thank you,
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
2005 Dec 29
3
Maintaining DB reflection without scaffolding
Hi,
I would like to know if there is a way to maintain database reflection
for the ''new'' and ''edit'' views whilst removing scaffolding?
I''m trying to create a webapp that will be somewhat maintainable by
colleagues (that aren''t necessarily web developers) through simple
manipulation of db table fields.
For example to add another field to the
2006 May 19
4
Lookup tables and scaffolding
It occurs to me as a missing feature that there''s no way to indicate a lookup
table relationship (as opposed to other sorts of foreign key relationships)
in Rails and that the scaffolding generator could recognise this lookup and
render a drop-down list automagically for the lookup table.
Say you have an Address and a State, and the State is a lookup table. In
addresses you have
2010 Feb 16
2
wrong number of arguments (Wrox Beginning Ruby On Rails)
I''m reading a book "Beginning Ruby on Rails"
I made an table, and tried to make an Model class. But it doesn''t
work.
I made the table as below.
mysql> show columns from books ;
+-------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
2008 May 21
2
Scaffolding and ActiveRecord in Rails 2
Hi,
Is is possible to add this constraint: "null => false" and "limit => 45"
like below:
create_table :movie do |t|
t.string :name, :null => false, :limit => 45
end
...just by using this kind of scaffold command (on Rails 2)?
$ ruby script/generate scaffold Movie name:string
Thanks,
D.
--
Posted via http://www.ruby-forum.com/.
2007 Dec 10
15
Scaffolding for pre-existing database table in 2.0.1
Hi,
first of all I will apologize in advance for my presumably noobish
question, but I''m only starting to learn Rails and am a little
confused with all the changes in 2.0.1. There are as good as no
tutorials out yet and the 2 or 3 screencasts I''ve seen deal with the
creation of both the app and the database.
Now my problem is that I already have a database with a fair amount of
2010 Aug 12
10
Scaffolding working...kinda
Hello all. I''ve been working through some online tutorials, learning ROR
and have a question on scaffolding. Through the command promt i''ve ran
the command:
$ script/generate scaffold Albums
This created the controllers, helpers, models, and views.
I have a database table titled "albums" and have two records saved
within
The problem is that the scaffold command did
2005 Oct 25
2
generate scaffold ignores controller parameter
Since I upgraded from Rails 0.13.1 to 0.14.1 "generate scaffold <Model>
<Controller>" doesn''t take any notice of the controller parameter. Anyone
else suffering from this? E.g.:
C:\Ruby\work\test>ruby script\generate scaffold User Admin
exists app/controllers/
exists app/helpers/
create app/views/users
exists test/functional/