search for: frankovitz

Displaying 18 results from an estimated 18 matches for "frankovitz".

2006 Jun 24
2
error log for views?
...ode) in public/500.html" This is pretty unhelpful when I''m debugging. Is there an error log for Rails overall or for view errors specifically? Or is there some erb code I can insert into 500.html to show me the exact error message being generated? Thanks! -Jason -- Jason Frankovitz - jason@seethroo.us - http://www.seethroo.us/ work: (310) 601-8454 cell: (415) 254-4890 AIM/Skype: jfrankov
2006 Oct 17
3
rake -T is missing rake db:fixtures:dump?
...12.5 Action Web Service version 1.1.6 Action Mailer version 1.2.5 Active Support version 1.3.1 Application root [snip] Environment development Database adapter mysql Database schema version 28 Thanks! -Jason -- Jason Frankovitz - jfrankov at pobox dot com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsub...
2006 Jul 08
1
conditional table association?
...nt name int links: id int url string tags: id int name string What I can''t figure out is how to tell the Event model that lort_id belongs_to links if the value is 1, and that it belongs_to tags if the value is 2. Is this possible/wise/insane? Thanks in advance! -Jason -- Jason Frankovitz - jason@seethroo.us - http://www.seethroo.us/ work: (310) 601-8454 cell: (415) 254-4890 AIM/Skype: jfrankov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060708/2065746a/attachment.html
2006 Sep 24
8
form_for and Multiple Models Being Saved
Howdy Folks, I want to use form_for to allow a user to submit a form that contains two instances of the same model. They are entering calendar dates and I want them to be able to submit 2 from the same form. Ok, so, using form_for, what is the best way to do this? form_for seems to be setup to handle a single instance in that it wants a name for the variable, etc... Has someone else done this?
2006 Jun 28
2
hash value won''t increment with =+ operator
...n id 196) but it won''t do the hash[b.id] =+ 1 for some reason. I also tried doing it this way: if b.tags.include?(t) then hash[b.id] = x; x = x + 1; hash[b.id] = x ...but got the exact same output. Any advice about what I''m missing here would be great. Thanks! -Jason -- Jason Frankovitz - jason@seethroo.us - http://www.seethroo.us/ work: (310) 601-8454 cell: (415) 254-4890 AIM/Skype: jfrankov
2007 Jan 02
2
link_to method throws a url_for error
This error seems pretty bizarre. I''m using ActionMailer and am using a template in app/views/welcome_mailer/join.rhtml which has this line: <%= link_to :controller => ''group'', :action => ''join'', :group => @group.id, :ic => @code.code %> The error is: undefined method `url_for'' for #<WelcomeMailer: 0x2aaaad4fb470>
2006 Jun 07
2
script/generate scaffold pluralizes class names
Hi everyone, I''m a rails & ruby nuby, and this is my first post to the list. Here''s my environment in case it helps diagnose my problem: Ruby version 1.8.4 (powerpc-darwin8.6.0) RubyGems version 0.8.11 Rails version 1.1.2 Active Record version 1.14.2 Action Pack version 1.12.1 Action Web Service version 1.1.2 Action Mailer version 1.2.1 Active Support version 1.3.1 I did
2006 Jun 10
6
table associations
First, thanks to everyone who replied to my pluralization question from before! Today I was trying to do what I think is called a "chained accessor". I have an "events" table and each event has one user. Instead of seeing the id number for each event''s user, I''d rather display the names of users instead. I tried to do this: class Event <
2006 Jun 21
3
rake migrate says table already exists
Hi all, I used the generate script to make a bunch of table migrations, resulting in files like 002_bookmarks.rb, 003_tags.rb, etc. When I did the ''rake migrate'', the db was set up but more migration files appeared, now called 009_create_bookmarks.rb, 010_create_tags.rb, etc. Now when I want to change the database (add a table or column, alter the schema) I do
2006 Jun 22
3
create pie chart
Hi, I want to be able create a pie chart using rails, does anyone know of any plugin''s taht could help me here? Scott -- Posted via http://www.ruby-forum.com/.
2007 Jan 11
0
writing tests for rescue_action_in_public
...ggestions are greatly appreciated. Thanks in advance to everyone. -Jason PS: As far as routes.rb, there''s nothing in there doing any explicit routing to my application controller or the rescue_action_in_public method, so I don''t think that''s a factor. -- Jason Frankovitz - jfrankov-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org work: (310) 601-8454 cell: (415) 254-4890 AIM/Skype: jfrankov --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this...
2007 Jun 28
1
complete stumper: variable exists in hidden_field_tag, but nil everywhere else
This is a real mystery to me. I have an instance variable in a partial that only gives its value inside a hidden_field_tag. If I try to use the variable anywhere else in the partial, i either get nil or an undefined error. The goal is to use the value of @event.id outside of hidden_field_tag. Here''s what works: <%= hidden_field_tag ''id'', @event && @event.id,
2006 Jun 22
2
id column for join table... kosher?
I''ve got two tables, bookmarks & tags. Using a has_and_belongs_to_many association, I can do lookups using a join table called bookmarks_tags. Two questions: 1. Can I have a migration for my join tables? Rails seems to "know" about join tables implicitly from the associations, but if I do a rake migrate the join tables won''t be built. I''ve been
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with mongrel cluster. Here''s what I''m doing: rails test sudo chown -R mongrel:mongrel test cd test sudo mongrel_rails \ cluster::configure -e production \ -p 8000 -N 3 -a 127.0.0.1 --user mongrel \ --group mongrel It correctly writes the mongrel_cluster.yml file to the config directory. Now,
2007 Sep 12
19
Mongrel hangs, consumes all CPU on shutdown
Hi, I''m doing development with Mongrel 1.0.1 on Ruby 1.8.4 / OS X 10.4.10, and I''ve found that often when I shut down my server with ^C, it hangs for a while, gobbling up all CPU. Sometimes it stops after a few seconds, sometimes it''s run for several minutes at least. This happens across all the apps I develop on, but it seems to hang longer after
2007 Jan 04
8
Job market Rails, Java, C++, etc
I have been sending out my resume to whatever Rails jobs I can find. There is a limitied supply unless you want to relocate. It seems like the Rails stuff out there gets alot of applicants, though I am not sure if they tend to be locals, very experienced etc. I have also been applying for C++, Java, and Perl jobs. I have alot of background in C++, but am a little rusty. I have done some Java, but
2006 Sep 06
22
ROR host: dreamhost or godaddy?
hi all, i am looking for a host for my ROR web app. the target audience will be 70% from mainland china, and 30% from the rest of the world. i dont want a chinese hosst because: 1. it''s very slow for the rest of the world to access to it. 2. the speed is quite ok for china to access the us sites. both dreamhost and godaddy provide similar budget plans, and i saw them all from this
2006 Jun 14
0
testing table associations
First, thanks to everyone who replied to my pluralization question from before! Today I''m confused by associations. I''ve set up a bunch of associations in my models to describe these relationships: - each user can have many bookmarks and tags - each bookmark can have many users and tags - each tag can have many bookmarks and users (Part of what is confusing is that I can