Displaying 20 results from an estimated 80000 matches similar to: "rails sharepoint"
2011 Sep 21
4
rubyzip with Ruby 1.9.2 and Rails 3.1 - require 'zip/zip' fails
I''m trying to move my application from Rails 2.3.5 to Rails 3.1 which is
a challenge.
In my application,
require ''zip/zip''
fails with ''no such file to load -- zip/zip
gem list --local
shows
rubyzip (0.9.4)
I see zip.rb in
d:\ruby192\lib\ruby\gems\1.9.1\gems\rubyzip-0.9.4\lib\zip\
--
Posted via http://www.ruby-forum.com/.
--
You received this message
2011 Jan 02
7
Rails, .swf, .flv
I have the following HAML code
ul{ ''id'' => tutorials_ul }
%li
%a{''href'' => ''/videos/create-command-001.swf''}
''Edition swf''
%li
%a{''href'' => ''/videos/create-command-001.flv''}
''Edition flv''
When the user clicks on
2010 Sep 17
9
invalid content-Length ERROR while uploading 2 GB of stream
hi all,
When Trying to upload 2GB of stream i got invalid content length
error
am running Apache as frontend server to mongrel and chrome as my
browser.
One more thing one i do it with mongrel alone am able to upload this 2
GB of stream ,cud anybody tell me whats the problem and how do i
configure content length in apache??
--
Posted via http://www.ruby-forum.com/.
--
You received this
2011 Dec 17
3
Receive a notification when the user open an email - Ruby On Rails
I building an application using rails, and I wanna know if is possible
to write a code which allows me to be notified or something like that
when the user open an email sent through my application. I need to track
that information. When I sent an email, I need know. The question to be
answered by my app is "Did they read it?"
Tips in others languages would be ok to me!
Thanks in
2012 Mar 02
3
Generating new application creates a few syntactically bad files in Rails 3.2.1
Running "rails new yourapplicationname" creates all the requisite files,
however two of them have bad syntax.
session_store.rb
is:
YourApplicationName::Application.config.session_store :cookie_store, key:
''_yourapplicationname_session''
should be:
YourApplicationName::Application.config.session_store :cookie_store, :key
=>
2013 Oct 23
3
Rails 4 and HABTM Checkboxes: Unpermitted parameters error
I have a simple Rails 4 project with two scaffolded models: Practice and Practitioner. I have set these both as habtm and am in the process of adding checkboxes to the Practitioner form so that I can check off the practices that this practitioner belongs to. In the practitioners_controller, I added practice_ids to the practitioner_params permit list, but I am still getting the error:
Started
2012 Aug 07
4
how to do render partial on jquery ajax success method with rails 3
I''m using rails 3.2.1 with jquery for an ajax call.
My juqery code is :
jQuery.ajax({
url: "/org_pages",
data: ''org_id=''+ org_id,
type: "POST",
success: function(result){
jQuery("#image_center").html("<%=
escape_javascript(render(:partial =>
2013 Sep 26
4
Rails Misconfigured - Missing Welcome Page
I''m using DigitalOcean as my hosting provider as I have some simple
sites there. I thought I''d try to setup rails on a domain there to see
what I could accomplish.
OS: Ubuntu 12.04 x32
Rails: 4.0.0
Ruby: 2.0.0p247
nginx: 1.1.19
MariaDB: 10.0.4
Passenger: 4.0.19
node.js: 0.6.12
Thin: 1.5.1
When I hit the sight, I get "Welcome to
2011 Aug 29
7
:onchange in rails 3
Hi,
Anybody know why :onchange works here...
<%= select_tag "Minisections",
options_from_collection_for_select(@minisections, :id, :title, :selected
=> @minisection.id), {:onChange => "{alert(''Minisection has been changed
to x !'')}"} %>
but NOT here (to call a function)...
<script type="text/javascript">
function xyz() {
2011 May 06
5
Running my RAILS APP on Local area network using Windows XP as server os.
Hello,
I want to deploy my rails app on my college LAN and use it as a
intranet site. I am MAC user so i dont know much about configuring
windows to run the rails app as intranet site. I currently have a
rails app with mysql database and webrick server. Can anyone help me
with this?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2011 Jun 08
3
Spreadsheet in Rails
Hi,
Please help to create a spreadsheet view in rails application. Need to
display the cell values from DB with manipulating option.
Please specify gems/plugin if available.
Thanks
--
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
2010 Oct 15
18
Newbie - Rails 3 lightbox?
Hello!
I''m trying to create a simple image "popup" effect using Lightbox2,
http://www.huddletogether.com/projects/lightbox2/. But I don''t get it
to work. My code looks lite this:
<span class="ad_image">
<a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%=
ad.image.url(:thumb) %>"
2010 Sep 13
10
Could not find [GEM] locally or in a repository
Hey Guys,
How could I fix the following:
"gem install --no-rdoc --no-ri kete-feedzirra"
ERROR: could not find gem kete-feedzirra locally or in a repository
"gem install --no-rdoc --no-ri libxml-ruby"
ERROR: could not find gem libxml-ruby locally or in a repository
"gem install --no-rdoc --no-ri http_url_validation_improved"
ERROR: could not find gem
2012 Aug 25
12
index.html in rails-app/public
Hello All,
I have created a rails application on hosrtmonster and created
symbolic link of app''s public folder. Now default link is to
index.html of rails-app/public folder.
I want to set another page as homepage. I also set root in routes.rb
file but its not working, also remove default index.html from public
folder.
Can anyone tell me how to add link
2011 Aug 11
17
f.collection_select: what are the parameters?
The rails docs are so horrible on the collection_select method. They
need to show a *complete* form, and show two examples: one that calls
f.collection_select(), and another that calls collection_select(), and
explain the differences.
Given this line:
f.collection_select :topic, Topic.all, :id, :category
What the !@#$!@#$ is :topic?
--
Posted via http://www.ruby-forum.com/.
--
You received
2011 Aug 01
6
Query controller using two resources
I have an activation link. I want the user to click on the link, kinda
like this...
domain.com/users/45/activate/1jf872
The number after "users" would be the user id, and the string after
"activate" would be the activation code. In the link above it would be
user id 45 and activation code 1jf872.
I have no problem sending the email. My problem is getting the route
(the url)
2012 Aug 25
6
Ruby Cgi and Mysql/Postgresql
Hi
i m very new in ruby ( i used to work on php)
I am looking for good documentation or book which will show me
how to use ruby with CGI + mysql /Postgresql
something like, will show how to grab data from database and pass those
into Select or combox box ..
i tryed to look for books but i have not find any
so good documentation site, books would be good
Thnaks
--
Posted via
2010 Nov 08
7
Webrick Failing with Illegal Instruction
I''ve just started a new rails project (3.0.1, ruby 1.9.2 on Mac OS X),
and have a few parts of it built out. I''ve just created new
controller/views using rails g scaffold_controller Lesson, and then
added a route to routes.rb with "resources :lessons"
Now, when i go to /lessons, Webrick fails with "Illegal instruction"
The controller function getting hit is
2011 May 20
5
views w locale default template
[RAILS3]
I hesitate on how handling the locale view templates to default to
one language only ..
sending admin emails will go only to one locale ''en_GB''
should I set it up into the template name and set I18n.locale to
''en_GB''
membership_renew.en_GB.html.erb
OR
whatever locale is used , if I have :
membership_renew.html
it will be the default ?
--
2012 May 21
4
Rendering partial views with ajax calls in rails 3.1
I''m starting now with rails, and i have simply question i think.
I need to render two partials in one ajax call:
I have the following controller:
# GET /hosts/1
# GET /hosts/1.json
def show
@host = Host.find(params[:id])
respond_to do |format|
format.html #show.html
format.js
format.json { render :json => @host }
end