search for: newsitem

Displaying 11 results from an estimated 11 matches for "newsitem".

Did you mean: newsite
2006 Apr 13
0
Globalize not with Rails 1.1.2
Does anybody have the latest Globalize (r184) working with Rails 1.1.2? I can''t seem to get a very simple example to work: ----- ruby test/unit/news_item_test.rb Loaded suite test/unit/news_item_test Started F. Finished in 0.10109 seconds. 1) Failure: test_add_content_translations(NewsItemTest) [test/unit/news_item_test.rb:49]: <"US Title"> expected but was <"NL Titel">. 2 tests, 8 assertions, 1 failures, 0 errors ----- news_item_test.rb based on http://wiki.globalize-rails.org/wiki/pages/example ----- require File.dirname(__FILE__) + ''/.....
2010 Mar 17
3
Associating a default paperclip image from a different model
Here''s some code, this is my NewsItem model as you can see... class NewsItem < ActiveRecord::Base belongs_to :country has_attached_file :image, :styles => { :original => ''57x57'' }, :default_url => ''/images/football.png'' # has_attached_file :image, # :styles...
2006 May 16
5
rake aborted! ActiveRecord::ConnectionNotEstablished
...sers/Josh/Webwork/CommentingSystem) Create test news rake aborted! ActiveRecord::ConnectionNotEstablished The task''s code is: desc ''Creates some test news items with comments'' task ''create_test_news'' do puts ''Create test news'' n = NewsItem.new n.subject = ''This is the first news item'' n.body = ''After days of work this is the first news item ever published using the NewsEngine. Have fun with it and add some comments! :-)'' raise ''Could not save first news item!'' if !n.save e...
2006 May 15
3
Building a library system (ActiveRecord question)
...etadata. At first we were copying these columns across entities too keep things simple: (these models made simple for illustration purposes) article = Article.new article.name = ''foo'' article.source = ''bar'' article.publisher = .... article.ISBN = 12345 newsitem = News.new newsitem.title = ''lorem'' newsitem.source = ''bar'' mag = Magazine.new mag.name = ''ipsum'' mag.publisher = ... mag.ISBN = .... After a while, things looked not-so-great. We wanted to move the common metadata out to a separate tab...
2006 Jan 12
6
Mysql::Error: Lost connection to MySQL server during query
I have been very VERY frustrated for the past week trying to solve a seemingly spurious problem with my Windows XP SP2 box with Ruby 1.8.2/Rails 1.0.0/MySQL 5.0.16 or 4.1.15 (yes, I tried both) installed running against a remote MySQL server that was either 3.23 or 4.1 (4.1.15 to be exact--we finally matched them both up to make sure that wasn''t the problem). So I post it here (as
2000 Jun 21
2
a vorbis launch update
...Street Journal, Market section, back of the first page On the net: http://www.inside.com/story/Story_Cached/0,2770,6015,00.html http://www.news.com/news/0-1005-200-2091466.html http://news.webnoize.com/item.rs?ID=9484 http://slashdot.org/article.pl?sid=00/06/16/2228244 http://www.cnetinvestor.com/newsitem-bloomberg.asp?symbol=91659277&Ticker=CMGI http://tm.intervu.net/smirror/cnetradio/am06-21.asx (about 5 minutes in) http://www.dmusic.com/news/news.php?id=2671 http://www.ragingbull.com/mboard/boards.cgi?board=ICAST&read=96 http://www.advogato.org/article/56.html http://www.xiph.org/archives...
2000 Jun 21
2
a vorbis launch update
...Street Journal, Market section, back of the first page On the net: http://www.inside.com/story/Story_Cached/0,2770,6015,00.html http://www.news.com/news/0-1005-200-2091466.html http://news.webnoize.com/item.rs?ID=9484 http://slashdot.org/article.pl?sid=00/06/16/2228244 http://www.cnetinvestor.com/newsitem-bloomberg.asp?symbol=91659277&Ticker=CMGI http://tm.intervu.net/smirror/cnetradio/am06-21.asx (about 5 minutes in) http://www.dmusic.com/news/news.php?id=2671 http://www.ragingbull.com/mboard/boards.cgi?board=ICAST&read=96 http://www.advogato.org/article/56.html http://www.xiph.org/archives...
2006 Jan 08
9
URL/Site structure
...iews. What I suppose I am wanting is to have all this functionality called from the admin controller all utilizing the admin view class AdminController < ApplicationController CRUD functions for news_items CRUD functions for email CRUD functions for users end so that myapp.com/admin/newsitems or myapp.com/admin/email goes to the admin for that section instead of having it go to myapp.com/news_items/list (which doesn''t use the admin layout) So I hope this makes some sense, but I thought it would be smarter to call all from the admin controller instead of dividing out each s...
2007 Dec 21
2
Open Sourced Ruby on Rails 2.0 Book (german)
...english. If someone is able and have time to do this: send me an email The first edition covers the installation, configuration and a HelloWorld example. The second chapter will follow soon. We currently updating it to Rails 2.0. Details (Sorry, but also only in german): http://www.rubyonrails.de/newsitems/98 Have fun with it and we hope you like it (at least the idea :-) Cheers + Merry Christmas derKaan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, sen...
2015 Mar 11
3
Java SSLv3 status on CentOS-6.6
Can anyone inform me as to whether or not Java on CentOS-6.6 still has SSLv3 enabled? And if it does then how is it disabled? -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1
2006 Mar 20
24
Newbie Question about Custom Classes
Sorry if this is a complete newbish question, but I''m trying to wrap my head around creating custom classes in my rails webapp. I''m normally a Java developer, but I figured I''d give RoR a try and see how I like it, and whether it would be useful for production use with a new client. Anyways, what are the best practices for custom classes? Where and/or how do I create