Displaying 4 results from an estimated 4 matches for "content_item".
2006 Mar 30
1
Globalize DB translate not working in Rails 1.1.0
...regular find()
is performed.
Globalize::Locale.set(''nl'') # switch to ''nl''; base language is ''en''
article = Content::Article.find(article.id)
assert_equal ''Nieuwe Titel voor Artikel'', article.content.title
SELECT * FROM content_items WHERE (content_items.id = 146) AND (
(content_items.`object_type` = ''Article'' ) ) LIMIT 1
SELECT * FROM content_articles WHERE (content_articles.id = 146) LIMIT 1
Anyone else experienced this issue?
2007 Jun 19
5
Problems translating should_render from 0.8.2 to 1.0.5
...r> get ''ajax_calendar'', :date => Date.today.strftime("%B-%d-%Y")<br> end<br><br>here''s another expectation I don''t know how to translate:<br>controller.should_render({:controller=>:content_item, :layout=>"frame", :action=>:upload_image})<br><br>Does anybody have any ideas about how to get these things working in the new RSpec?<br><br>Thanks for your help,<br>-Jake Scruggs<br></font>
2006 May 24
10
Ferret slow after a while
I''m building a new index from scratch based on a number of documents
stored in a database loaded using my Rails env (using Ruby Ferret 0.9x
(installed today with Gem) on Windows). At first everything goes nice
but after a number of documents it starts to go slower and slower until
it grinds to a halt (at least feels like it).
Am I doing something wrong? Is there some way to work
2007 Jan 05
7
Hitting Files per Directory Limits with Ferret?
...lugin:
class ContentItem < ActiveRecord::Base
acts_as_ferret :fields => { ''title'' => {},
''description'' => {}
}
...
end
In the directory (on production) ''index/production/content_item'', there
are now 45812 files. (this is on Fedora Core 5, btw)
This leads me to believe this could be the culprit... and if not the
culprit now, it will be soon.
>> ContentItem.count
=> 19603
Any ideas?
Any help would be mucho appreciated. Thanks!
- Fez
http://ummyeah.com/
-...