Displaying 9 results from an estimated 9 matches for "lanceball".
2006 Jan 11
17
Different Types of Users and User Engine
My question is how have people implemented different types of users in
their Web applications using user-engine?
As for my application, I use single table inheritance in order to derive
several different types of users, such as "moderators," "editors," etc
...
For example, let''s say that I want to create a moderator. I define a new
moderator class and Controller like
2006 Jan 10
13
# of entrys in different months
right now im writing a weblog as my first project in rails. Most tings
seems to be working great :), but there is (a least) one thing left i
can''t figure out how to do.
As most weblogs i would like to have an archive, whick looks like this:
January 2006 (42)
December 2005 (60)
November 2005 (2)
October 2005 (101)
September 2005 (4)
August 2005 (2)
July 2005 (101010)
where (x) is the
2006 Jan 04
3
ActiveRecord delete_all With Sanitized Parameters?
Hi there
I''m trying to delete a set of active record objects based on certain
conditions. I''d like to do something like the following:
Context.delete_all("uri IN (?)", uris)
But delete_all doesn''t allow multiple arguments. Since I don''t have
the IDs for the objects I want to delete, I can''t use delete(id), and
have resorted to this,
2006 Jan 03
3
render :partial stops setting local variables.
I''m not sure what happened, or what change has caused this to happen, but
render :partial (or any render for that matter, doesn''t seem to let me set
local variables via the local_assigns argument hash.
for example
<%= render :partial ''edit'', :username => @user.username %>
used to allow that username was a local variable in my _edit.rhtml partial
2006 Jan 16
5
Soft Deletes
How would I go about setting up my rails applications to soft delete
items from the database rather than actually deleting it. I would
imagine that I need to over ride the methods from ActiveRecord.
Where would I do this would it be in the model? enviroment.rb? I
would imagine that if i wanted it throughout my entire application it
would need to be in the enviroment.rb.
Also to
2006 Jan 03
5
Announcement: Indexed Search Engine 0.1.2 Available
Hello all.
Apologies... I was a little too eager in my earlier annoucement about
the Indexed Search Engine for Rails apps. The DB migration file
contained an error that had to be worked around. I''ve fixed that,
added more (and clearer) documentation, and a sample application. You
can find most everything you want to know about Indexed Search Engine
here:
2006 Jan 22
7
: Indexed Search Engine 0.1.3 Released
Hello all,
IndexedSearch Engine for Rails Engines version 0.1.3 has been released.
IndexedSearch is a simple, pluggable engine for rails applications which can
be used to enable full text indexed searches within an application.
Searchable data is parsed, stemmed using the Porter stemmer, and added to a
fully indexed table. This allows you to index things like "he runs fast"
which will
2006 Feb 17
0
: Indexed Search Engine 0.2.0 Released
The 0.2.0 release of the Indexed Search
Engine<http://lance.langwell-ball.com/pages/indexed-search>is
released. The Indexed Search Engine is a Ruby on Rails
Engine <http://rails-engines.org> which helps you to easily add quick
indexing and search capabilities to your application.
Check out the project
page<http://lance.langwell-ball.com/pages/indexed-search>for more
info.--
--
2006 Jan 03
0
Indexed Search Engine 0.1 Released
Hello and happy new year.
This message has also been posted to the Rails Engines Users list, and
it was recommended that I widen my audience.
I''ve created a rails engine for adding a fully indexed search
capability to your rails applications.
>From the README:
"IndexedSearchEngine is a simple, pluggable engine for rails applications
which can be used to enable full text