Displaying 16 results from an estimated 16 matches for "kanda".
Did you mean:
handa
2006 Jun 01
7
Active Record Basics - Making it commentable
hi everyone, I hope someone can help me out with some active record
basics? I''ve been banging my head for the past 4 hours and I can''t seem
to get it to work.
I am trying to add comments to a caption (just like how one adds a
comment to a post in a blog). I seem to be able to read posts just fine
from the DB, however, I can''t use the "recordComment"
2006 Jun 01
8
[Pdf::Witer]
Is anyone using Pdf::Writer?
I don know how to insert html tags in a pdf using Pdf::Writer, except <b>
and <i>
I think an idea is with Pdf::TechBook but i hadn''t seen any example till
now.
--
Cheers,
ioana k&a
http://boulangerie.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 09
8
[how can i delete a file system..please help]
Hi,
I''m trying to delete a file system (<xml_26548975.xml>)
File.delete("xml_26548975.xml")
But I get this error:
"Permission denied - ./script/../config/../uploads/xml_26548975.xml".
Why?
--
Cheers,
ioana k&a
http://boulangerie.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 08
5
Field names in validators
Hi!
Is there a (simple) way to use alternative field names in validation
messages? For example, if I have a validator like this one:
validates_presence_of :email
how can I make it print a message like "E-Mail Address can''t be blank"
instead of "Email can''t be blank"? I can override the "can''t be blank"
part by using the :message
2006 Jun 08
3
Back again; errors in depot app
Sorry, but this is a big one - after adding the Ajax portion of the Agile
Web Development tutorial my page displays:
Application error
Change this error message for exceptions thrown outside of an action (like
in Dispatcher setups or broken Ruby code) in public/500.html
It started when I added -
page[:current_item].visual_effect :highlight,
:startcolor => "#88ff88" ,
:endcolor =>
2007 Jan 06
2
negative binomial family glm R and STATA
...", "Kafubu",
"Kalamba", "Kalambayi Kabanga", "Kalemie", "Kalenda", "Kalonda Est",
"Kamalondo", "Kamana", "Kambove", "Kamiji", "Bibanga", "Kamina",
"Kampemba", "Kanda Kanda", "Kansimba", "Kanzenze", "Kapanga",
"Kapolowe", "Kasaji", "Kasenga", "Katako Kombe", "Katuba", "Kenya",
"Kiambi", "Kikula", "Kilela Balanda", "Kilwa", "...
2006 Jun 01
4
How do I get today''s date?
I know this is a simple question, but i just want to put the current
day, month, date and year on my website. I still can''t figure out how to
read the Rails API. Can anybody help me out? TIA
--
Posted via http://www.ruby-forum.com/.
2006 Jun 07
2
[delete an uploaded file issue]
Hi,
I''m trying to delete an uploaded file (<xml_26548975.xml>). But I get this
error:
"Permission denied - ./script/../config/../uploads/xml_26548975.xml".
Do I need to set some configurations for WeBrick?
--
Cheers,
ioana k&a
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 13
2
Top margin on PDF generated with PDF::Writer
Hi,
A little question. I''ve written a method that uses PDF::Writer to
generate a PDF document with some images and text. This is the code on
my controller:
def pdf
gen_pdf
redirect_to("#{@request.relative_url_root}/pdf/cupones.pdf")
end
private
def gen_pdf
pdf = PDF::Writer.new(:paper => "A4")
pdf.margins_cm(0)
pdf.start_columns(2, 0)
pdf.select_font
2006 Jun 22
2
Passing a value from one rhtml to another
I''m trying to find a way to get from one rhtml page to another and
taking a value along to use in the second page. Basically a user clicks
on one of many download links and what should appear on the next page is
all the available stuff related to that download, so I think if I take
the id number of the first page then i can use if statements in the
second page? Sorry if that sounds
2006 May 31
3
class does not inherit (?) ActionRecord::Base
Hi. I''m a newbie at this, so please bear with me.
I have several classes which model several corresponding tables. All of
them seem to work except one. I have not made many modifications from
the scaffold templates. However, with one class, Log, all methods give
me the following type of error
NoMethodError in LogController#create
undefined method `save'' for
2006 Jul 04
4
ROaR: A Ruby on Rails Podcast
I''m starting a new podcast to cover some of the hot topics going on in
Rails. Half news, half interactive, all community. As always, the
first episode kinda sucks but I''m looking forward to feedback from all
of you on how to make it better.
http://www.simiancodex.com/roar/
or for iTunes people
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=163609703
Michael
2006 Jun 02
3
Wierdness with rake test_units and schema.rb
I have just migrated to use Rail 1.1 from 1.0.
In the progress of fixing and cleaning up the unit tests. I found the
following problem. I am not sure if this is a bug or it is my
environment.
When I run "rake test_units, some of the index in association tables is
not created, this leads to failures for some unit test cases.
Thinking that may be because I didn''t setup the
2006 Jun 02
5
ActiveRecord: Getting table names
How do i get (discover) all the table names within a database using
ROR/ActiveRecord ?
I wish to build a webapp that connects to a database on the fly,
discovers tables and column names etc and then can show data or build a
report based on user selection. The ActiveRecord API doesnt seem to give
any method for getting table names.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 14
0
Rails puts and pp logs are showing up on browser
Hi,
I am using Ruby 1.8.3 and Rails 0.14.2, running on Linux (Fedora) and
lighttpd.
When there is an exception during RSS parsing or Webservice call, I am
getting the error messages shown on the browser. This happens only when
there is an exception thrown. This happens only on Linux, not on windows
server.
lighttpd has write access to the log files.
Am I missing some configuration or
2006 Feb 15
0
$stderr and $stdout are send as part of http response
I am stuck with this issue for some time and I need your help/thoughts.
I am using Ruby 1.8.3 and Rails 0.14.2, running on Linux (Fedora) and
lighttpd.
When ever there is an exception while parsing RSS feeds or Webservice
call,error messages and logs are shown on the browser. This happens only
when there is an exception thrown and on Linux.
lighttpd has write access to the log files. Am I