I have just been reading this and finding it helpful background with
some nice examples:
http://madebydna.com/all/code/2011/12/05/ajax-in-rails-3.html
On Oct 29, 10:41 am, 1334 i...@sipspp.net wrote:
On Friday, October 26, 2012 5:38:20 PM UTC+2, Fahim Patel wrote:
Hi all,
Can any one
i have changed the file permissions and it worked for me . i dont know
whether it is the way to solve it . as i it is a plugin no other gems need
i hope i am right. what is the best way to solve such issues. i worked for
me by changing the file permissions of the folder but it is not the write
way
I have an application where jquery fullcalendar is implemented. On day
click I need to pass the selected date as params to rails controller.
When I alert the date inside dayclick function, I am getting the date in
the format of Tue Oct 30 2012 12:40:20 GMT+0530 (IST).. But when I
pass as params
can you give your mail id to send Resume
On Tue, Oct 23, 2012 at 10:01 PM, Beau G. li...@ruby-forum.com wrote:
I'm looking for a RoR Developer for a Denver, CO client for a full time,
salaried position paying to 90k + benefits. If anyone would like more
information, please shoot me a resume
On Tue, Oct 30, 2012 at 2:43 AM, hanish jadala
emailtohoneyr...@gmail.com wrote:
can you give your mail id to send Resume
Already failed. Look at the bottom of his email. Also, if you could
miss that what would you miss in your code?
--
You received this message because you are subscribed to
On 30 October 2012 06:42, keerthi priya emailtokeerthipr...@gmail.com wrote:
i have changed the file permissions and it worked for me . i dont know
whether it is the way to solve it . as i it is a plugin no other gems need i
hope i am right. what is the best way to solve such issues. i worked
I have a simple rails3 application. Trying to deploy this app using
unicorn-4.4.0, I am getting the following error.
unicorn -c config/unicorn/development.rb -D -d
{:unicorn_options=
{:listeners=[], :config_file=config/unicorn/development.rb},
:app=
Take a look at the logs as the message suggest it to you and copy and paste
the relevant parts to this list.
Am 30.10.2012 10:06 schrieb Sanjay Vel gkalpanapraka...@gmail.com:
I have a simple rails3 application. Trying to deploy this app using
unicorn-4.4.0, I am getting the following error.
Hi,
Heroku is quite expensive, if you go for a dedicated hosting you'll have
more power (i.e. shell) and pay less money. For example,
http://www.hetzner.de/en/.
On Tuesday, October 30, 2012 2:44:46 AM UTC+13, yaniv pr wrote:
Thanks for your answer, I may go for it.
The thing is, I'd really
well i have gave permission to public/system/students all those folder to
777 permissions and i have restart my server and it worked .
On Tue, Oct 30, 2012 at 2:04 PM, Colin Law clan...@googlemail.com wrote:
On 30 October 2012 06:42, keerthi priya emailtokeerthipr...@gmail.com
wrote:
i have
I had created a demo web application by executing rails tickets and then
i executed rails script/server to run it on localhost.
Initially i was able to execute the application in the browser by typing
localhost:3000 in the address bar, but then I deleted the folder tickets
from my hard disk.
Now
Can you please share your scaffold generator template modifications with
me? im tryng to do that but getting lots of error
--
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 post to this group,
I was trying to create custom view pages in ROR as seen in
http://blog.hulihanapplications.com/browse/view/55-ruby-on-rails-multiple-model-form-generator
then i got some errors
**
(erb):6:in `template': compile error (SyntaxError)
(erb):3: syntax
Your old one was rails 2.x I guess, but your new one is 3 or above. The new
command for starting the server is 'rails s'
Am 30.10.2012 11:24 schrieb vipin v. li...@ruby-forum.com:
I had created a demo web application by executing rails tickets and then
i executed rails script/server to run it
Share your controller code where you are rendering this view.
On Tue, Oct 30, 2012 at 3:35 PM, Sreekesh O. li...@ruby-forum.com wrote:
I was trying to create custom view pages in ROR as seen in
http://blog.hulihanapplications.com/browse/view/55-ruby-on-rails-multiple-model-form-generator
i have rails version 2.3.14 with me
--
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send
with rails s it gave the following output:-
http://paste.ubuntu.com/1317610/
but still i was unable to localhost:3000
--
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 post to this group, send
can someone please help me asap.. please !
--
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group,
The controller code for edit view:
**
def edit
@%= file_name % = %= class_name %.find(params[:id])
end
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Where the file_name and class_name are declared? I don't see them declared
inside the edit function.
On Tue, Oct 30, 2012 at 3:58 PM, Sreekesh O. li...@ruby-forum.com wrote:
The controller code for edit view:
**
def edit
@%= file_name % = %=
On Tue, Oct 30, 2012 at 6:44 PM, vipin v. li...@ruby-forum.com wrote:
i have rails version 2.3.14 with me
you should've not deleted the script/server file. you're using rails 2 so
the proper way to start
the server is ruby script/server not rails script/server. the shorcut to
this is just
On Tue, Oct 30, 2012 at 7:01 PM, KUL KING kulking...@gmail.com wrote:
Where the file_name and class_name are declared? I don't see them declared
inside the edit function.
On Tue, Oct 30, 2012 at 3:58 PM, Sreekesh O. li...@ruby-forum.com wrote:
The controller code for edit view:
These are files in rails installation folder the scaffold-generator
template.
These are defined default by rails
path of files in linux:
usr/lib/ruby/gems/1.8/gems/rails
2.3.5/lib/rails-generator/generator/components/scaffold/template
--
Posted via http://www.ruby-forum.com/.
--
You
but now i have done it, so what is the solution??
will i never be able to run the app in server again??
--
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 post to this group, send email to
def update
if @unsafe_building.update_attributes(params[:company])
format.html { redirect_to @unsafe_building, notice:
t('flash.actions.update.notice') }
in it.yml locale file I have:
it:
flash:
actions:
create:
notice: %{model} è stato creato con successo.
Jim ruther Nill wrote in post #1081968:
On Tue, Oct 30, 2012 at 7:01 PM, KUL KING kulking...@gmail.com wrote:
@%= file_name % = %= class_name %.find(params[:id])
end
you are using erb code inside the controller. i don't get why you want
to
do this or if it's even
possible to do it
Il 30/10/12 11:46, vipin v. ha scritto:
with rails s it gave the following output:-
http://paste.ubuntu.com/1317610/
but still i was unable to localhost:3000
I think you just created a new app inside the s folder.
Please paste the output of ruby script/server command
--
You received this
Il 30/10/12 11:58, Sreekesh O. ha scritto:
The controller code for edit view:
**
def edit
@%= file_name % = %= class_name %.find(params[:id])
end
You put ERB, which must be in the views, in the controller.
This is how the controller should be
Il 30/10/12 12:12, Mauro ha scritto:
def update
if @unsafe_building.update_attributes(params[:company])
format.html { redirect_to @unsafe_building, notice:
t('flash.actions.update.notice') }
in it.yml locale file I have:
it:
flash:
actions:
create:
vipin v. ha scritto:
I had created a demo web application by executing rails tickets and then
i executed rails script/server to run it on localhost.
Initially i was able to execute the application in the browser by typing
localhost:3000 in the address bar, but then I deleted the folder tickets
Is there a way to add another field to a blog(i.e. another text field)
using database browser. I was able to make the changes using the Sqlite
Database Browser and saved but the changes didn't migrate over to my app.
--
You received this message because you are subscribed to the Google Groups
Hello !
ruby 1.9.2p323 (2012-05-22 revision 35755) [x86_64-darwin11.4.0]
Well... I get stuck on this error https://gist.github.com/3974521, and
don't know what to do with it...
Thank you for the hand !
--
You received this message because you are subscribed to the Google Groups Ruby
on
http://railscasts.com/episodes?utf8=%E2%9C%93search=ajax
*
Luis Va**sconcellos *|* *Web Developer at DTM
wblog: luisvasconcellos.com
twitter: @vasconcelloslf http://www.twitter.com/vasconcelloslf
mobile: 55 21 95100576
http://dtmtec.com.br http://www.dtmtec.com.br
@dtmtec
Hi all,
I had the same issue and i lost one week searching for the answer, and
yestarday hahaha, I finally found it, you have to install the cocaine gem
version 0.3.2
El sábado, 27 de octubre de 2012 07:00:50 UTC-3, keerthi priya escribió:
Hi all,
I am using paperclip plugin. when
I was trying to create custom view pages in ROR as seen
inhttp://blog.hulihanapplications.com/browse/view/55...
http://blog.hulihanapplications.com/browse/view/55-ruby-on-rails-multiple-model-form-generator
then i got some errors
**
(erb):6:in
On Tue, Oct 30, 2012 at 7:11 PM, vipin v. li...@ruby-forum.com wrote:
but now i have done it, so what is the solution??
will i never be able to run the app in server again??
create a new rails app and copy script/server?
--
Posted via http://www.ruby-forum.com/.
--
You received this
Il 29/10/12 17:14, Nomosyn ha scritto:
Hello !
ruby 1.9.2p323 (2012-05-22 revision 35755) [x86_64-darwin11.4.0]
Well... I get stuck on this error https://gist.github.com/3974521, and
don't know what to do with it...
Thank you for the hand !
maybe rows: 1, it isn't an option for text_field
Yes, it is only a text area option, and also the second parameter that a
text_field accepts it's the prompt value (default value) of the field, and
that second parameter needs to be a string.
*
Luis Va**sconcellos *|* *Web Developer at DTM
wblog: luisvasconcellos.com
twitter: @vasconcelloslf
On 30 October 2012 12:16, Tommaso Visconti tommaso.visco...@gmail.com wrote:
Il 30/10/12 12:12, Mauro ha scritto:
def update
if @unsafe_building.update_attributes(params[:company])
format.html { redirect_to @unsafe_building, notice:
t('flash.actions.update.notice') }
On Mon, Oct 29, 2012 at 4:17 PM, Lars lars...@gmail.com wrote:
Is there a way to add another field to a blog(i.e. another text field) using
database browser. I was able to make the changes using the Sqlite Database
Browser and saved but the changes didn't migrate over to my app.
The proper
Il 30/10/12 12:40, Mauro ha scritto:
Maybe you should pass model as argument?
t('flash.actions.update.notice', :model = @unsafe_building.class)
Yes, now model is passed but not translated.
Here:
submit:
create: 'Crea %{model}'
update: 'Aggiorna %{model}'
submit: 'Invia
Please paste the output of ruby script/server command
output is
vverma@l-vverma:~/myExp/tickets$ rails script/server
create
File exists - script/server
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
On 30 October 2012 11:51, vipin v. li...@ruby-forum.com wrote:
Please paste the output of ruby script/server command
output is
vverma@l-vverma:~/myExp/tickets$ rails script/server
create
File exists - script/server
That looks like the output from rails script/server not ruby
Hi all,
I read about Cofee Script.But i get confused .
Rails Community tells to use Cofee Script.
Q 1. Can one tell me Advantage of Cofeescript.
Q 2. I wish to use Ajax but should i use Jquery and CofeeScript.
Thanks
Regards
Fahim Babar Patel
--
You received this message because you are
Hello,
I have followed the rspec course on code-school.
Now I try to make it work on my own project.
Let's say I have this model :
class message ActiveRecord::Base
attr_accessible :bericht, :user
belongs_to :user
belongs_to :category
end
Now I try to make a test so I can
On Tue, Oct 30, 2012 at 6:29 AM, roelof rwob...@hotmail.com wrote:
I have followed the rspec course on code-school.
Now I try to make a test so I can verify that a message has a title and a
body.
How can I do this ?
I would suggest you use the rspec generators to create a model or
scaffold
I'm trying to set the session cookie secure flag to true. I added the
following to my environments/production.rb
ActionController::Base.session_options[:secure] = true
In the production mode I don't see the set-cookie header in the server
response (I'm using the Tamper Data Firefox tool to view
Thanks for the answer.
I will try to find out how this works. As far as I can find it this is not
covered in this code school course.
Roelof
Op dinsdag 30 oktober 2012 14:48:47 UTC+1 schreef Hassan Schroeder het
volgende:
On Tue, Oct 30, 2012 at 6:29 AM, roelof rwo...@hotmail.com
On Tuesday, October 30, 2012, Dmitry Maksyoma wrote:
Heroku is quite expensive,
Maybe if you have a large app, but it sounded like the app in question was
a typical small learner app. In that case, he can likely host it there for
free. Can't get much cheaper than that. ;-)
-Dave
--
Sent
Il 30/10/12 16:54, Dave Aronson ha scritto:
On Tuesday, October 30, 2012, Dmitry Maksyoma wrote:
Heroku is quite expensive,
Maybe if you have a large app, but it sounded like the app in question
was a typical small learner app. In that case, he can likely host it
there for free. Can't
On 30 October 2012 15:47, roelof rwob...@hotmail.com wrote:
Thanks for the answer.
I will try to find out how this works. As far as I can find it this is not
covered in this code school course.
Try railstutorial.org, which is free to use online. It gives a good
introduction to testing.
Colin
You can use the gem shoulda-matchers[1] to test it.
She works very well with rspec.
And it is very easy to test this.
With it you can test the attributes, calls from models and stuff ...
You can use the gem-rails factory-girl, best to test the interactions,
writing less and being more
I come across this method:
read(n=nil, buffer=nil) – read n bytes (or fewer, if EOF is reached),
blocking if necessary, until the bytes are ready.
What does it mean blocking if necessary? Blocking what?
--
You received this message because you are subscribed to the Google Groups Ruby
on
On 30 October 2012 16:20, John Merlino stoici...@aol.com wrote:
I come across this method:
read(n=nil, buffer=nil) – read n bytes (or fewer, if EOF is reached),
blocking if necessary, until the bytes are ready.
What does it mean blocking if necessary? Blocking what?
It means that if it is
I have been working in one application that don't have database and for
storage only use redis and I never tried before to run it in production
environment and o surprise the server is run but when try to load it
says ups something went wrong and in the log it says ActiveRecord no
conection
fahim patel wrote in post #1082003:
Hi all,
I read about Cofee Script.But i get confused .
Rails Community tells to use Cofee Script.
Q 1. Can one tell me Advantage of Cofeescript.
Q 2. I wish to use Ajax but should i use Jquery and CofeeScript.
1. CoffeeScript is just a language that
Issue solved with a little modification to application.rb changin
require rails/all for
require action_controller/railtie
require action_mailer/railtie
require active_resource/railtie
require rails/test_unit/railtie
require sprockets/railtie
and removing the white_list
and removing some lines
I intend to step out of the 'learner app' zone as quickly as I can :)
Thank you all
On Tuesday, October 30, 2012 6:00:21 PM UTC+2, Tommaso Visconti wrote:
Il 30/10/12 16:54, Dave Aronson ha scritto:
On Tuesday, October 30, 2012, Dmitry Maksyoma wrote:
Heroku is quite expensive,
I tried
ActionController::Base.session_options[:secure] = true
and the session cookie is not set at all. If I set it to false
everything works fine but if it's true the server never sets the cookie
even if the request is over https (although my understanding is that it
should set it anyway)
--
On Tue, Oct 30, 2012 at 10:54 AM, Dave Aronson
googlegroups2d...@davearonson.com wrote:
On Tuesday, October 30, 2012, Dmitry Maksyoma wrote:
Maybe if you have a large app, but it sounded like the app in question was a
typical small learner app. In that case, he can likely host it there for
60 matches
Mail list logo