Thanks Colin.I understood what you said.i have done upload and dowload
image with paperclip ,i hope you will help me about RoR.Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscr
Hello Robert Walker.
After some operation in the controller, I am assigning a value to the
variable. When I print it in the controller using a "puts", I am getting
the right output. But when I render it to the view, I am NOT getting the
required json alert in the javascript. Where am I going wrong
On 11 March 2013 21:26, powi wrote:
> It's not documented since it's dynamically defined.
Many dynamically defined methods are documented in various places (in
the Rails Guides for example).
If it is not documented how am I supposed to know how what it does?
Colin
>
> On Monday, 11 March 2013 1
Robert Walker wrote in post #1101143:
> I find that the easiest way to figure out these relative paths is to
> look at the paths generated in the HTML in the browser. Once you know
> the exact path to your assets as seen by the browser it should be pretty
> easy to deduce the relative path from one
Dmitrij B. wrote in post #1100975:
> Hey. Its simple quation, but have litle problem with this.
>
> Its my path for css - assets/content/stylsheets/my.css
> Its path picture for background url - assets/images/picture.gif
>
> I do the following in my.css background: transparent
> url(../../images/p
It's not documented since it's dynamically defined.
On Monday, 11 March 2013 12:14:02 UTC+2, Colin Law wrote:
>
> On 11 March 2013 07:30, powi > wrote:
> > ActiveRecord models has a weird behavior.
> >
> > class Post < ActiveRecord::Base
> > end
> >
> > % Post.default_scopes? # => true
> >
http://stackoverflow.com/questions/4922700/ruby-1-9-2-and-rails-3-cannot-open-rails-console
2013/3/11 adolfo igualada
> Hi,
> It appears that the readLine lib is not installed.
> Search this library for windows.
>
>
>
> 2013/3/11 Jeff G.
>
> Hey guys, searched a bit, but with my lack of total u
Hi,
It appears that the readLine lib is not installed.
Search this library for windows.
2013/3/11 Jeff G.
> Hey guys, searched a bit, but with my lack of total understanding
> figured best just to post a unique tip for help.
>
>
>
>
>
> I am self teaching myself Ruby on Rails and Ruby using Co
Hey guys, searched a bit, but with my lack of total understanding
figured best just to post a unique tip for help.
I am self teaching myself Ruby on Rails and Ruby using CodeSchool.com
and Michael Hartl's book Ruby on Rails 3 Tutorial. I am using Rubymine
as suggested by a close friend who is
On 11 March 2013 19:27, AmateurCoder wrote:
> I have rbenv and ruby-build installed.
>
> $ rbenv install 2.0.0-p0
>
> This downloads ruby 2.0.0-p0. It is not compiling and complains with the
> following error
>
> BUILD FAILED
>
> Inspect or clean up the working tree at /tmp/ruby-build.20130311095
On Mon, Mar 11, 2013 at 8:27 PM, AmateurCoder
wrote:
> I have rbenv and ruby-build installed.
>
> $ rbenv install 2.0.0-p0
>
> This downloads ruby 2.0.0-p0. It is not compiling and complains with the
> following error
>
> BUILD FAILED
>
> Inspect or clean up the working tree at /tmp/ruby-build.20
nikhil rn wrote in post #1101054:
> I am making an ajax call to my controller. Controller is sending in the
> response in an instance variable(as a json object). How can I access the
> same in my ajax javascript?
>
> $(document).ready(function(){
> var currentCellText;
> $(".inline").click(func
I am thinking about buying my own server
Why not just do it on Heroku or a similar system?
Heroku is a very good option especially when you are starting out. If you
really want to go it alone, you could also use Linode or a similar virtual
server system (I believe Amazon now has something),
On Monday, March 11, 2013 12:32:24 PM UTC-4, Colin Law wrote:
>
> On 11 March 2013 16:09, AmateurCoder >
> wrote:
> > I am having a problem installing Ruby 2.0.0-p0 using rbenv install on
> Ubuntu
> > 12.04.2 LTS. I have clean version of Ubuntu 12.04.2 LTS running on
> > Virtualbox.
> >
>
I have rbenv and ruby-build installed.
$ rbenv install 2.0.0-p0
This downloads ruby 2.0.0-p0. It is not compiling and complains with the
following error
BUILD FAILED
Inspect or clean up the working tree at /tmp/ruby-build.20130311095340.2322
Results logged to /tmp/ruby-build.20130311095340.23
Found the issue...it was problem with library path.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrail
Hello
I am trying to migrate my ruby from old server to new server.
I did a copy of all the binaries and have set all the relevant patch.
However I am not sure what I am missing. Below require works completely
fine on my old server. however , does not work fine in new server.
How can I know wher
railsinstaller for Windows:
1. *[This is actually Step 5:] *The remaining steps will require you to
have a text editor. There are various text editors you can use out there
but I'll put one below that is fairly popular in the developer community.
- Visit link to download: Subli
On 11 March 2013 16:09, AmateurCoder wrote:
> I am having a problem installing Ruby 2.0.0-p0 using rbenv install on Ubuntu
> 12.04.2 LTS. I have clean version of Ubuntu 12.04.2 LTS running on
> Virtualbox.
>
> I am getting this error and the build is failing. I think I read that the
> new RubyGe
On Mon, Mar 11, 2013 at 5:09 PM, AmateurCoder
wrote:
> I am having a problem installing Ruby 2.0.0-p0 using rbenv install on
> Ubuntu 12.04.2 LTS. I have clean version of Ubuntu 12.04.2 LTS running on
> Virtualbox.
>
> I am getting this error and the build is failing. I think I read that the
> n
I am having a problem installing Ruby 2.0.0-p0 using rbenv install on
Ubuntu 12.04.2 LTS. I have clean version of Ubuntu 12.04.2 LTS running on
Virtualbox.
I am getting this error and the build is failing. I think I read that the
new RubyGems requires https.
I have tried rbenv install --wi
On Monday, March 11, 2013 11:03:53 AM UTC+1, Colin Law wrote:
>
> On 11 March 2013 08:50, Javix > wrote:
> > I'm using a nested form to enter worked time weekly. So when creating a
> new
> > week entry of 7 days I create a form as follows:
>
> The first thing you need to work out is where the
Hello adolfo,
Here is another option, it is Ryan Bates' railscasts, some of his
episodes are free and on others you pay a monthly subscription of
$9.00:
http://railscasts.com/episodes/88-dynamic-select-menus
I think this just gives you another option.
On Mar 10, 2:45 pm, adolfo igualada wrote:
I am making an ajax call to my controller. Controller is sending in the
response in an instance variable(as a json object). How can I access the
same in my ajax javascript?
This is my ajax call code:
$(document).ready(function(){
var currentCellText;
$(".inline").click(function() {
currentCellTex
On 11 March 2013 07:30, powi wrote:
> ActiveRecord models has a weird behavior.
>
> class Post < ActiveRecord::Base
> end
>
> % Post.default_scopes? # => true
>
> This happens because Post.default_scopes returns an empty array and
> .default_scopes? calls !![] which is true. But this can be confus
On 11 March 2013 09:35, haxuan lac wrote:
> Thanks Colin. Could you tell me about some System can use?
You have not quoted the previous message, as I asked.
I think I suggested ways of doing this in my first post, as below
>> My advice, however, would be to switch to Ubuntu. This can either b
On 11 March 2013 08:50, Javix wrote:
> I'm using a nested form to enter worked time weekly. So when creating a new
> week entry of 7 days I create a form as follows:
The first thing you need to work out is where the code is failing.
For example you say that it is not displaying correctly. Is the
Thanks Colin. Could you tell me about some System can use?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rub
On 11 March 2013 03:23, haxuan lac wrote:
> Could you explain for me why Wubi is not Reliable?Thanks..
My experience has been that it is ok for trying out Ubuntu but is not
sufficiently reliable to be used as a working system.
Colin
--
You received this message because you are subscribed to th
On 11 March 2013 01:27, haxuan lac wrote:
> Thanks Colin.
> i will try to with Virtual Machine.i'm a newbie about RoR so i want have
> more instruction from you.Thanks.
Please quote the previous message and insert your reply at appropriate
points. This is a mailing list not a forum (though you m
I'm using a nested form to enter worked time weekly. So when creating a new
week entry of 7 days I create a form as follows:
#timesheets/new.html.erb
<%= form_for @timesheet do |f| %>
<%= render 'fields', f: f %>
<%= f.submit class: 'btn btn-large btn-primary'%>
<% end %>
#timesheets
ActiveRecord models has a weird behavior.
class Post < ActiveRecord::Base
end
% Post.default_scopes? # => true
This happens because Post.default_scopes returns an empty array and
.default_scopes? calls !![] which is true. But this can be confusing, don't
you think?
--
You received this messa
32 matches
Mail list logo