Displaying 6 results from an estimated 6 matches for "blog_posts".
Did you mean:
blog_post
2007 Nov 12
7
schema_info always wants to be 3, even when set to 7
Hi all,
I''m having a very odd problem with db:migrate. I''m using Rails 1.2.5
on Windows XP SP2 and Ruby 1.8.6
I have seven migrations. If I run them with an empty database, it
runs the first three, then halts. When I look in schema_info, the
version is 3.
If I run db:migrate VERSION=7, then it runs through the remaining 4
migrations, and the version is 7 in the DB.
2008 Jul 17
4
A Mongrel parsing bug: "&" and "&"
When using url_for to send path to a script (such as with
auto_complete), multiple params are joined with the "&" code. For
example:
text_field_with_auto_complete :blog :post, {}, { :posts_path(:a =>
1, :b => 2), :method => :get }
Produces this script:
var blog_post_auto_completer = new Ajax.Autocompleter(''blog_post'',
2006 Jan 23
5
Undefined method error
Hi everybody,
Small problem. I get this error:
undefined method `all_categories'' for BlogCategory:Class
Code of BlogCategory class is:
class BlogCategory < ActiveRecord::Base
has_and_belongs_to_many :blog_posts
validates_presence_of :name
validates_uniqueness_of :name
# Return all categories ordered by name
def all_categories
find :all, :order => ''name''
end;
end
I call this function from FrontendController with simple:
@all_categories = BlogCategory.all_categories...
2012 Jun 03
1
Curso introducción a R
Paralelamente al curso propuesto por Juanjo Gibaja y Carlos Gil Bellosta,
el R Users Group de Barcelona (RUGBCN) conjuntamente con el grupo de
estudiantes de la facultad de sociologia de la UB ofrecemos un curso de
introducción a R (presencial en nuestro caso) para aquellos que quieran
aprender R desde 0.
Para más información visitad la página
http://rugbcn.wordpress.com/2012/05/28/601/
Os
2008 Jan 05
5
multi-app merb
Ezra,
I love merb, especially because it''s keeping the things that Rails does
well and improves on things that Rails hasn''t done so well.
One of my biggest pain points with Rails has become multi-app
integration. A lot of web sites consist of multiple apps (e.g. a core
site, a forum, a blog/cms, etc.). Doing this sort of thing is very ugly
and inefficient with the current
2012 Jun 01
5
Curso de R básico no presencial y gratuito
Hola, ¿qué tal?
Juanjo Gibaja y yo hemos organizado un curso de R básico, no
presencial, colaborativo y gratuito dirigido a aquellas personas que
quieren introducirse en el mundo de R.
Para más información, pueden consultarse los dos siguientes enlaces:
http://www.datanalytics.com/blog/2012/06/01/curso-de-r-gratuito-no-presencial/