There are at least 4 different ways that I'm familiar with and tons of
resources to help you execute the way that works best for you. Here's the
ones I've learned from researching:
1. Approach 1 - CDN based inclusion in header
- You can include it just as a link on the html pages you want
th too many assumptions and not
> enough explanation. But nothing substitutes good old fashioned trial &
> error.
>
>
> Finally, I would strongly recommend you start with a solid foundation of
> Ruby, as I know many people who tried to learn Rails before Ruby and got
>
You just hit everything that I was trying to figure out and then some. This is
what I’ve been needing to know(I can’t be certain of the that). Last question,
how did you figure that out?; because that’s where this is kind of
embarrassing, that I’ve held out to ask this for so long for fear. I’m
Genuinely, I thank both of you for your insights. Without stretching this
thread out any more, I want to figure out one last concept.
Form data, based on what was mentioned above, is it that the headers dictate
what is passed on as data to be persisted? Like where in the chain of events
does
Hello to All,
I'm trying to understand something that I seem to get lost on, which
is how exactly does Javascript communicate with Rails? I understand how to
make it work, I can even make a React front-end and Rails API work
together. But I feel like I am missing something fundamental when
At my company I have it set up via an apache module which intercepts every
request for authentication and it redirects back with headers like SM_USER
Sent from my iPhone
On Aug 24, 2013, at 3:35 PM, Les Hartzman lhartz...@gmail.com wrote:
Hello,
I'm new to RoR and am wondering what has to
On Thu, Oct 4, 2012 at 2:52 PM, Richard McKenna
richarddmcke...@gmail.com wrote:
Hi all,
I'm just stepping into the what seems the wonderful world of Ruby/Rails and
was just looking for some recommendations for reading materials, resources
etc.
I am currently watching the Ruby Essential
this:
redirect_to suppliers_path, :success = 'Supplier was successfully created.' }
- Noel
--
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 email
the encoding and no matter
which I select I can't get the text to render correctly.
Also, why would it render correctly on the console?
Thanks,
Noel
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email
created.' }
Thanks Tim, I didn't get that from the code.
When I used redirect_to I was expecting
redirect_to suppliers_path, :whatever
would produce flash[:whatever]
At least this is a good workaround for me.
- Noel
--
You received this message because you are subscribed to the Google Groups
On Sat, Feb 18, 2012 at 9:51 AM, Danimal fightonfightw...@gmail.com wrote:
Hi all!
I'm wondering if there is any elegant way to have some gems locally in
a rails 3.2 + ruby 1.9 project but not have them in the Gemfile and
therefore not in source control.
The reason is very similar to this:
On Tue, Feb 14, 2012 at 4:01 PM, Jeff Kyzer kyzer...@gmail.com wrote:
Hello
So i am trying to learn Ruby and Rails. My biggest problem right now
is my platform.
Any good setup for ruby on rails for windows? or would it just be
easier to put unix/lynics on my computer.
My other question
On Mon, Feb 13, 2012 at 9:47 AM, Andrew misbehav...@gmail.com wrote:
Hello,
My boss is really pushing us to switch to using Database.com for our
database. He seems to think it's the solution to every problem we've never
had. I've never worked with it before, so I don't know how it compares to
On Thu, Feb 9, 2012 at 7:59 PM, Manoj W. li...@ruby-forum.com wrote:
Hi,
I am new to Rails and am following Rails tutorials by Michael Hartl and
Rails guides. I have deployed an app to Heroku, but I get this error
while trying to access it (from heroku logs) -
Completed 500 Internal Server
In 3.2 you can define .railsrc with custom command line options that will
always apply to rails new
Sent from my iPhone
On Jan 22, 2012, at 8:01 PM, Norm Scherer normsche...@earthlink.net wrote:
On 01/22/2012 06:16 PM, Felipe Pieretti Umpierre wrote:
Ok, but how I can make the mysql be
Hola a todos, me gustaria saber de que forma puedo ejecutar el codigo
que tengo en una accion de forma automatica.
Me explico mejor:
Yo tengo un codigo que actualiza tablas de una base de datos con datos
de otra, eso lo tengo hecho en Ruby on Rails con una accion de una vista
pero me gustaria
On Thu, Oct 20, 2011 at 8:20 AM, genterminl
ostrof...@users.sourceforge.net wrote:
Tim,
Thanks. That looks like exactly what I need to get started. I'm simply not
familiar enough yet with ruby or rails to have come up with that from
scratch myself, but I can certainly use it and modify it
Remco Swoany wrote in post #1025137:
tried this:
f.inputs Appartment Details do
f.input :assets do |asset_fields|
asset_fields.file_field.input :asset, :as = :file
end
end
there is no upload button available. What i am doing wrong?
Grtz..Swoany
Hi, were you
Railsbridge had a project/site for this. Not sure if they r still active.
Sent from my iPhone
On Sep 26, 2011, at 5:00 AM, Nicolas M. li...@ruby-forum.com wrote:
Hi,
Do you know the existence of networks of volunteers in the ruby on rails
community willing to be involved or being consulted
have u tried the latest railsinstaller?
On Tue, Sep 13, 2011 at 4:27 AM, Lee sorlo...@gmail.com wrote:
Hi, I installed railsinstaller.
and ...
rails s
TCPServer Error: Permission denied - bind(2)
Exiting
C:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/utils.rb:73:in
%= f.label My label %br /
On Sun, Aug 28, 2011 at 10:01 AM, Pepe Sanchez li...@ruby-forum.com wrote:
Hi,
Instead of having on the labels the field name I would like to change it
some customized values.
How can I change that ?
Regards
%= form_for(@client_workout) do |f| %
div
you can do
myfile.js.coffee.erb
first it will be processed by ERB then CoffeeScript
On Thu, Aug 4, 2011 at 4:59 AM, robertj rob...@robkuz.com wrote:
Hi,
apart from the fact, that it might not be a good idea in terms of
performance ...
Is it possible? I am trying the same.
Best regards
sorry, had not read the full original post
On Thu, Aug 4, 2011 at 5:32 AM, Noel wwydi...@gmail.com wrote:
you can do
myfile.js.coffee.erb
first it will be processed by ERB then CoffeeScript
On Thu, Aug 4, 2011 at 4:59 AM, robertj rob...@robkuz.com wrote:
Hi,
apart from the fact
better to post the code here
gist.github.com
On Fri, Jul 15, 2011 at 10:50 AM, Jen jen.bot...@gmail.com wrote:
Hi,
I am trying to code a simple search, that will search my database for
something like what ever the user enters.
I can get the form to render ok, but am having some problems
On Thu, Jul 14, 2011 at 5:18 AM, Simbolla vinod...@gmail.com wrote:
Hi All,
I am Vinod , new learner of Ruby on rails , i just followed the steps
given in the Getting started with Rails in rubyguides , in that i am
facing some wiard issue..
that is When i click on the Destroy link in show
Sent from my iPhone
On Jul 8, 2011, at 12:52 PM, Conrad Taylor conra...@gmail.com wrote:
On Fri, Jul 8, 2011 at 12:29 PM, bertly_the_coder much...@gmail.com wrote:
Hi guys,
I have a location sensitive application where clients enter their
zipcodes when signing up. Is there any tool out
it sounds like users can only create sites to their own customer
records. This is authorization and can do handled with something like
the cancan gem.
On Thu, Jul 7, 2011 at 5:36 AM, paulo paul.a.taylo...@gmail.com wrote:
Hi folks,
I've done this a few ways that have all seemed a bit
try
git commit -m Initial.
On Thu, Jun 30, 2011 at 1:38 PM, frandan...@gmail.com
frandan...@gmail.com wrote:
That did it. Thanks.
New problem...
C:\Sites\ridemogit init
Initialized empty Git repository in C:/Sites/ridemo/.git/
C:\Sites\ridemogit add .
C:\Sites\ridemogit commit Initial.
I think the problem is that you dont have :culture_id = in the
Picture model. Is that right?
On Tue, Jun 14, 2011 at 7:19 AM, Yennie joanne0...@gmail.com wrote:
Hi all,
I have an error which said undefined method culture_id
but in the DB, it contains culture_id in user table..
does
user_instance.culture_id
return something?
try doing the Picture query by putting in the culture_id yourself.
maybe you dont have a picture with that culture_id
Picture.where(:album_id = :album, :culture_id =3).first
On Tue, Jun 14, 2011 at 11:26 AM, joanne ta joanne0...@gmail.com wrote:
There's probably going to be lots more pain related to any gems used
in that app.
All in all seems like about time that app get some serious love and
get updated at least to Rails 2.3 Ruby 1.8.7
On Fri, Jun 3, 2011 at 11:49 AM, gnarmis g13si...@gmail.com wrote:
After using RVM with ruby
is not rails 3. You should find what
version of rails you are using because something like routing differs.
-Noel
--
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
found the problem.
There can't be any blank lines in the manifest
https://github.com/noel/happy/blob/master/app/assets/javascripts/application.js#L8-10
Is this a bug or should the text in the generated file be more explicit?
On Sun, May 29, 2011 at 8:19 AM, noel_g wwydi...@gmail.com wrote
Hi,
I have stumbled across an issue using ruby, I want to put 105°C into a
text box using ruby however instead of that it is inputting 105 °C. Can
anybody explain a way around this problem?
Cheers,
Noel
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
Hi Peter,
Thanks for the help, so is it a problem in the browser or problem with
ruby?
I can manually type 105°C and it works fine.
Regards,
Noel
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group
Do you have to use an activeRecord object for div_for?
Perhaps I'm taking the wrong approach for dynamic divs
so far my education:
1. id= , is fine for just one div and prototype activity in an RJS (I
got this to work)
2. class= , another option, but I don't see how it can be used
3. div_for ,
the code is here
http://pastie.org/472556
and here
http://pastie.org/472563
sorry about the extra bits
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Scenario:
I'm creating an image file upload service for my web site.
As well as saving the actual file I also need to create a database
record for the file.
I would like to name the file after the record id, but I also need to
save some attributes of the image (width/height/mime_type etc)
OK - my bad. All works OK, can't explain how I made this mistake but it
seems it was working all along.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Platform = Linux and Mongrel
I'm using send_file to send images from a controller. like this:
send_file( @content.location, :disposition = 'inline', :type =
File.mime_type?(@content.location)) # mime_type? courtesy of mimetype_fu
This is called for in an ordinary img tag.
It all works
Mark Reginald James wrote:
Noel Walters wrote:
If you right click on the image in IE7 and choose Save Image As... the
file save dialog always defaults the filename to untitled.bmp.
Try using send_file's :filename option.
--
Rails Wheels - Find Plugins, List Sell Plugins -
http
brady8 wrote:
Your other solution that should work is to set the header directly
that IE is parsing, Content-Disposition.
i.e.:
headers['Content-Disposition'] = inline; filename=\ + @filename +
\
-Brady
[EMAIL PROTECTED]
On Sep 16, 12:28�pm, Noel Walters [EMAIL PROTECTED]
Thanks
42 matches
Mail list logo