Displaying 5 results from an estimated 5 matches for "mopo".
Did you mean:
mono
2005 Dec 20
0
db/schema.rb and PostgreSQL sequences
...sented
here creates a new sequence for each table, in this case named
"projects_data_id_seq". I need all tables to use the same, preexisting
sequence (data_id_seq).
Do I need to specify the sql for this? Can anybody help me? :)
Thanks :)
--
Henning Kilset Pedersen | prosjektleder
mopo as | mobil 41 14 23 75
| kontor 75 80 20 81
| epost henning-m0Gqv1oIyVE@public.gmane.org
| www http://mopo.no/
mopo: økt frihet™ gjennom fri programvare!
2006 Jan 17
4
find_by_sql column ordering defect?
...e correct order for the sqlstatement.
I then extecute the @objs = Project.find_by_sql(sqlstatement) statement.
The ordering of the columns has been altered - thus messing up my
headers and the order of the columns:
@objs
=> [#<Project:0x2aaaacab1dc0 @attributes={"name"=>"Mopo Testprosjekt 1",
"actual_end_date"=>nil, "projected_end_date"=>#<DateTime:
4907591/2,0,2299161>, "begin_date"=>#<DateTime:
106002130906326671/43200000000,0,2299161>}>, #<Project:0x2aaaacab1d48
@attributes={"name"=>"Unik...
2006 Mar 22
1
has_many :addresses, :as => :addressable
I just got the Rails Recipies and I''m looking the Recipe 17.
class Person < ActiveRecord::Base
has_many :addresses, :as => :addressable
end
class Company < ActiveRecord::Base
has_many :addresses, :as => :addressable
end
class Address < ActiveRecord::Base
belongs_to :addressable, :polymorphic => true
end
At the beggining I had some problems because
2006 Jul 27
4
roles based authentication
hi!
im trying to implement a role based authentication in my project, but im
writing too many conditions, and i think thats not the right way to
proceed.
i have search in google, but there are a lot of plugins and "tutorials",
and they are always not similar, so i dont understand them.
please could someone help me? maybe with a easy authentication or with a
good/nice tutorial?
2006 Jan 05
1
Looping through all models in the application
Hello.
I have an application that depends on a table/model
(ModelInternationalization) that provides international translations in
various languages for all the model/table and columns names as well as
some other stuff (whether the column is visible on forms, dropdowns,
lists, reports etc).
I need to create a management interface for this translation stuff (the
plaintext stuff, btw, will be