#Issue Description#
The namespace definition is not changing in the ATOM feed after the first parameter of 'namespace' method in a tokamak file has been changed.
#Step-by-step#
**1) **
**Initial tokamak**
describe_collection(@content_collection.content_references) do |collection|
collection.id = domain_content_collection_url(@content_collection.id)
collection.title = @content_collection.title
collection.namespace(:content_collection, domain_content_collections_url, :eager_load => false) do |content_collection|
content_collection.author = @content_collection.author
content_collection.status = @content_collection.status
content_collection.tags = @content_collection.tags
end
collection.describe_members do |member, content_reference|
member.id = content_reference.resource_id
member.links << link( :rel => :self, :href => member.id )
end
end
**ATOM obtained from tokamak above**
http://local.dataentry.editorial.abril.com.br:3000/content_collections/4bd5ffaaa289ba0bb8000003
Garret Torp
2010-04-26T18:06:12-03:00
scratch
Araceli Reichert
Arlie Schuppe IV
Idella Ratke
**2)**
Now we changed the symbol passed to 'namespace' method from :content_collection to :apple_pie and render the ATOM again
**Changed tokamak**
describe_collection(@content_collection.content_references) do |collection|
collection.id = domain_content_collection_url(@content_collection.id)
collection.title = @content_collection.title
collection.namespace(:apple_pie, domain_content_collections_url, :eager_load => false) do |content_collection|
content_collection.author = @content_collection.author
content_collection.status = @content_collection.status
content_collection.tags = @content_collection.tags
end
collection.describe_members do |member, content_reference|
member.id = content_reference.resource_id
member.links << link( :rel => :self, :href => member.id )
end
end
**ATOM obtained from tokamak above**
http://local.dataentry.editorial.abril.com.br:3000/content_collections/4bd5ffaaa289ba0bb8000003
Garret Torp
2010-04-26T18:06:12-03:00
scratch
Araceli Reichert
Arlie Schuppe IV
Idella Ratke
#Conclusion#
The last ATOM should have the namespace name definition as 'xmlns:apple_pie' but it turned out to be 'xmlns:content_collections'