Displaying 20 results from an estimated 4000 matches similar to: "How to include html files to layouts?"
2006 May 22
1
[FATAL] failed to allocate memory
hi,
i used odbc connect ms sqlserver on windows, it raise : [FATAL] failed to
allocate memory when "select top 10 * from tables", the same app can run
correct on Debian, how can i fix the error?
--
Best Regards,
Caiwangqin
http://www.uuzone.com
Mobile: +8613951787088
Tel: +86025-84818086 ext 233
Fax: +86025-84814993
-------------- next part --------------
An HTML attachment was
2006 Mar 17
0
China On Rails
Hello, everyone.
This is Caiwangqin, I am chinese. Now I am living in Nanjing. my major blog
is http://www.uuzone.com/blog/uu_1115110. I''ll update it in my life.
I am using Ruby On Rails, I love this framework, It''s agile for create web
application. I want to extend RoR in chinese, so i am register
http://chinaonrails.com to do this. Welcome~
--
Best Regards,
Caiwangqin
2006 Feb 08
1
why sqlserver column with ''user_id'' can not display in rails scaffold?
Hi,
I have a table with columns : id,user_id,nickname,create_time. and i
create my rails application , with scaffold, it can not display user_id
column, others are correct, Why?
--
Best Regards,
Caiwangqin
http://www.uuzone.com
Mobile: +8613951787088
Tel: +86025-84818086 ext 233
Fax: +86025-84814993
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 24
0
rforum at China on Rails
Hi,
this is a rforum site at China on Rails, Welcome :
http://rforum.chinaonrails.com/
--
Best Regards,
Caiwangqin
http://www.uuzone.com
Mobile: +8613951787088
Tel: +86025-84818086 ext 233
Fax: +86025-84814993
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060324/11261fea/attachment.html
2006 Mar 22
3
rails api 1.0 chm version
support full text searching
you can download it from
http://61.152.238.107/download/nodir.api.rubyonrails.zip
(no directory list but better)
http://61.152.238.107/download/api.rubyonrails.zip
description is here if you can read chinese :)
http://www.blogjava.net/cap/archive/2006/03/22/36796.html
--
Posted via http://www.ruby-forum.com/.
2006 Mar 14
5
Dreamhost Database problems
I''m working on uploading my site to dreamhost. I just setup my
production database, and gave it a host name. It said that it was
successfully created. Now, it''s been like 25 minutes, and I still can''t
connect to it. Is that normal?
How can I get my tables created? Just wait it out? I''m trying to load
it in the browser, and it says "server not
2006 Mar 17
1
Congratulations!Both Rails book and framework win Jolt Award
http://www.sdmagazine.com/jolts/2006index.html
BOOKS TECHNICAL
Jolt Winner: Agile Web Development with Rails by Dave Thomas, David
Hansson, Leon Breedt and Mike Clark (Pragmatic Bookshelf)
Productivity Winners:
? Framework Design Guidelines: Conventions, Idioms, and Patterns for
Reusable .NET Libraries by Krzysztof Cwalina and Brad Abrams
(Addison-Wesley)
? Practical Common Lisp by Peter
2006 Mar 21
3
Do module source code changes require reboot of WEBrick?
Assume that I refactor some code into a module and "require it into" my
controller.
Do I then need to restart my WEBrick server each time that I change the
module?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Mar 09
4
RoR developers in China needed
I would like to offshore the development of a brand new web application
to a few engineers in China and am wondering if I would be able to find
RoR developers there. Since it''s a fairly new framework, maybe there are
people who are learning right now. My aim is to find people who are very
experienced with J2EE web application development and have a strong
interest in working with
2006 Apr 06
3
Rails 1.1.1: Fixing a slew of minors (but you must still freeze Typo)
Rails 1.1 was a big upgrade with a lot of new features and we''ve been
working hard since its release to polish off the kinks revealed after
it was deployed to the masses. Rails 1.1.1 contains fixes for things
like Prototype memory leaks in IE 6, Oracle adapter runnings, and a
number of compatibility tweaks to make most older applications work.
This release still doesn''t work
2006 Mar 02
9
FastCGI vs. Simple CGI
I''ve seen several postings where FastCGI is being used with RoR
projects, yet, most of the material I''ve read (Dave Thomas'' book, online
articles, etc) recommend not using FastCGI anymore because it is a
dormant project and hasn''t been updated since 2003 (I think???).
So, I went out and got Simple CGI instead. It had to be compiled and
installed from
2006 Jun 04
11
Hosting images : DB or File System
Hi,
I''m developing an application where I''ll have to store a lot of images
coming from the users. And I''m still not sure if I should store them
in MySQl as blob or just store them on filesystem.
If I store them on filesystem, how to scale when I''ll have to have
multiple servers ?
Thanks,
Pratik
--
rm -rf / 2>/dev/null - http://null.in
2005 Nov 07
0
Using Layouts with ActionMailer when sending html formatted emails
Hello all, I''ve been spinning my wheels on a problem here, hope someone can
help me out. I''m pretty new to Ruby & Rails. I''ve added some email
capabilities to Typo. Its all finally working for the most part, however I
don''t know how to get the layout specified. I am calling the Mailer class
method to send the email from within the articles controller (for
2006 Mar 28
12
cached-model broken with Rails 1.1
It looks like cached-model is broken again under rails 1.1. Can anyone
confirm? Note that the exception below indicates it''s trying to treat
CachedModel as the class name of the model, rather than using the proper
class name (which is Entry in this case, and the table called entries).
This is a model using Single Table Inheritance and acts_as_tree, and
worked just fine under 1.0 and
2011 May 21
2
How do you create a sub-layout or a partial that wraps a lot of custom html?
Basically I''d like to create a layout inside of a layout using erb.
Something like this:
<%= render :partial => ''support'' do %>
<div id="helpDocumentView">
<h3><%= @help_document.question %></h3>
<%= @help_document.content %>
<div id="helpDocumentHelpful" data-help-document-id="<%=
2009 Mar 06
5
ActionMailer Layout on HTML version not Plain Text
I''m sending plain text and html emails by having multiple files for each
email I send. For example, for my registration email I have a
registration.text.plain.erb file and a registration.text.html.erb file.
I want to use a layout for the html version of my emails. In my mailer
I put:
class AccountsMailer < ActionMailer::Base
layout ''email''
...
end
2005 Dec 22
1
Can 404.html use the default layout?
Hi everyone,
How do I get the 404.html to use the default layout in
app/layouts/application.rhtml?
Or is that the wrong question? Should I be rerouting 404 errors to an
application controller action, which I can then customize as a 404?
Thanks,
Sean
2006 Feb 05
4
Another layout question - Layouts on a per method basis - Layouts with AJAX
I feel I am very close to understanding how layouts are used in Rails:
Q1. I know one can specify a "default" layout for all methods in a controller by specifying
layout ''my-default-layout''
How can this be overridden for individual methods so when those methods are called/executed, the overridden layout will be used. Is this possible?
Q2. With no
2010 Oct 27
0
"Missing partial layouts/application" error on render :partial => "index", :layout => "application" - Rails3
This is the second time I have seen this error, and been googling around and
cant find an explanation. This error is happening with Rails 3/1.9.2 and was
not with Rails 2.3.8/1.8.7:
*Template is missing
Missing partial layouts/application with {:handlers=>[:erb, :rjs, :builder,
:rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths
2006 Mar 15
1
Nested layouts problem
I have a main layout for all my application and layouts of for sub
sections of my application. Each subsection also needs the main layout.
So my question is how do you nest layouts?
--
Posted via http://www.ruby-forum.com/.