Displaying 20 results from an estimated 600 matches similar to: "Newb question"
2006 Jul 12
5
start_form_tag n00b question
Hi,
I''m wondering if there is any way to specify the id of a form tag with the
start_form_tag helper. I''ve tried playing around with ", id=>"marginForm" "
and also inclosing both the action variable and id variable in curley
brackets. The Rails API doesn''t off much help for a n00b like me. It''s
probably really easy but any help you guys
2006 Jul 23
4
Newbie question about .rhtml
Hi everyone, coming from PHP something in the .rhtml files has been
confusing the heck out of me.
Why does this work?
<% for header in @all_headers %>
<%= header.subject %>
<% end %>
and both of these don''t work
<% for header in @all_headers
puts header.subject
end %>
---------------------------------------
<%= for header in @all_headers
puts
2006 Jan 10
3
add blog engine to rails app
Is there a way to add a blog engine to a rails application? The TYPO
product seems all to much of a rolled up app, instead of a nice
"add-on". I have searched around but could not find anything too
useful.
Does anyone know of a product that does this ?
thanks
adam
2006 Jul 24
3
0.9.0 Version of Gem installation problem?
Hi all. I have installed latest INSTANT RAILS i.e 1.3
When i run the following command:
c:\instantRails\ruby\bin>gem -v
it returns
0.8.11
I want it to be 0.9.0. I have downloaded gems 0.9.0 but i dont know how to
place them and where so that i get the latest version of gems. Please help
me out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Aug 04
4
[Bug 838] New: ipset add foo syslog fails for bitmap:port
https://bugzilla.netfilter.org/show_bug.cgi?id=838
Summary: ipset add foo syslog fails for bitmap:port
Product: ipset
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: default
AssignedTo: netfilter-buglog at lists.netfilter.org
2005 Jul 28
2
Cochran-Armitage-trend-test
Hi!
I am searching for the Cochran-Armitage-trend-test. Is it included in an
R-package?
Thank you!
--
2006 Jul 25
7
Question about Associations and Eager Loading
Hey everyone,
I''m currently making an application that allows users to create custom
fields that have attributes associated with each field.
They can then attach instances of these fields (each with their own
separate attribute instances) to their account.
So, it looks like this:
Fields
/ \
Field Instances Field Attributes
\ /
Field
2006 Jul 24
4
[Slightly OT] Dealing with lost connections
Hi! I know that the web is essentially stateless, so I was wondering
about how lost connections can be managed.
I have an application that posts data to a web form. This form has a
large number of items (about 38) and I''m a bit concerned about the
connection being lost while posting the data. Is it safe to assume that
the web application will reject the transmission if the right
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi,
Just trying to get my first database based rails app up on
dreamhost.com. The app was working prior to putting in mysql DB usage
but I''m just stuck on getting the app working with mysql. I''ve already
created the database and can connect to it manually.
Below is the error I get after running the rake migrate. It worked OK
on my home PC environment. I did change the
2006 Jul 22
4
Reading floating points into a field stored as Integers
Hi, I''m trying to follow the "AWDR" example of storing certain types of
numbers (in my case, percentages not money) as integers in the
database. I understand from the Depot application how to format the
output to have 2 places (or n places for that matter) decimal.
Now, I"m wondering about the input. It''s more natural for people to
enter numbers as
2006 Jul 24
8
Views in one controller reaching out to other controllers (best practices)
Hello all. For the purpose of my question, let''s imagine we''re building some
search functionality.
You''re a sales person (you poor sap). And you''re hanging out in the
SalesCenterController. You need to do a search for available productions;
you''ve decided to be cool and use Ajax. Do you...
a) Make a remote call to an action in your current controller
2013 Aug 13
4
[Bug 842] New: Addition of iptables rule referencing an ipset of the wrong address family does not fail
https://bugzilla.netfilter.org/show_bug.cgi?id=842
Summary: Addition of iptables rule referencing an ipset of the
wrong address family does not fail
Product: ipset
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: default
2006 Jul 22
7
Validation with has_many
I have two problems. I have a comment that has_many uploads. Before
saving the comment, I want to be sure that the upload(s) has passed
validation, but I also need to validate in other ways. For example, I
do not want to save the comment if there is no comment or upload. Or, I
do not want to save the comment if the image has been uploaded
previously (comparing md5s with past upload md5s
2017 Mar 28
4
[Bug 1139] New: The include guards on the include/libipset/linux_ip_set*.h are wrong
https://bugzilla.netfilter.org/show_bug.cgi?id=1139
Bug ID: 1139
Summary: The include guards on the
include/libipset/linux_ip_set*.h are wrong
Product: ipset
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component:
2006 Jul 24
3
Customize list.rhtml to display only certain db columns
Hi,
Very new to RoR; have been a flash developer for four years or so. I
have an urgent question -- in the list.rhtml file, I only want to
display certain columns instead of dumping out all the columns in the
database. Could someone shed some light this topic? Thanks!!!
Sam
--
Posted via http://www.ruby-forum.com/.
2009 Nov 02
1
modifying predict.nnet() to function with errorest()
Greetings,
I am having trouble calculating artificial neural network
misclassification errors using errorest() from the ipred package.
I have had no problems estimating the values with randomForest()
or svm(), but can't seem to get it to work with nnet(). I believe
this is due to the output of the predict.nnet() function within
cv.factor(). Below is a quick example of the problem I'm
2013 Jun 02
6
[Bug 826] New: libiptc/libip6tc.h doesn't specify C linkage
https://bugzilla.netfilter.org/show_bug.cgi?id=826
Summary: libiptc/libip6tc.h doesn't specify C linkage
Product: iptables
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: libiptc
AssignedTo: netfilter-buglog at lists.netfilter.org
2006 Jul 23
4
Anything like with_scope for ActionController?
There are areas of my application that "want" to use a url structure
like
domain/<human_readable_param>/<Module>/<Controller>/<Action>/<Id>
Please note that the human readable parameter I need to inject is NOT
related to the <id> being used by the action/controller pair. It''s
identifying a container object whose contains are operated
2006 Jul 21
3
Re-formatting email line breaks
I''m trying to re-flow email messages, removing the line breaks that
get added by mail programs so that the lines don''t exceed 72 characters.
Mail.app and Thunderbird seem to insert a space character before each
added line break.
Outlook replaces new lines in the email with double \n''s, then uses
single \n''s for the ''soft'' line breaks.
2007 Nov 01
1
Help me in Cochran armitage trend test Coding
Dear sir,
I am Shibu John from Thrombosis Research Institute India. It is a
multidisciplinary organisation concerned with the interrelated problems of
thrombosis and atherosclerosis.
I was searching for Cochran armitage trend test program in R. Then I had
seen your R coding for C-A trend test. I tried that in the R software.
But I can?t run the program due the [Error: could not find function