Displaying 20 results from an estimated 4000 matches similar to: "how to get "www.site.com/user1" address"
2010 Jun 05
6
How do you update HABTM relationships or create.
Hi,
I have a User model with a HABTM relation to a Role model and vice
versa. So There''s a roles_users table that references :user and :role.
I''m using formtastic, and in the user.edit.html.erb I have a line that
outputs the roles as a multi-select list box. But the box is not
showing the roles that have been assigned to the users.
Another problem is that if I select a few
2009 Jul 29
3
Use of Ruby Gem and Plugin
Hi,
I need to know what should we use in ROR application
gems or plugins.
Which is the best for any ROR application?
Can anyone brief me about this.
Thanks
--
Posted via http://www.ruby-forum.com/.
2009 Jul 19
9
Equipment_URL Failed to Generate (new_equipment_path)
I''m trying to use new_equipment_path, which creates the appropriate
link. But, when trying to evaluate "equipment/new" I get the error
below. I''ve included my routes (rake route). Equipment is one of those
words that pluralizes to "equipment", so the singular is right (from
what I know from this forum.
Any help would be appreciated.
Error:
equipment_url
2009 Oct 28
6
undefined method `^' for "e":String
I''m attempting to learn Ruby on Rails, but these errors aren''t helping.
I''m currently trying to follow the lessons available on
www.learningrails.com. I received this error after trying to visit a
page generated by using the scaffold command. Actually, this is all I
did up until the error:
rails sample2 -d mysql
mysqladmin -u root -p create sample2_development
ruby
2010 May 28
8
form helpers don't seem to work with RJS files...
I’ve been spending a great deal of time chasing this problem. Hopefully
someone sees something obvious I’m doing wrong. Basically anytime I try
to call fields_for from an RJS file or within a partial in the RJS file,
I get the following error. My goal is simply to load a partial into a
div. The fields in this partial require fields_for though. And that’s
where the problem lies.
2010 Jan 29
4
requiring records in the DB before testing
Is there any way I can require a small set of data be in the test
database before any tests are run? (unit, functional, integration,
cucumber, etc)
Any way besides using fixtures, that is.
Overload a rake task?
Modify test_helper?
Any ideas?
(Simple Case: I have to have a minimal set of user roles defined
before any users can be created)
--
You received this message because you are subscribed to
2009 Oct 14
6
Combining rails intrAnet and public site.
Hello, everyone!
I was wondering if somebody has some insight on this issue.
[h]A little background:[/h]
I work for a midsize electronic manufacturing company with 2 people in
IT dept - a network admin and a developer (me).
We''ve been using rails to migrate from an old dBase and VB based system
to build internal company IntrAnet that does things like label printing,
invetory control,
2009 Aug 06
13
Redirect after login
Hi,
I''m new to Ruby/RoR so please bare with me!
I''m trying to adapt a ruby setup where someone logs in to a bonjour
service via a web browser. I have the login screen which asks for host
and password. There is only one user per host and i can log in fine.
It''s suppose to redirect me to /list in my browser but
doesn''t. Once i''ve entered the correct
2009 Nov 12
9
uninitialized constant XML::Document
Hi All,
I have installed "libxml-ruby" gem on my ruby instllation. while trying
to create xml document with ruby progam in Rad Rails am getting error
like "uninitialized constant XML::Document (NameError)"
do i need to config any thing else in environment.rb file
Thanks in advance
Chinna.
--
Posted via http://www.ruby-forum.com/.
2009 Aug 06
6
initializers
I created a "config/initializers/tasks.rb"
In it I have the following is all:
logger.info("Running tasks")
However nothing is logged or run. Am I missing something?
--
Posted via http://www.ruby-forum.com/.
2014 May 22
3
Host OS, Storage Info
Hi,
Is there any way to get host OS information and host Storage in formations
using libvirt API...?
Rgds
-Sijo
2008 Oct 27
8
pagination in ajax
hi,
I am curently using rails version 2.1.1.
Currently i have done simple pagination using will_paginate
plugin.it works.but when i am trying pagination using ajax
with help of will_paginate plugin
it wont works.i am also using RemoteLinkRenderer helper,
but it gives an error uninitialized constant RemoteLinkRenderer.
can anyone provide any tutorial or sample code so that i can
2009 Jun 02
3
valdate_presnce_of email, :if => :validate_id + Factory girl
Hi
In the model I have User
attr_accessor :validate_email_id
validates_presence_of :email ,:if => :validate_email_id
Could anybody please tell me how can I define a Factory for the above?
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
2009 Oct 29
4
manipulating form
Hi,
I work with forms and i won''t to set a name for a form to use
javascript functions..
How can i do
Thanks
2014 Jun 06
2
Libvirt Python Bindings - Remote Connection using openAuth.
Hi,
I am using libvirt with python binding, and I want to connect to a remote
host.
I was able to connect after making ssh certificate, but It is not
applicable for my project.
So I want to use openAuth() method, but I could not succeed connecting to a
remote host using it.
Here is my code
------------------------
import libvirt
USER = "root"
PASS = "mypasswd"
def
2014 Jun 06
1
Re: Libvirt Python Bindings - Remote Connection using openAuth.
Martin,
What do you mean by libvirt credentials...?
-Sijo
On Fri, Jun 6, 2014 at 1:57 PM, Martin Kletzander <mkletzan@redhat.com>
wrote:
> On Fri, Jun 06, 2014 at 01:06:55PM +0530, Sijo Jose wrote:
>
>> Hi,
>> I am using libvirt with python binding, and I want to connect to a remote
>> host.
>> I was able to connect after making ssh certificate, but It
2008 May 20
3
gem and pluggin
Hi
This is a general question.What is the differnece between these
?Why I am asking such a question is i am using will_paginate
pluggin..Now it is available as gem..So is there any performance
(stability and speed of execution) difference?
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2009 Aug 03
5
webcam image capturing
Hi
Could anybody please advice me to work with wecamera in Rails. What i
want to do is to capture webcam images from a machine and send that data
to a remote server there it needs to be processed. I have no idea of
where to start.Please help
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
2014 Jun 03
2
LIbvirt Python Snapshot -Domain Crashing
Hi,
I'm using libvirt(1.0.0) with python, for managing virtual machines..
but while taking multiple snapshot domain is crashing...
Snapshot XML
-------------------------
<domainsnapshot>
<name>snp1</name>
<creationTime></creationTime>
<description>Description</description>
<state></state>
<domain>
2008 Sep 19
3
create Graphical charts using rails
Hi
Could anybody please point me to some good links to draw Graphical
charts using RubyOnRails and also suggest which is the best one?
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,