Displaying 13 results from an estimated 13 matches for "parent_names".
Did you mean:
parent_name
2006 Apr 07
2
errors.add_to_base
What are the limitations on using:
errors.add_to_base
to display errors in views?
I have tried for days to add errors from my object.rb and they never get
displayed.
class Keyword < ActiveRecord::Base
validates_presence_of(:name, :message => "Name is required.")
validates_uniqueness_of(:name, :message => "This name is already in
use. Please try
2006 Jan 01
7
[ ANN ] Hieraki2
Happy new year! Hieraki 2.0.0 is released.
You can download Hieraki2 from rubyforge.org as tgz or zip
(http://rubyforge.org/projects/hieraki).
Hieraki2 has a new wiki engine that ships with more than a dozen new
features:
* everything-is-a-wiki-page (TM)
* all pages are under version control
* access control list
* stay in full control of the tree structure by cut and pasting
2007 Jan 14
3
Podcast API?
Hi,
I''m looking into developing an API for publishing videso/audio/etc to
iTunes using Rails. Has anyone done anything like this? or can point
me in the right direction? The web doesn''t seem to have anything on
it, regarding Rails or other technologies.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2006 Apr 26
2
Retrieving :id without passing it
Ok, I have read most of Agile Web Dev... so I had a question about
beautifying URLs using routes.rb. I''m trying to architect a content
management system in which a user can create template pages. This way,
when a user creates a template page nested within, it displays it as
though it''s displaying a folder structure, much like a directory tree
(using acts_as_tree).
I have a
2007 Jan 23
0
validates_presence_of fields. in parent ok, but how in children?
i have the problem that my child class fileds aren''t validated on
saving the
parent. working with parent and child works without problems.
if all fields are filled correctly everything is saved as expected.
but missing fields in the child arent added to the errors.
following short sample shows what i try:
Model
-----------------------------------------------------
class Parent <
2008 Jun 04
12
Mongrel as Windows service with normal privileges
I am trying to run Mongrel 1.1.5 with mongrel_service 0.3.4 on Ruby
1.8.6 with a "normal" user account, i.e. a user which belongs only to
the Windows group "Users". The rationale behind this is that running a
web server with full administrative rights (e.g. Local System) is not
something that I would like to do.
Unfortunately, starting the service from the services control
2007 Oct 01
0
View Spec - Misbehaving
I''m trying to write my first view spec; I''ve done some controller specs with
integrated views, but thought that isolating the views for some of these
tests might be nice.
So I wrote this:
> describe PlayerContainer, "show" do
>
> PARENT_ID = 12
> CHILD_NAME = ''Child Name''
> PARENT_NAME = ''Parent Name''
>
>
2006 Apr 21
5
installing hieraki help
Ahoy,
I tried to install hieraki and it was a big mess.
1) upload_progress module needed to be installed
2) no test/development server configured in the config file so i had to
add those
3) no log directory, had to add that
4) had to install 2 gems (ok fine)
5) once the server started, go to homepage and
" NameError in Wiki/pageController#index
uninitialized constant Node
RAILS_ROOT:
2006 Jan 04
4
Problems with Hieraki 2
hi,
I''ve already set up hieraki2 (database.yml: configured,
schema.mysql.sql: imported). I noticed that there is no user (table
"users" is empty) and I can''t login. So what should I do to use
hieraki2? :) The title is "Root | Demo" - Why "demo"?
I tried to create account called "root" using "signup" form.
I''ve got
2012 Sep 22
4
Class, Module, Object
>> reload!
Reloading...
=> true
>> puts Class < Module
true
=> nil
>> puts Module < Class
false
=> nil
>> puts Module < Object
true
=> nil
>> puts Object < Module
false
=> nil
>> Object.parent
=> Object
The above indicates that the Class object instance inherits from the
Module object instance and the Module object instance
2006 Jan 17
6
An object that initializes multiple objects?
Hi,
Something that I have noticed is that every class that inherits from
ActiveRecord::Base has a database table of its own.
However what if I don''t want a class to have its own table, but to
actually serve as a proxy to initialize other entries?
For instance as an example, let''s have a form with the fields for
"student name", "student id number",
2013 Oct 28
5
FreeBSD PVH guest support
Hello,
The Xen community is working on a new virtualization mode (or maybe I
should say an extension of HVM) to be able to run PV guests inside HVM
containers without requiring a device-model (Qemu). One of the
advantages of this new virtualization mode is that now it is much more
easier to port guests to run under it (as compared to pure PV guests).
Given that FreeBSD already supports
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
Wherever we had code which did:
if (something_bad) {
perror (...);
exit (EXIT_FAILURE);
}
replace this with use of the error(3) function:
if (something_bad)
error (EXIT_FAILURE, errno, ...);
The error(3) function is supplied by glibc, or by gnulib on platforms
which don't have it, and is much more flexible than perror(3). Since
we already use error(3), there seems to be