Displaying 11 results from an estimated 11 matches for "newsitems".
Did you mean:
newitems
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
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 => { :original => ''57x57'' },
2006 May 16
5
rake aborted! ActiveRecord::ConnectionNotEstablished
Hi all
I''m just learning to use rake and ran into the following problem:
chraftbuech:/Users/Josh/Webwork/CommentingSystem josh$ rake
create_test_news
(in /Users/Josh/Webwork/CommentingSystem)
Create test news
rake aborted!
ActiveRecord::ConnectionNotEstablished
The task''s code is:
desc ''Creates some test news items with comments''
task
2006 May 15
3
Building a library system (ActiveRecord question)
I''m rebuilding a library/academic system (including public web) using
excellent Rails. I''m trying to make the most out of ActiveRecord, but
rethinking the database schema spawned some potential issues that may
cause problems down the road, so I want thoughts on this from more
experienced community.
The thing is, all entities in the system have a fixed set of metadata.
At
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
The last two days have been amazing for Vorbis. Here's a list
I've collected of our press:
In Print:
Wall 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
2000 Jun 21
2
a vorbis launch update
The last two days have been amazing for Vorbis. Here's a list
I've collected of our press:
In Print:
Wall 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
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 se...
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, send...
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