Displaying 20 results from an estimated 1000 matches similar to: "Is this same or different"
2006 Feb 13
1
Executing ruby on rail program through address bar
I Want to run my ruby on rail application through address bar.
i.e like: http://localhost/rail_program/first.rhtml.
when i trying this it only executes html part but not executing rail
part.
Here is the code:
<html>
<head>
<title>eruby example</title>
</head>
<body>
<h1>Enumeration</h1>
<ul>
<%(1..10).each do|i|%>
<li>number
2006 Feb 16
6
http://127.0.0.1:3000/
Hi,
I installed ruby on rail on my windows system.
I sucessfully made one database related application.
But when i want to execute it, i have to give url like
http://127.0.0.1:3000/wedding/ etc.
can''t i browse through my browser?
192.168.0.51 is my ip.
Another one thing is i never get file named new in my example then also
it executes file called new for database inserting ,how it is?
2006 Apr 17
2
installation of ruby on rail on linux fedora
i installed and work fine with ruby on rails on windows.
i used onlamp.com sites tutorial for that.
now i want to install it on linux.
how i can?
Please help....
Thank You in advance
--
Posted via http://www.ruby-forum.com/.
2006 Jun 30
2
Eruby.import -> "uninitialized constant" error
I''m working on porting a dynamic website done in PHP over to mod_ruby. I
have everything set up and working nicely (I can make a .rhtml page, put
ruby code between <% %> and it works etc), but when I try to use
"Eruby.import" as a sort of analog to PHP''s "require_once()", I run into
trouble.
1) eruby is in my cgi-bin
2) here''s a sample of
2006 Feb 13
1
Executing ruby on rail program
Hi,
I prepared code using ruby on rail.
Now i want to execute it.
How i will?
Please help me,I m new in ruby on rails.
Thank you,
--
Posted via http://www.ruby-forum.com/.
2006 Feb 17
3
Ajax On Rails
Hi,
I want database query in rail for ''LIKE''
i.e in sql it something like.
"SELECT * FROM tablename where filedname LIKE ''%keyword%'' " etc.
What for rail?
--
Posted via http://www.ruby-forum.com/.
2007 Sep 28
2
RoR uses something rather than erb or eRuby?
it seems that RoR doesn''t use erb or eRuby to generate its output for
rhtml?
the program erb and the description of eRuby at
http://www.eruby.info
both said that
<% print "foo bar" %> or <% puts "hello" %>
will be placed into the output...
but currently for RoR, it won''t...
only <%= expr %> is doing it and it cannot be print or
2006 Jun 04
4
eRuby & Rails: Not Compatible
I''m new to Ruby, Rails, and this list. I''ve tried searching for an
answer but it all seems to be over my head. I have all the books but
again they seem to leave me on my own to figure out the stuff that
really matters. Where is the best place to find out the details?
Exactly what are these much celebrated "naming conventions"; i.e. where
do I find an exhaustive
2006 Jun 22
2
eRuby/erb
Hello. Prospective Mongrel user here.
Can Mongrel act as a server for eruby or erb files?
Example:
<html>
<body>
<p>The time is <%= Time.now %></p>
</body>
</html>
Pistos
2018 Jul 18
2
Why Clang is unpacking my StructType Function arguments
Hi:
We are currently building an internal solution based on LLVM/Clang technologies which involves generating LLVM IR based on Bitcode generated by Clang from C codes.
We have a C function which prototype looks like the following:
typedef struct {
int (*allocFunction)(void* x, void* y);
void* YY;
} Type4;
int bar (Type1 *x, Type2 *y, Type3 *z, Type4 bar)
When we compile this code
2008 Sep 06
2
Hopefully an easy error bar question
Hi im trying to add error bars to my barplots, there very basic, i have a few grapghs where the y variable is different but on all the X variable is Age (Adult and Juvenile) however this is split into two levels so i have males and females, so my graph basically has four bars on it.
I know how to add eror bars for instance when there is only one level eg lookng at the diffrence between male and
2008 May 20
6
IE 7
hello;
I installed IE 7 But i can not find it's .exe to Run it .
where does it install ?or it has not been installed ?
there is no diffrence i just want install IE
Thanks alot
2006 Jun 12
3
Multiple Form Fields with Same Model?
Hello,
I''m trying to create a form that will allow a user to submit a list of
phone numbers, but the list is dynamically created. Thus allowing my form
to submit an unknown number of phone numbers.
Here is some of the code I have been trying:
<%= collection_select( "phone[]", "phone_type_id",
PhoneType.find(:all, :order => "position"),
1999 May 07
1
Slow performance with Win95 client
Hi
I am new to this list, but I have been having problems with samba for some
time now. Here is the problem When my Win95 clients access the samba
server I get real slow transfers, even if I only have one client accessing
the server. It transfers at like 70k/s to 150k/s, and the collision
lights on the hub start going crazy. even for 10 megabit networking, this
is rather slow. (it takes like 3
2006 Aug 18
2
printing out text in .rhtml files
Hi all,
In php i can do something like this:
<?php
print ''hello'';
print '' world'';
?>
Is there an equivalent to print in eruby, or do I have to use multiple
<%= %> lines?
Thanks!
Jack
p.s. I tried posting this before, but I don''t see it. Sorry if this is a
repeat.
--
Posted via http://www.ruby-forum.com/.
2007 Feb 08
1
Diffrerence in "%in%" function to boundry setting via <>
Hi,
There is a point which is irritating me currently quite a bit and that is an
aspect of different behaviour between the %in% function and the
smaller/bigger than signs (<>). Here is are two examples to demonstrate what
I mean:
Example1:
> c(1,1,2,2,3,4,4,6,7) %in% c(1,2,3)
[1] TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE
Right, that is what I expect.
Example2:
> ps
2006 Feb 20
7
Native erb lacks -%>, where is Rails'' erb?
Native ERB in ruby, and eruby, seem to lack the -%> feature for
suppressing trailing newlines. Thus
erb -n script
gives errors. Where is Rails ERB so I can invoke it directly?
Thank you
Hugh
2005 Apr 08
0
switch mod_ruby to fastcgi but still use eruby?
Hello there list-
I have a question I hope someone can answer. I have a Debian server
that currently has mod_ruby and eruby installed and working great for
the last year or so. I also have one rails app working great on this
box. My question is this: I want to switch to fastcgi so i can have
more than one rails app, but there are already many scripts using eruby
with no framework at all just
2007 Oct 01
1
Getting started on win32 - without Rails.
Hi,
I''m trying to get started developing my first ruby-powered web-app. I wont
be using Rails for this, at least I don''t see any reason why I should.
However, the "getting started" sections in the documentation only shows
you how to start a Rails application.
My mindset comes from PHP/JSP-type languages where you embed code into
HTML. It seems the way to do this with
2011 Sep 26
1
nss_winbind problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well,
I think this is not the only time you guys ever seen that kind of mails.
First of all, I did checked all that is to be checked before writing to
list. wbinfo -u and wbinfo -g work flawless. Also wbinfo -a, so I can
authenticate without problems.
The setup is a normal trust setup where domain X (my domain) trusts
domain Y (another company).