Displaying 20 results from an estimated 10000 matches similar to: "A Follow up to my fedora question: Favorite Flavor Of Linux?"
2006 Feb 15
11
VPS hosting
Speaking of hosting, have any of you used a VPS provider that offers
gentoo as the VPS OS? All of the ones I know of use fedora, debian,
ubuntu, or CentOS.
--
- Adam
** Expert Technical Project and Business Management
**** System Performance Analysis and Architecture
****** [ http://www.everylastounce.com ]
[ http://www.aquick.org/blog ] ............ Blog
[
2006 Feb 12
4
[newbie] if expression "weirdness"
Ok first i am running linux with lighttpd and apache proxy''ing to the
lighttpd process.
ruby version is
ruby 1.8.4 (2005-12-24) [i686-linux]
def test
@count = Question.count
if(@params[:id]) then
breakpoint()
if (params[:id].to_i > @count) then
redirect_to :action => ''finish''
end
end
end
this is a stripped down version of
2006 Feb 16
21
RoR VS Rails ???
I didn''t get a chance to go to this meeting debating WebObjects Vs
Rails, but here''s a report about it:
http://desperatepundit.com/blog/cremes/technology/2006/02/15/WebObjects-versus-Ruby-On-Rails.html
I don''t get what he''s saying, hand coding the model? yeah, you COULD ...
but what about script/generate ???
And is that so what he said about security?
--
2006 Feb 24
18
I need more bling!
Hello everyone,
I just showed a friend a prototype of a site offering a service I''m
trying to sell (sorry, not on the Internet yet - he saw it at my
house).
His comment: "Looks like it does everything, but also looks pretty
ugly. You''re not going to wow anybody with that". Sitting back and
thinking about it, he''s dead right - it needs some bling to make it
2006 Feb 10
4
Handling a relationship between users and newsletter subcriptions.
Hey Everyone!
I have a newsletter system that contains a multitude of different
newsletters. In this case three but the system allows the user to
add more. Every user can be subscribed to any amount of given
newsletters. So what I did was I created a user model, newsletter
model, and subscription model.
The subscription model belongs to one user and one newsletter.
However,
2006 Feb 09
30
why there is no automatic relationship discovery
When I explain RoR to someone I don''t have a convincing argument that
explains why everything is so automatic and transparent, but
relationships have to be encoded by hand in models. That shows I
don''t understand well that part of AR.
There''s the argument that says that not all databases offer metadata
about foreign keys, but the natural question then is that,
2006 Feb 08
1
render_component vs. render_component_as_string?
I''m calling render_component in a helper.
render_component :controller => target_controller, :action => "show", :id => target_id
This works fine, except that passing the id in :params didn''t work and
I had to pass in an explicit :id parameter to get the target
controller to override the id - is that documented anywhere?
That''s not my question. My
2006 Feb 11
1
Retaining multiple select values from action to action?
Suppose I have a multiple select form on an initial page called
things[], and two target actions. The initial page submits to target
action 1, and target view 1 submits to target action 2.
When I submit the form on the initial page, I can access that set of
values in target action 1 and turn it into an array of objects by
doing something like this (assuming that the option values are object
ids,
2006 Feb 17
1
Developing reusable components?
Is there a development guide for best practices when making reusable
components?
For example, none of the login generators fit my requirements, and I
want to write my own. But after I''m done, I''ll want to share it with
multiple applications.
Is there documentation for the right way to go about doing this?
--
- Adam
** Expert Technical Project and Business Management
****
2006 Jan 26
21
pagination_links help
I want append custom query parameters to my pagination links, like
?page=1&foo=bar. I can''t quite figure out how to do this with the
pagination_links helper, although I believe the API says you should be
able to:
pagination_links(paginator, options={}, html_options={})
options are:
:params: any additional routing parameters for page URLs
Has anyone tried this?
thanks,
jeff
--
2006 Feb 08
3
Extends ActiveRecord from the application ?
Hello,
I just want to create a method that will be available for all models. Is
it possible ?
2005 Mar 09
15
SQL "editor"
Hello all,
I am curious about what tools you guys use to make your databases. I
know David uses CocoaMySQL. Are there other tools for other platforms
and for other databases? I''m not very good with the SQL language, so
I would like being able to do all my database setup with an
easy-to-use tool (defining tables, fields, primary keys, foreign keys,
indexes, etc.)
Big kisses,
Vincent.
2006 Feb 17
8
Atom
Any plans for using Atom with rails. I saw the "Typo" project is
using MoveableType, Blogger, ... but not Atom.
It seems Atom is not part of ActionWebService.
Has anyone done any work with Atom and Rails ?
Thanks for your answers,
Gaspard
2006 Feb 24
4
Understanding controllers
You''ll have to forgive me ... I''ve been toying with rails for about a week
and although I don''t feel completely lost there''s still a lot that I don''t
understand. Here goes.
Assume I have a controller called admin in app/controllers as well as three
model classes in app/models: product, category, warehouse. How exactly do I
use the admin controller to
2006 Feb 25
31
Ajax Scaffold Generator for Rails Released
I just released a whole new version of the Ajax Scaffold Generator (for Ruby
on Rails). The generator creates a scaffold page like the typical rails one,
except adding, editing and deleting are all done inline. The generated
scaffold is valid XHTML strict and fully styled right out of the box.
Check out the demo:
http://ajaxscaffold.height1percent.com/
And the how-to:
2005 Dec 20
3
File Column Directory Add another layer
Quick Question. I understand how to change the default path to
something other than public but what if I wanted to add another
directory into the equation. I want to upload an image into the
following structure:
/public/image/userid/imageid/test.gif
So basically I want to look up the userid in my users table and put
all the images for that user in the same directory. So i have a one
2006 Jan 10
3
Getting a user from a model (sort of a noob) (resend sorry)
Sorry for the resend but I am not sure if the first one ever made the
list.
As mentioned in my previous posts I''m trying to create a dynamic
directory for file_folumn. After finding out that I didn''t have the
most recent version I installed the latest trunk and am able to get
file_column to act as it should. However I have been racking my brain
on how to implement
2006 Feb 06
5
Sentry Plugin - Easy Question I don''t doubt
I am looking at adding the Sentry plugin to one of the applications
that we are working on. I have a need to store some info that will
have to be encrypted and decrypted. I have been going through the
docs for the plugin and the AsymetricSentry class looks like the best
for what we need to do but I am not sure how to generate the key. The
docs say:
This is a shortcut for using an
2005 Nov 18
6
wrong number of arguments (2 for 1) error message help
All,
This is really starting to get me as i can''t figure out why I am
getting this error. Here is what is going on. I have a table called
items and a item controller. When I add a new item to the items table
I am also creating several associated tables. the code for this so
that you can follow along is:
def create
@item = Item.new(params[:item])
# The item belongs to
2006 Mar 03
68
Agile Web Development with Rails 1.1
Dave, on another topic, might I recommend that you and DHH publish an
updated version of the Agile guide right away when 1.1 comes out? You could
reuse much of your material and it would do a lot of good to help make sure
there is still a good centralized source of reference for Rails. Without
that book, there really is not a good one-stop source of information for
people to learn how to use