Displaying 20 results from an estimated 7000 matches similar to: "Struts vs RoR"
2006 Jun 18
5
on change of drop down showing a new textfield
hi,
i have a situation where i have a list of options from which a user selects
his options if its not in the list he/she selects Others/Not Present and a
new textfield should pop up and the data entered there should be considered
instead of dropdown.
i have done this using javascript/dhtml but i was wondering how this can be
done using pure rails i.e using some of the RoR apis?.
i would
2006 Jun 18
3
on change of drop down a textfield emerging
hi,
i have a situation where i have a list of options from which a user selects
his options if its not in the list he/she selects Others/Not Present and a
new textfield should pop up and the data entered there should be considered
instead of dropdown.
i have done this using javascript/dhtml but i was wondering how this can be
done using pure rails i.e using some of the RoR apis?.
i would
2006 Jul 21
10
why validation on server side
hi,
i have noticed that the validations in RoR happen at server side
mostly what sites do is using javascript they validate user information
there...
whats the point of doing it at the server side
is it that loading of javascript file in a browser makes a response to
client slow
and validation at server side offsets that....?????
any sugeestions????
is it that i am missing something as
2006 Nov 04
4
live search
hi all,
i have implemented live search using scriptulous and i am getting the list
the problem is that when i select an item from the list white spaces gets
appended in front " item" of the selection in firefox and in opera
front and behind " item "
i printed the value in console and saw it gives "item" but in textbox after
selection whitespaces gets appended
2006 Nov 04
2
sql query in active record
hi all,
if i want to write a query select * from a,b where a.b_id=b.id in active
record
using joins,condition how can i write that
in docs i found for conditions you do by giving "?" and then the parameter
eg. a.b_id=?
but it takes b.id as string i.e a.b_id=''b.id''
i dont want that
any suggestions
thanks in advance
regards
gaurav
-------------- next
2006 Jun 29
3
stylesheets
hi,
all
i have been playing around with rails for sometime,
i have seen most not all of the rails sites have similar look and feel (good
one)
i want to know how to use the stylesheets provided by the RoR framework if
any
or is it that we have to define on our own from scratch.
basiclly i need information regarding how can i make my view better
looking(the visuals)
Thanks in advance
warm
2006 Mar 28
74
Is this an elaborate hoax/troll?
I sure hope so:
http://duckdown.blogspot.com/2006/03/additional-thoughts-on-why-ruby-isnt.html
Seems like it''s getting genuine rebuttals, though. It''s actually kind
of amusing.
2006 Jan 19
7
Rails or Java J2EE (Spring, Struts Shale) - scalabilty
Hi,
normally I am doing all my webprojects with PHP. But now I am planning
to use a framework, either Ruby On Rails, or Java in particular J2EE
with Java Spring, or Struts Shale.
Well, I already tried RoR a few month ago, so I am simply comparing it
to the Java alternatives now. My problem is, that maybe using Java for
my projects is like using a dredger to grub a small hole :) But on the
other
2006 Jul 25
2
web services client problem
hi all,
i have been trying to study web services using rails so far i succesful
with server implementations in REST,SOAP,XML-RPC but the client code is
troubling me.
i have done most of the coding as per the rails book agile web development
i.e implementations of the servers and when i invoke them they give result
but when i try to acces them through another controller it gives time out
error
2009 Jan 26
7
Wine and Guitar Pro 5.2
Ubuntu 8.10 Desktop, Wine 1.1.13 (upgraded from 1.0.1 to try to solve my problem). I have used used Guitar Pro very recently without a problem. After a PSU failure, I had to reinstall the OS and downloaded and installed software, including Wine. Guitar Pro appeared to install properly and its splash screen was normal. Immediately the full program ran, a fatal error stopped it. I have a screen
2003 Feb 04
5
SORTING Arrays by index value
Hello, I'm somewhat new to R. I've searched the archive for the last year
and tried to consult the manual pages for the following problem, but did
not find an answer.
I want to sort an array by the index values. Here is the array
>acc.gp.bl.wtmn
Gp17 Gp4
1 0.5703125 0.6406250
10 0.7812500 0.7109375
11 0.8046875 0.7343750
12 0.8359375 0.7890625
13 0.8515625 0.7109375
2006 May 23
14
Learn Ruby before Learning Ruby on Rails ?
hello Friends,
I am a newbie to "Ruby or Ruby on Rails". A J2EE application architect
at my day job. A fairly experienced PHP web-developer as well. After
reading into the many articles on Ruby/ROR, have to admit looks pretty
good so far. Really serious about getting into this and possibly
developing some good Web 2.0 applications.
Just wondering the best way to learn Ruby on
2009 Aug 12
3
Combinatorial problem
I have been struggling trying to write some code to produce all
combinations subject to some restrictions. I thought someone might have
some bright ideas.
I have 11 values which fall into 5 groups. I want all combinations of
2,3, and 4 values where each value must be from a different group. The
numbers in the groups are different. Here is a definition of the groups:
groups <- list(gp1 =
2008 Oct 17
3
Guitar Pro in Wine?
My uncle recently bought a new computer and he wants me to help him install Guitar Pro.
The thing is, he doesn't have Windows, and I'm thinking of installing Ubuntu with wine on the comp.
Quiz time!
Can you use wine, with GP, and if you can, deos it perform poorly in any ways?
2006 May 19
7
AR transactions and isolation levels
I''m trying to create a sequence with no gaps in my db (contrived
example, but should work out the same as my real one), and believe
db-managed transactions are the way to go about this.
It''s my first real ''go'' at transactions, so I may be mistaken about
how things really work.
Anyway.. Consider this example code:
Class Invoice < ActiveRecord::Base
def
2010 Apr 29
1
randomness in stepclass (klaR) or lda (MASS) ?
Hi,
a colleague ran a stepwise discriminant analysis
twice in a row and got different results, suggesting
some "sochasticity" in the algorithms involved.
I looked at her data and found that there was a lot
of collinearity, so that I reckoned that maybe "stepclass"
(klaR) cannot find a clear winner when trying to include a
new variable and makes a random choice. Is that true?
2007 May 15
4
Need help with singleton worker
We have a fairly expensive task that we''d rather not schedule too many
instances of in parallel.
Couldn''t get pool_size to limit the amount of workers, and I figure
that''s hardly optimal anyway, so would like to have the work queued up
for a single named worker instead, running as soon as possible.
Using MiddleMan.schedule_worker() with :job_key does start off a
2011 Dec 06
3
Riak on Camping
Good day, does anyone here have a clue on how to make use of the NoSQL
database "Riak" with Camping?
I am building my website and Riak seems like pretty much the ultimate
database!
This would probably ruin every little feature in ActiveRecord, I don''t
think I''d be able to do any has_many''s or belongs_to
but I''d LOVE to be proven wrong. As far as
2013 Mar 04
4
sieve-filter ignoring separator
It seems like running sieve-filter from the console ignores the separator
setting, thus not letting me filter into folder names containing dots.
Normal delivery using lda handles it just fine, but not when using the
sieve-filter command.
Character not allowed in mailbox name: '.'
Is there anyway to override this or is patching and recompiling the source
my only option?
# dovecot
2011 Feb 15
1
samba authenticates only against the primary group of a user?
Hello everyone!
I seem to be have a bit of a problem setting up a few network folders for a
my office on a Qnap storage device running Samba -v3.5.2. So I ask:
when the 'write list' of a share contains ONLY groups, and a user tries to
log on to that share, then samba authenticates against the primary group
only of that user only??
Here is the example that fails:
-the user is