Displaying 5 results from an estimated 5 matches for "project_url".
2007 Dec 04
7
REST bug with form_for
...<form method="post" action="/users/2/projects/1">
<div style="margin: 0pt; padding: 0pt;">
<input type="hidden" value="put" name="_method"/>
</div>
But yet when I hit the Submit button to update, I get this error:
project_url failed to generate from
{:controller=>"projects", :user_id=>nil, :action=>"show", :id=>"1"},
expected: {:controller=>"projects", :action=>"show"}, diff:
{:user_id=>nil, :id=>"1"}
Something is very wrong, because th...
2018 Jan 23
1
Scraping from different level URLs website
...ojects"
WB_proj <- function(x) {
Sys.sleep(5)
url <- sprintf("http://projects.worldbank.org/search?lang=en&searchTerm=&countrycode_exact=%s", x)
html <- read_html(url)
tibble(title = html_nodes(html, ".grid_20") %>% html_text(trim = TRUE),
project_url = html_nodes(html, ".grid_20") %>% html_attr("href"))
}
WB_scrape <- map_df(1:5, WB_proj) %>%
mutate(study_description =
map(project_url,
~read_html(sprintf
("http://projects.worldbank.org/search?lang=en&searchTerm=&countrycode...
2007 Sep 24
2
Asterisk 1.4.12 Release?
Hi All,
I read rumors of a potential Asterisk 1.4.12 release for last week. I
would like to start testing Asterisk 1.4 on Solaris, but, the fix for
the segfault in res_features is only in the current development trunk. I
would much rather test a release version, and as such, need to wait for
the release of 1.4.12, my question is, do we have a guestimate on when
it will be released, 1 week, 2
2006 Dec 29
2
update_attributes fails: ReadOnlyRecord
I''m trying to update a record, but it just stops with
"ActiveRecord::ReadOnlyRecord". I don''t understand why, because I never
wanted my model to be read only. Relevant code:
Controller:
def edit
@project = find_project
if request.post?
@project.update_attributes(params[:project])
if @project.save
flash[:message] = _(''Project was
2006 Mar 04
13
file_column
Restricting size of an uploaded file, is how is that possible? If I
do not want a user to upload a file larger than X bytes, can it
easily be done?
If I also would like restrict the types of files that can be
uploaded, how may I do so?
Thank you,
Sharkie