Displaying 20 results from an estimated 31 matches for "nithin".
Did you mean:
within
2006 Feb 28
6
How To Validate Boolean Form Field
Hello all.
I''ve got the following in my model:
class Individual < ActiveRecord::Base
validates_presence_of :first_name, :last_name, :street, :city,
:state, :zip
validates_acceptance_of :AZ_resident, :message => "You must be an
Arizona resident."
end
The AZ_resident field is present and defined as boolean (PostgreSQL
8.1), but validation will not occur.
2010 Mar 10
2
Windows API to connect UnixOdbc is not functional in Wine
...Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so' file not found.
Since wine is clone to Windows API any application using that API should run also in Wine. Please let me know if wine windows API has any issues with unixODBC. Please advise how should I proceed here.
Warm Regards
Nithin
2006 Mar 01
2
SQLite in small production environment
...s about 1,500.
I will be deploying my application on a shared server. The database
shouldn''t be very large: it''s holding about a 1,000 records.
I''ve read this page: http://www.sqlite.org/whentouse.html and it seems
like I should be fine, but wanted a 2nd opinion.
TIA
- Nithin
2006 Mar 13
3
unit tests executed for every page load ?
After I installed the very sweet file_column plugin I get strange output
on my html pages. At the very end I always get something like this:
"Loaded suite dispatch.cgi Started Finished in 0.000218 seconds. 0
tests, 0 assertions, 0 failures, 0 errors "
Seems like there is executed a non existent test suite for every page
load. Can anybody help me find the lines that force this
2006 Mar 03
7
Meta Programming Help
I have the following two methods:
def ProductFile::find_images(mode, prod_id)
# convert to symbol in case it is not (most commonly it may be a String)
mode = mode.to_sym
case mode
when :all, :first
ProductFile::find(mode, :conditions => ["product_id = ? AND
file_type LIKE ?", prod_id, "image%"])
end
end
def ProductFile::find_documents(mode,
2006 Mar 03
5
avoiding nil object error?
I''m a total Rails newbie and i''ve been struggling for hours today
with one (prolly very silly) problem:
I have a table portfolios that has many images:
class Portfolio < ActiveRecord::Base
has_many :images
end
class Image < ActiveRecord::Base
belongs_to :portfolios
end
In the controller i define a list of active portfolios:
@active_portfolios =
2006 Mar 02
2
How to get mime extension with file_column
Is there a way to get the MIME extension of a file_column field?
Here''s what I want to do (look for comment in before_save method):
class ProductFile < ActiveRecord::Base
belongs_to :product
file_column :file_name
def before_save
self.file_type = # something that returns the MIME type (e.g. image/jpeg)
end
end
TIA
2006 Feb 27
3
Newbie Question
Hi! I just ran the first few Rails tutorials and I''m really impressed
at how quickly I was able to get something up and running.
I''m slowly emerging from the stone ages, and leaving my powerbuilder
behind ? yes, I know, keep the snickering to a minimum please! I
started into J2EE/STRUTS, but was quickly frustrated by how long it
would take to code anything but relatively
2006 Mar 01
15
Is there a perl equivalent of .= in ruby/rails??
I want to make a for loop that concats strings onto a variable:
html .= var1 + "this is a test" + whatever
What is the syntax that does this in ruby/rails?
Also, is there a ''print'' method in ruby? Because when I try to use
render_text it will only let me use this once.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 02
2
url_for_file_column not returning correct path
I added this test towards the end of the included
file_column_helper_test.rb that shipped with the file_column plugin:
def test_url_for_file_column_different_root_path
Entry.file_column :image, :root_path => File.join(RAILS_ROOT,
"public/files")
e = Entry.new(:image => upload(f("skanthak.png")))
assert_match %r{/public/files/entry/image},
2006 Feb 24
2
sqlite sets a new model''s id to 0 after a save
Example:
car = Car.new
car.id # is nil
car.save
car.id # is 0
I''m wondering if this is expected behavior, or something wrong with
what I''m doing. If it is not expected behaviour, how do I go about
solving it?
2013 Feb 28
0
Libvirt not creating .vmdk file and .nvram files on vmware esx host
...mail.
the versions i am using is :
virsh # version
Compiled against library: libvirt 1.0.0
Using library: libvirt 1.0.0
Using API: ESX 1.0.0
Running hypervisor: ESX 5.0.0
The system i am using is Ubuntu 12.04 LTS 64 bit
Please reply me.Waiting for your response.
--
*Thanks & Regards*
NITHIN.M.P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130228/9271654f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eee.xml
Type: text/xml
Size:...
2006 Mar 02
2
Unit tests, salted hash login
Hello,
I am having some trouble running the unit tests for the salted has login
generator. I am a bit new to both ruby and rails so I am having a little
trouble deciphering the error message I get when running ''rake
test_units''. Up till the point where I try to run the unit tests I have
followed the quick start guide for the salted hash login generator
2006 Mar 02
17
can''t get rails to connect to mySQL - HELP!!!!!!!!!
Sorry, but this is really NOT as easy as the tutorials/books make out.
I''m really struggling at the first hurdle here. And while I''m not a
programmer by design I do know my way around most stuff. And if I can''t
get this to work I suspect more people will have the same issues. There
seems to be too many variables to address.
I have winXP, I have ruby and rails all
2006 May 03
2
How do you use the ''vendor'' directory with 3rd party libraries?
Hi,
I''m wondering how to use the ''vendor'' directory in a Rails app. I
know that you can put plugins and engines into the ''vendor/plugins''
directory and that svn:externals can be used for that, but I was
wondering how & where I put a 3rd party library? My specific case is
the pdf-writer code, which I''d rather have inside my app than as a
2006 Feb 27
6
One to Many example... please!
Hi,
I am pulling my hair out trying to work out how to put together what
should be a simple app in rails. The app is to CV''s so I have a table of
CV''s and each CV can have multiple skills. Skills are in a 2nd table
below;
CREATE TABLE cvs(
id INT not null AUTO_INCREMENT PRIMARY KEY,
first_name VARCHAR(30) not null,
family_name VARCHAR(30) not null,
email
2011 Apr 27
0
ICAC2011 Call For Participation (8th IEEE International Conference on Autonomic Computing)
...ADDITIONAL REVIEWERS:
Paul Alcock
Azman Ali
Radovan Bruncak
Daniel Chen
Yuan Chen
Xabriel J. Collazo-Mojica
Javier Delgado
Ciprian Docan
Daniel Gmach
Ajay Gulati
Gabriela Jacques da Silva
Matthew Jakeman
Hyunjoo Kim
Solomon Lasluisa
Andreas Louca
Angelos Marnerides
Asit K Mishra
Philip P. Moltmann
Nithin M. Nakka
Antonio Pecchia
Cuong Pham
Andres Quiroz
Junghwan Rhee
Ivan Rodero
Alberto Egon Schaeffer Filho
Steven Simpson
Paul Smith
David Villegas
Wade Vinson
Zhikui Wang
Joel Wolf
Keun Soo Yim
Fan Zhang
**********************************************************************
2011 Apr 27
0
ICAC2011 Call For Participation (8th IEEE International Conference on Autonomic Computing)
...ADDITIONAL REVIEWERS:
Paul Alcock
Azman Ali
Radovan Bruncak
Daniel Chen
Yuan Chen
Xabriel J. Collazo-Mojica
Javier Delgado
Ciprian Docan
Daniel Gmach
Ajay Gulati
Gabriela Jacques da Silva
Matthew Jakeman
Hyunjoo Kim
Solomon Lasluisa
Andreas Louca
Angelos Marnerides
Asit K Mishra
Philip P. Moltmann
Nithin M. Nakka
Antonio Pecchia
Cuong Pham
Andres Quiroz
Junghwan Rhee
Ivan Rodero
Alberto Egon Schaeffer Filho
Steven Simpson
Paul Smith
David Villegas
Wade Vinson
Zhikui Wang
Joel Wolf
Keun Soo Yim
Fan Zhang
**********************************************************************
2013 Mar 18
0
[linux-linus test] 17325: regressions - trouble: broken/fail/pass
...g@marvell.com>
Ning Jiang <ning.n.jiang@gmail.com>
nirinA raseliarison <nirina.raseliarison@gmail.com>
Nishank Trivedi <nistrive@cisco.com>
Nishant Sarmukadam <nishants@marvell.com>
Nishanth Aravamudan <nacc@us.ibm.com>
Nishanth Menon <nm@ti.com>
Nithin Nayak Sujir <nsujir@broadcom.com>
Nitin A. Kamble <nitin.a.kamble@intel.com>
Nitin Gupta <ngupta@vflare.org>
Niu Yawei <yawei.niu@intel.com>
Nivedita Singhvi <niv@us.ibm.com>
Noam Camus <noamc@ezchip.com>
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>...
2013 Mar 29
0
[linux-linus test] 17454: regressions - FAIL
...g@marvell.com>
Ning Jiang <ning.n.jiang@gmail.com>
nirinA raseliarison <nirina.raseliarison@gmail.com>
Nishank Trivedi <nistrive@cisco.com>
Nishant Sarmukadam <nishants@marvell.com>
Nishanth Aravamudan <nacc@us.ibm.com>
Nishanth Menon <nm@ti.com>
Nithin Nayak Sujir <nsujir@broadcom.com>
Nitin A. Kamble <nitin.a.kamble@intel.com>
Nitin Gupta <ngupta@vflare.org>
Niu Yawei <yawei.niu@intel.com>
Nivedita Singhvi <niv@us.ibm.com>
Noam Camus <noamc@ezchip.com>
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>...