search for: rails23049809

Displaying 14 results from an estimated 14 matches for "rails23049809".

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 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 26
28
A Follow up to my fedora question: Favorite Flavor Of Linux?
Than my question is this? Now that I have switchtowerized and migrate enabled my app I can start down a new path if need be on a different OS as the base of the system. We have already tried CentOS and found it to have more issues than those mentioned about fedora and through it away faster than one could shake a stick at. Here are our requirements for a stage/dev box and production:
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 Aug 09
29
HELP - My Programmers are AWOL !!
I hired a friend of a friend to build my company a fairly substantial application. He quoted it, committed to it, and now says he has run out of money. I''ve offered him additional money/incentives ...twice. He continues to commit, and then, ultimately not make his commitment. I''m not sure what my options are. Ideally, I would like to simply fire him and hire someone to
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across multiple remote hosts. It was formerly known as SwitchTower. Installation: gem install capistrano Manual: http://manuals.rubyonrails.org/read/book/17 Version 1.1 introduces a few changes: * Renamed! Due to the trademark infringement debacle of last week, we had to change the name. Moving forward it will be known as
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
2006 Mar 09
0
Why are migrations not part of the model?
So, you start out with a rails app, and you''ve got a database and models. And when you use a model object, it infers a bunch of stuff from the database. But then your database needs to change, so you write a migration to manage that. But now you''re not really inferring structure from the database, you''re getting it from the migration, and the database is the
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 Feb 22
0
Word wrap?
Say I have a long block of text that has no line breaks. What''s the right way to wrap it at a column barrier? Obviously, I can write the logic for this, but if there''s some way written already, I''ll use that. Suggestions? -- - Adam ** Expert Technical Project and Business Management **** System Performance Analysis and Architecture ****** [
2006 Feb 26
0
ActionMailer view templates don''t pick up application_helper.rb?
It seems that helper methods defined in application_helper.rb aren''t available in ActionMailer views. Is that intentional? -- - Adam ** Expert Technical Project and Business Management **** System Performance Analysis and Architecture ****** [ http://www.everylastounce.com ] [ http://www.aquick.org/blog ] ............ Blog [ http://www.adamfields.com/resume.html ].. Experience [
2006 Feb 28
0
Word wrap regexp question
>From the rails helper, there''s a text wrap method that does this (I''ve removed the trailing .strip): text.gsub(/\n/, "\n\n").gsub(/(.{1,#{line_width}})(\s+|$)/, "\\1\n") The way I read this, it''s "replace every newline with two newlines (and it''s not clear to me either what this first part is supposed to accomplish), then replace