|phxheat||does anyone have a good tutorial on inserting / updating multiple records with rails?|
|macographer||phxheat: you mean from a page, or csv?|
|phxheat||macographer: from a page|
|action||kain thinks of selling his imac 24"|
|kain||thinks of selling his imac 24"|
|macographer||so, you want to load multiple objects, or create more than one new one to edit or create on a single page?|
i almost did something like that. i don't think there's a *good* way to do it.
i ended up just putting an update form in the code for each record, so each object could be edited individually.
can you describe the situation and why you want to do this?
|phxheat||macographer: no worries, i have an existing solution i will use for now, but thanks|
|kek||maybe you can name fields like field1 field1 etc|
where 0 is for object 0 and 1 for object 1
should be easy to handle that from the controller then
|Madhatter349||anybody make websites in here|
|kek||what's a website?|
|aKKiLLa||I make wesites all the time...|
ever since I got frontpage i been rocking them babies out!
|aKKiLLa||tables + <blink>/<center> ftw!|
|railsbot||::rails-commit:: Changeset : Should have removed install.rb, not init.rb @ http://dev.rubyonrails.org/changeset/6520|
|kek||i invented the internet|
|kek||i once used sed and awk to update a frontpage website, it took days|
maybe i should have used frontpage
I think you did the right thing :)
|kain||!railsbot rss help|
|railsbot||incorrect usage, ask for help using 'railsbot: help rss'|
railsbot: help rss
|railsbot||manage RSS feeds: rss show|list|watched|add|change|del(ete)|rm|(force)replace|watch|unwatch|rmwatch|rewatch|
|kain||railsbot: help rss watch|
|railsbot||rss watch handle [url [type]] [in chan]: watch rss handle for changes (in channel chan); when the other parameters are present, the feed will be created if it doesn't exist yet|
|foucist||anyone have an idea how to upload a file in a functional test?|
|robert_dempsey||foucist - nope|
would be cool to know tho
|foucist||robert_dempsey: ah, you just stick :uploaded_data => fixture_file_upload("images/rails.png") inside the hash for the form|