Displaying 20 results from an estimated 60000 matches similar to: "plz do favour in xml builder"
2006 Aug 05
2
plz do favour in active record
hello
I want to do like the below code
name=[''net'',''gross'',''amount'']
avail= Avail.find(1)
return avail.name[0]
but it gets error
I want to give " avail.name[0] " like this, rather than avail.net
directly,
can u guys plz help me, how to do this plz explain with code
advance thx
have a pleasant day
narayana
--
2006 Jul 26
1
Plz answer my query in date_select
hello gentlemen
I want to set my (default)own date in date_select, how to do this, plz
explain with example
advance thx
have a nice day
regards
narayana
--
Posted via http://www.ruby-forum.com/.
2006 Aug 04
1
How do i create & insert data into xml file in ruby
hello
How do i create new xml file & insert data into that new xml file in
ror
plz explain with example code.(say i have to insert all the values of a
table into xml file )
advance thx
Have a pleasant day
narayana
--
Posted via http://www.ruby-forum.com/.
2006 Aug 02
2
multi dimensional array
how to implement multi dimensional array in ruby
in ruby multi dimension array look like tree structure
plz help me & explain with code
have a pleasant day
thx
narayana
--
Posted via http://www.ruby-forum.com/.
2006 Aug 05
0
help needed in xml feed
hello gentlemen
if i use the below code in model( I want this code to be in model only
not in views)
xml = Builder::XmlMarkup.new( :target => $stdout, :indent => 2 )
xml.instruct! :xml, :version => "1.1", :encoding => "UTF-8"
xml.avails {
xml.dump("hai")
xml.dump1("hello")
}
how can i retrieve this code & feed this code into
2006 Aug 07
1
how to create new folder
hello
how to create new folder /directory in ruby. how to check whether the
directory is exists. plz explain with example code
advance thx
narayana
--
Posted via http://www.ruby-forum.com/.
2006 Jul 22
2
selected values in combo box
how to set default value in combo box or whether there is another way
plz explain with example code
advance thx
have a nice day
--
Posted via http://www.ruby-forum.com/.
2006 Sep 29
7
help needed in UNIT Testing
hi guys,
I needed help in Unit test. i just try to save new data intomy test
database.
but save method does not works for me. the result shows here
def test_new_avail
avail = Avail.new(:vendor_id => 1,
:last_mod_by => ''Murali'',
:updated_at => ''2006-08-17 13:14:59)
assert avail.valid?
assert avail.save
end
2006 Jul 24
0
set day in date_select
hello gentlemen
how to set default day and default month in date_select. plz explain
with examples
advance thx
have a nice day
narayana
--
Posted via http://www.ruby-forum.com/.
2006 Jul 17
4
how to invoke model methods in controller & vice versa
hello
how to invoke model methods in controller & vice versa
please explain with examples
advance thanx
--
Posted via http://www.ruby-forum.com/.
2006 Nov 15
1
how to handle alert box message in selenium test?
hi guys,
how to handle alert box message in selenium test?
i want to handle alert box. i want to test(verify text present) the
text in alert box & then click ok to alert box. how can i do this.? plz
tell me...
advance thx.
regards,
karthick.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2006 Oct 26
8
doubt in Selenium test
Hi guys,
I am just started to do selenium test in rails. can u guys plz tell me
how to write selenium test for the below code. for ex: i want to use
click action in selenium test for the below code
<a href="#" onClick="javascript:show_form(''short'');">Add a Short Media
Buy</a>
advance thx
regards,
Karthick.
--
Posted via
2006 Jul 24
1
Default in date_select
how to set dafault date in date_select plz explain with example
advance thx have a nice day
--
Posted via http://www.ruby-forum.com/.
2005 Jul 18
2
Comments on Areski Calling Card Solution plz
Hi,
can anyone who has the Areski Calling Card solution on Asterisk
working comment on it? Is is stable enough for a production system?
Any pros and cons?
thx,
Arnd
2006 Jul 03
2
XML Builder - xml header...
for some reason, i am getting an extra:
<?xml version = "1.0"?>
in my xml file..
i am using a file called:
lastLogins.rxml
and the code looks like:
xml = Builder::XmlMarkup.new
xml.instruct! :xml, :version=>"1.0", :encoding => ''ISO-8859-1''
xml.loginData do
@lastLogins.each do |login|
xml.entry do
xml.user(login.user)
2009 Mar 19
0
plz add support of APC sc1500i by NUT
thanks for these info.
2009/3/19 Artyom Mikhailov <artyom.mikhailov at gmail.com>
> Hi there,
>
> Great project you have - NUT, thx for the development!
> I just thought it might be usefull to let you know that APC SC1500I ups can
> be found supported by NUT.
> I used the following settings:
> [sc1500i]
> driver = apcsmart
> port = /dev/ttyUSB0
2007 Aug 29
0
xml builder using straight xml within the rxml template
I was wondering how can I insert straight xml, ie "<a>test</a>" inside
the builder syntax.
For example, i want to be able to do something like this
xml.A do
xml.B do
"<a>test</a>"
end
end
should give:
<A>
<B>
<a>
test
</a>
</B>
</A>
Anybody have a clue on this one?
--
2008 Apr 23
1
Looping in .xml.builder
In my show.xml.builder I have following code.
xml.events {
<% @events.each do |event| %>
xml.event event.name
xml.id event.id
<% end %>
}
But the above code doesn''t work. Anyone knows how to incorporate looping
in .xml.builder file.
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this
2005 Aug 22
1
XML Builder question (Brain Teaser? or At A Total Loss?)
I''m trying my best to get Builder to give me a nested representation
of my nested database tables, but I think I''m not getting any closer
to a solution. In fact, now I''m in Syntax Error land, rapidly
approaching Missed Deadline country. Perhaps you could be the one to
save my ass?
Basically, I have Images which have many Options (intended to
represent
2006 May 31
3
Camping and Builder and XML
Hi,
I have built a simple Camping application which indexes an ODBC
datasource using Ferret on startup, then accepts search strings and
renders the resulting hit list in HTML, and it works quite nicely.
The next step was to alternately render the list in XML for consumption
by another application. In Rails, I would simply use Builder in the view
to get the job done, and so I did the same in