
Rails has_n build method does not need any arguments
Reported by Andreas Ronge | September 27th, 2011 @ 08:06 AM
has_n(:friends) - friends.build and friends_rels.build should have a default parameter (empty hash)
class Vendor
has_n(:products).to(Product)
end
Vendor.products.build
Vendor.products_rels.build
see, http://groups.google.com/group/neo4jrb/browse_thread/thread/1bf565f...
Comments and changes to this ticket
-
Andreas Ronge September 27th, 2011 @ 08:48 AM
- State changed from new to resolved
(from [161f9d50ae9b0237f1e5fc879eee05bbd0faea1e]) has_n(:friends) - friends.build and friends_rels.build should have a default parameter (empty hash) [#185 state:resolved] https://github.com/andreasronge/neo4j/commit/161f9d50ae9b0237f1e5fc...
-
Andreas Ronge September 27th, 2011 @ 12:16 PM
- State changed from resolved to open
(from [40b44abdc58ad7fc60d44a996a0dc47c7050f314]) A possible fix for fields_for problem with nested forms. Added a persisted? method [#185 state:open] https://github.com/andreasronge/neo4j/commit/40b44abdc58ad7fc60d44a...
-
Andreas Ronge September 27th, 2011 @ 02:14 PM
(from [527ffc8af46a13fdda6a438fff851bcf913bf2a7]) Add a to_ary since the Rails ActionView needs(Thanks Depaak) [#185] https://github.com/andreasronge/neo4j/commit/527ffc8af46a13fdda6a43...
-
Andreas Ronge November 15th, 2011 @ 09:25 PM
- State changed from open to resolved
-
Andreas Ronge April 25th, 2012 @ 10:39 AM
(from [a3f36b3ae5a685f306a889a836e444e28c4b89d8]) Added serialize type converter, closes #185 https://github.com/andreasronge/neo4j/commit/a3f36b3ae5a685f306a889...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Neo4j.rb is a graph database framework for JRuby.
It provides:
* Mapping of ruby objects to nodes in networks rather than in tables.
* Storage of ruby object to a file system.
* Fast traversal of relationships between nodes in a hugh node space.
* Transaction with rollbacks support.
* Indexing and quering of ruby objects.
* Integration with Rails
People watching this ticket
Referenced by
-
185 Rails has_n build method does not need any arguments (from [161f9d50ae9b0237f1e5fc879eee05bbd0faea1e]) has_n(:...
-
185 Rails has_n build method does not need any arguments (from [40b44abdc58ad7fc60d44a996a0dc47c7050f314]) A possi...
-
185 Rails has_n build method does not need any arguments (from [527ffc8af46a13fdda6a438fff851bcf913bf2a7]) Add a t...