Displaying 20 results from an estimated 2000 matches similar to: "Where else can I access this ROR List ?"
2006 Jul 18
5
Installing ROR/Webrick app on Windows 2000/2003 Server
Hi all,
I am currently not able to use search since it is disabled, so I will
ask my question and hope I am not repeating a past question.
I am looking into developing an app to run in Windows 2000/2003 Server
environment. To install ROR on a server to run an app on Webrick do I
need any extra steps beyond those needed to install on my development
laptop (XP prof) ?
The idea is to run the
2006 Jul 20
2
ROR dev on Different Ruby versions
Hi,
First I would like to ask if someone could give me the direct link to
the mailing list this forum mirrors. This is so I can do searches
directly and not bother folks with repeat questions.
Now my question:
I recently installed a ROR app built on Ruby 1.8.2 and moved it to ROR
on Ruby 1.8.4. I got a few errors and had to regenerate my app in the
later and copy the App files and a few
2006 Mar 02
2
custom sql queries beyond CRUD
Hi,
I am just starting of in rails. I am trying to understand the features
of rails and I have this burning question. (and search is not available
now):
Apart from relying on the automatic CRUD sql script produced, is there a
way I can create my own sql script ex: with many joins between exixting
tables (for reporting ). All I need is to declare the custom query and
place the result in a
2006 May 03
3
One layout for entire App ?
Hi,
Being true to DRY, I know in Rails it is possible to define a single
layout associated to a controller and all associated views, lists etc..
by the layout name taking on the name of the controller but is it
possible of a layout to be shared between many controllers ?
TIA,
Tuka
PS: I accidentally posted this in the Test forum.. so I moved it here to
get a pertinent reply
--
Posted via
2006 Apr 25
3
command rake migration also runs #down method ?
Hi,
i am new to rails and trying to understand the migrate feature of rake
whenever I call "rake migrate", i understand it call all the latest
version of a given of given migrate files.
Now when these files are executed, id the #down method called and then
the #up ? or must i explicitly call the #down method from rake. If yes
how do i do that from rake ?
I experimented with rake
2003 Jul 18
2
pf
ei tuka imam edin pf conf obache pravi mnogo nomera, kato se pusne parvoto koeto e dropva paketi, timeoutva po serverite i t.n.. i speed-a e mnogo baven, vijte ako nqkoi moje da otkrie generalna greshka da reply :) vapreki che ne e freebsd-specific :P ne sym go pisal az a i ne sam mnogo mnogo zapoznat s pf zatova ako nqkoi moje da pomogne e dobre doshyl :) btw moje i neshto ot tia opcii kato set
2006 Aug 02
5
Fun with ez_where
I''ve been trying to use the ez_where plugin to create a dynamic finder.
The structure looks somehing like this..
=== controller ===
def list
attribute_filter = params[:filter]
@filter = Caboose::EZ::Condition.new :table do
attribute <=> attribute_filter if attribute_filter
end
#
... do the find with the @filter
#
end
=== view ===
....
<%= link_to
2006 Jul 15
12
Safe way to destroy records
Hello,
how can I check if a destroy was successful?
Is the object only frozen if deleted or do I have to do an additional
find to see if there is a record left?
What happens if an after_destroy callback returns false? Is there always
a rollback?
Markus
2006 Jul 24
3
HowTo?: Eager caching of third order ActiveRecord assoc.
Hello.
Using the ":include", which generates a "LEFT OUTER JOIN" SQL command,
it is possible to eagerly preload second order data objects (children)
for a given association.
I wanted to know, if it is possible to eagerly preload and cache
third order (or more) data objects, which are little-children or
little-little-children. As I''ve seen. it is possible to add
2006 Jul 17
3
Best practices - field initialization based on display rules
All,
I have a form with the following field interaction rules.
Given checkbox A,
text field B
text field C
If checkbox A is checked then make text field C equal to the value of
text field B and disable field C.
If checkbox A is unchecked then enable field C.
In order to display a form where I''m manipulating an already existing
object, I have something like this in my RHTML template
2006 Jul 15
13
Active Record: Can it auto-create database tables for you?
Hi,
Just get started with Rails and I''m trying to read ahead and find out
whether Active Record supports auto-creation of database tables for you?
Is this supported, or is the concept that you write your own database
DDL to do this?
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
4
Dropdown with concatenated columns.
What is the best way to create a drop down where the viewable text in a
concatenation of 2 or more columns?
For instance, I hane a lookup table with these columns.
Model FOO
columns: id , name, phone
In my drop select tag, I''d like the user to see:
"name1 phone1"
"name2 phone2"
etc..
I know I can do this using find_by_sql . ..
But, isn''t there a more
2006 Apr 12
22
Dynamic Select Box
Hi,
I''m new to rails/ruby having come from PHP and am just starting to get
my head round how easy it can be :)
However, can anyone point me in the right direction for dynamicaly
updating a select box based upon the choice of a previous select box,
without a page refresh.
Any and all help greatly appreciated.
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jul 16
7
RJS and Action Renders but page doesn''t update
All,
I am trying to perform a simple ajax task and am having some difficulties with the page showing the response. The action performs, but no response on the page.
I have found examples on the web and I believe I have copied and pasted exactly what works from the demo site. However, on my system it isn''t finishing. For a simple test, I have limited it down to an alert.
2006 Aug 18
1
Anyone seen any articles on AJAX autocompleting mulitple...
I don''t even know what its called really, so its hard to search for.
Here''s an example. They do this on MOG.com:
There''s one text field visible. You type in a band name. Another text
field appears. It auto completes album names based on the band name you
chose in the first field.
What is this type of thing called? Where is some source code I could
look at?
any
2006 Jul 17
1
AJAX/drop-down form entry
Hi all. Trying to figure out the best way to implement a drop-down
text-entry box.
Users will select a payment method from a select menu. If they click
credit card, a text box drops down to allow them to enter a cc number.
if they pick another option, they''re routed elsewhere when they submit
the form.
Ajax? Java? other ideas?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 21
3
adding numbers
hi! how can i add all the values from one tables field? i mean, i have a
table with the entries of a booking (amount), and at the end, i want to
have the total.
i tried with different loops making a method in the model, but nothing.
im doing something wrong, but i dont know what.
please could somebody help me?
ty!!
--
Posted via http://www.ruby-forum.com/.
2006 Jul 20
9
Including children''s children?
a has many b''s
b has many c''s
results = A.find params[:id], :include => :b
How do you also make sure the b''s include the c''s?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
O: 800-341-6826
M: 817-229-4258
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 02
4
Search function in this Forum ??
This forum has been a great resource for me. It would be great if i can
search the forum before posting any question, as i''m sure someone has
already posted that question before. The search function has been
disabled for quite sometime now. I''ve already emailed the administrator
but haven''t got any response.
any idea on when this would be enabled ?
Thanks,
VASU.
2006 Aug 07
3
simple if - then question
hi, could somebody tell me the difference between:
if not params[:id]
flash[:notice] = blabla''
redirect_to(:controller =>"calendar", :action => ''index'')
end
and:
if params[:id] == nil
flash[:notice] = blabla''
redirect_to(:controller =>"calendar", :action => ''index'')
end
the first one