Displaying 20 results from an estimated 300000 matches similar to: "XForms?"
2006 Jun 07
0
Forms
Hi all,
One of the main strengths of rails is the form support that it has, and
all its method helpers, however
does anyone known it it supports xforms or they are planning to ?
Thanks !!
--
Posted via http://www.ruby-forum.com/.
2006 Aug 14
5
UML
In Rolling with Ruby on Rails tutorial -
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html - I saw that to
introduce a new element to my domain, I needed to define it in a table,
generate a model element with a similar name and the class would
autoamtically take the attributes from the table definition. Is it
possible to do this in the other direction... i.e to take the class
diagram
2006 May 30
3
collection.each { |x| puts x} in rhtml?
Been trying to use the short format for a collection in rhtml, i.e.
<% collection.each {|x| puts x} %>
Doesn''t seem to work though [outputs nothing]
?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 17
7
SSL [X.509] Authentication in Rails?
Been doing some research but haven''t been able to determine much - has
anyone had any experience parsing incoming [on the request] x.509
certificates? Specifically, getting name, CA, etc. Here''s how you do in
Java Servlets for reference:
X509Certificate[] certs = (X509Certificate[])
request.getAttribute("javax.servlet.request.X509Certificate");
Thanks.
--
2006 Aug 14
0
ActionMailer in an infinite loop? Looks like framework bug.
I would rather post this on the dev list since it looks like only the
developers can explain why this is failing. However, I can''t find where
you subscribe to it! Any ideas?
Here is my problem. Whenever I try to send an email I get a
SystemStackError saying stack level too deep. Here is the exception
trace:
2006 Aug 09
1
Berkeley DB XML Adapter?
Anybody thought abt an adapter for this? Obviously not in the purview of
ActiveRecord but could have a similar interface.. i.e. CRUD + find
[xpath] - Ruby binding does exist. Just curious.
--
Posted via http://www.ruby-forum.com/.
2008 Mar 06
1
Unitialized constant ActionView::Helpers::TagHelper::Set
Hi all,
I write the following test to a simple plugin
require ''rubygems''
require ''test/unit''
require File.dirname(__FILE__) + ''/../lib/meta_tags''
require ''action_view/helpers/tag_helper''
class MetaTagsTest < Test::Unit::TestCase
include MetaTagHelper
include ActionView::Helpers::TagHelper
.
2007 Sep 20
1
undefined method `request' for "products":String ?
Since updated edge yesturday i have had a series of errors related to
undefinded methods for "products":String.
I do have these controllers namespaced.
====
Errors example 1:
undefined method `request'' for "products":String
Extracted source (around line #2):
view:
<tbody>
<%= render :partial => ''admin/products/product'',
2008 Jul 01
4
Errno::EIO - Input/output error
hi all,
my appl works well but i get the following error suddenly for few
pages. to resolve this, i had to restart the server everytime. then it
works fine for some time, but after some time it appears again. this is
happening contineously. i searched for solution on this, but didn''t get
much. can anybody help in this plaese? any help will be greatly
appreciated... i''ve pasted
2010 Aug 19
3
Help: "500 Internal Server Error"
Hi guys,
I am a completely ruby & rails newbie. i have being struggling on this
issue for almost 2 days, still can not figure out the problem.
there are two websites i''m trying to set up a development environment on
my pc running windows xp 32 bit version. a front-end customer facing
page & back-end admin page.
the procedure i have gone through is:
1. install ruby version 1.8.6
2006 Jul 24
0
Errors with my generate
Hi there, I''m getting the following errors with my generate script. I
haven''t changed anything, it just started happening one day. It also
does this when i create a migration:
penoir> ruby script/generate controller Gallery::Artist -p
create app/controllers/gallery
create app/helpers/gallery
create app/views/gallery/artist
create
2007 Jun 17
1
actionmailer & picture
Hello
I''m using action mailer to create an HMTL outbound email. This email
renders a partial. In that partial, a call is made to a public location
to get a picture for display in the email.
When this email is generate, I get the following error (note: I''m sure
it has something to do with not understanding the context of
actionmailer and how it functions):
NoMethodError in
2006 Nov 23
1
Select Tag not working in 1.2rc1
I''m getting the following error message under rc1:
ActionView::TemplateError (wrong number of arguments (1 for 0)) on line
#54 of app/views/admin/admin_index.rhtml:
In my view (* = Line 54):
<%=start_form_tag(:action=>"sales_by_author")%>
*<%=select("author","id",@authors.collect {|a| [a.name,a.id]})%>
<%=submit_tag("Go")%>
2010 Mar 22
5
UnitTesting-Action view testcase is failed
Hi,
I run the "Unit testing", Then The "Actionview::Testcase" is failed. i.e
i am getting the error as below,
1) Error:
test_tablename(ActionView::TestCase):
TypeError: wrong argument type Class (expected Module)
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/helpers.rb:76:in
`include''
2007 Jul 14
2
Using Helpers inside a Controller
I want to use helpers inside a controller method for an AJAX
application. After the page is loaded and displayed, there will be an
asynchronous javascript request to load additional resources such as
html forms and other data.
The controller which handles the request will collect the resources and
send them back in json format.
def get_resources
data=Hash.new
data[:form1]=form_helper1()
2009 Feb 03
2
Rails 2.3 problem...
When moving to Rails 2.3.0RC1 I get an error with concat!? I can''t
figure it out. See the dump below:
ActionView::TemplateError (You have a nil object when you didn''t expect
it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<) on line #158 of
app/views/places/show.html.erb:
158: <div
2007 Apr 07
1
Undefined Method 'rewrite' when calling link_to
Whenever I try to pass an options hash to the link_to method (or
url_for, or button_to) I get this error:
undefined method `rewrite'' for
[]:ActionController::Routing::PathSegment::Result
The trace ends with
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/base.rb:522:in
`url_for''
2008 May 20
2
DateHelpers .. don' display.. ?
HI
I don''t understand what happen ..
if I use the script/console :
>> include ActionView::Helpers::DateHelper
=> Object
>> include GLoc
=> Object
>> time_ago_in_words(Time.now, include_seconds = false)
=> "moins d''une minute"
I get the correct answer..
but I I write in my view
<%= time_ago_in_words(Time.now, include_seconds = false)
2006 Aug 15
2
Apache & FCGI: Premature end of script headers:
Hi,
I have quite a problem right now. After finish of development I
installed rails with fcgi and apache on my production env. Everything
seems to be configured ok, but once I while I get the famous error
message:
" Premature end of script headers: dispatch.fcgi"
I cant see any generel configuration problem, as sometimes everything is
running fine.
Maybe it is a problem related to
2006 Jun 02
0
Warning messages after upgraded from rails 1.0 to 1.1
Just upgrade from rails 1.0 to 1.1
Everytime I run the unit and/or functional tests, I got the following
messages. Is there something I need to do to remove? I am not sure where
to start. Thanks in advance.
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/validations.rb:334:
warning: `*'' interpreted as argument prefix