Displaying 5 results from an estimated 5 matches for "character_id".
2010 Jan 06
4
serialized attribute converting to string on reload
...ored object.
Anybody have any idea why this would happen? (hirb styling in the
below posted irb):
> Item.find(6).equip(me)
=> true
>> me.equipment
+----+--------------+--------------------------+-------+-------+-------
+------+-------------------------+-------------------------+
| id | character_id | rhand | lhand | chest | pants
| head | created_at | updated_at |
+----+--------------+--------------------------+-------+-------+-------
+------+-------------------------+-------------------------+
| 1 | 1 | #<Weapon:0x7fa10db2b988> |...
2008 Jul 13
2
Problem with ActiveRecord::AssociationTypeMismatch
...t_name"
t.string "last_name"
t.integer "user_id"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "attributes", :force => true do |t|
t.string "name"
t.float "value"
t.integer "character_id"
t.datetime "created_at"
t.datetime "updated_at"
end
And the models look like this:
class Character < ActiveRecord::Base
has_many :attributes
...
end
class Attribute < ActiveRecord::Base
belongs_to :character
end
When I want to create a new instance by ca...
2007 Jun 30
1
HABTM ReadOnlyRecord
Hi.
I get this error:
** ActiveRecord::ReadOnlyRecord **
When i try to update a table called characters_learning_abls that is a
habtm relation between characters and learning_abls.
The characters_learning_abls table looks like this:
**
character_id int(11) unsigned
learning_abls_id int(11) unsigned
amount double
**
Why cant i update this table though the
**
Character.find(charId).learning_abls.find(ablId).update_attributes({:amount
=> 10}) **
Best regards, Emil
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~-------...
2006 Mar 16
0
The panel of the gusto.com
I am interested in the implementation of the panel in the gusto.com
announced here serveral days before.The panel locates in the left side
of such a url as:
http://www.gusto.com/newyork/newyork-CityRestaurantFinder1744251.html?character_id=1041#
The lists are type,theme,features,etc
I think it is ajax style,can the developers tell me how to implement
such a panel? very grateful!
--
Posted via http://www.ruby-forum.com/.
2006 Mar 14
14
Gusto.com Rails Site
Hello -
I wanted to announce a very large web application that was built with Ruby
on Rails and runs the site Gusto! http://www.gusto.com/ . It was deployed
yesterday in a little over 4 months of development with 3 developers. The
origins of the site were being developed in Java using Hibernate + Tapestry
and the decision was made to port the 100+ table model to Rails to see if
there were