Thiti Panya wrote:
Hello,
i want create web page for searching items in database. i try to run
code to find items in script/console it's work.but i have problem
about show results after find items in database finish. pls, explain
me what next step that i can do.
def search
@title =
Zhao Yi wrote:
When I run ruby script/server to start rails server, the current shell
will be blocked and all the output from rails will be written to the
current console. Does rails support a non-block mode and let the output
to be written to a specified log file?
Use the -d option with the
Hello all,
I'm using a form_remote_tag as:
% form_remote_tag(:update=statdiv,:url = {
:controller=:ticket,:action = :status }) do %
table width=100% height=100% class=loginbox
tr
td
E-mail
/td
td
%= text_field 'ticket', 'email' ,'id'='email' ,
Siddick Ebramsha wrote:
% myfile.each do |line| %
li %= line %/li
Solution :-
li %=h line % /li
% end%
/ul
Thank You...It worked..
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I think, the /ticket/status.rhtml contain a tag with the id as
statdiv.
Check-it-out.
--
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
Siddick Ebramsha wrote:
I think, the /ticket/status.rhtml contain a tag with the id as
statdiv.
Check-it-out.
Thanks for the reply.
I tried it but things are the same :(
The div does not get updated...
--
Posted via http://www.ruby-forum.com/.
Siddick Ebramsha wrote:
Zhao Yi wrote:
When I run ruby script/server to start rails server, the current shell
will be blocked and all the output from rails will be written to the
current console. Does rails support a non-block mode and let the output
to be written to a specified log file?
I am not Giving the correct solution, but it will work.
Solution :-
form_remote_tag(:update=statdiv,:url = {
:controller=test,:action = status }, :before =
$('statdiv').update(''); )
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received
The logs will be in the log/development.log file.
--
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
Siddick Ebramsha wrote:
I am not Giving the correct solution, but it will work.
Solution :-
form_remote_tag(:update=statdiv,:url = {
:controller=test,:action = status }, :before =
$('statdiv').update(''); )
Hey thank you so much for your solution but I got it working by:
%
Siddick Ebramsha wrote:
The logs will be in the log/development.log file.
Can I specify a log file?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
I have legacy database,
created ActiveRecord classes for each table.
Please, suggest. a plugin if it exists to just browse and view data in
that database.
Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because
On Mon, Mar 30, 2009 at 12:28 AM, Zhao Yi
rails-mailing-l...@andreas-s.netwrote:
Siddick Ebramsha wrote:
The logs will be in the log/development.log file.
Can I specify a log file?
Hi, you should be able to configure the log_path by adding it to the
initializer block in your
On Mac OS X I use XCode. It is quite good and free. Specifically,
you want to use the XCode Organizer Just launch XCode and rather
than create a project (which you don't need) go to the Window menu and
choose Organizer. Drag the root folder from your rails project into
the left outline pane
I just tried to setup ROR from scratch. I followed the instructions on
http://rubyonrails.org/download which is aptly titled to Get Ruby On
Rails in no time. However, I faced a couple of roadblocks along the
way to a successful installation.
To make a long story short: I had to manually find
For the record, I'm upgrading from 2.0.2
ActionMailer works great on 2.0.2.
I have a thank you email that I want sent as multipart mime so I have
thanks.text.plain.erb
and
thanks.text.html.erb
Then in my ActionMailer::Base subclass I have
def thanks(order)
recipients
On Mar 30, 6:53 am, vince stha...@gmail.com wrote:
Thanks Stu. The solution above works but I'm looking for a find
statement that will perform a single db query (like the SQL statement
I posted) versus performing multiple queries and adding them using
ruby. If a user has a hundred
thank you very much for your help. it's work
2009/3/30 Siddick Ebramsha rails-mailing-l...@andreas-s.net
Thiti Panya wrote:
Hello,
i want create web page for searching items in database. i try to run
code to find items in script/console it's work.but i have problem
about show results
Just in case you don't get any replies, try it out on a Linux virtual
machine (maybe virtualbox.org). Most of the howtos you find online are
OSX or Linux related and I've just found it easier to use Rails on
that platform.
Ramon Tayag
On Mon, Mar 30, 2009 at 11:34 AM, Alex
BTW, is there a way to find out what's going on at that line that's
taking a super long time with some kind of profiling software?
On Mar 30, 4:54 pm, David Beckwith dbitsoluti...@gmail.com wrote:
It took 4 seconds to get redirected to the show page. Is this a known
Ruby 1.9.1 or Rails 2.3.2
You can try the `active_scaffold` plugin.
Web Page : http://activescaffold.com/
--
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
i think you should add a record in you routes.rb file that includes
the page, for example:
map.connect 'archive/:id', :controller = 'articles', :action =
'list', :page = 1
map.connect 'archive/:id/:page', :controller = 'articles', :action =
'list'
these rows do on more thing, they change the
I forgot to mention that I am using Phusion Passenger.
On Mar 30, 4:54 pm, David Beckwith dbitsoluti...@gmail.com wrote:
It took 4 seconds to get redirected to the show page. Is this a known
Ruby 1.9.1 or Rails 2.3.2 issue?
Processing SitesController#create (for 127.0.0.1 at 2009-03-30
Is possible to assign a observe_field to an array of habtm checkboxes?
right now, every checkboxes has id like customer[tiprod_ids][] , but
if i create an observe field to check that id, only the first one works,
the other not :-(.
someone can help me?
--
Posted via http://www.ruby-forum.com/.
Oh I think it's cuz im calling a generator after the create method
executes.
On Mar 30, 4:54 pm, David Beckwith dbitsoluti...@gmail.com wrote:
It took 4 seconds to get redirected to the show page. Is this a known
Ruby 1.9.1 or Rails 2.3.2 issue?
Processing SitesController#create (for
On Sun, Mar 29, 2009 at 3:03 AM, Aldo Italo
rails-mailing-l...@andreas-s.net wrote:
i have noted a problem in will_paginate :
In a pagination, when go to pages geather than 1 value thath' ok, but if
you back to page 1 in the URL appear the parameter page=1
this is bad for seo optimization,
Hi,
I'm having a search form which renders a table of search results.
The search box is doing an ajax call.
In my search results, i've JQuery scripts written for sorting and
pagination and some other operations that i do with the table.
The issue is, I'm not able to have ajax and jquery calls
my routes.rb have prior this question the path configured with
/myaction/:page_id
but this don't change logical point view of search engine:
it view however a different url betwen .../mypage and .../mypage/1
i think the logical used by will_paginate for redisplay first page is
mistaken,
On Mon, Mar 30, 2009 at 2:26 AM, David Beckwith dbitsoluti...@gmail.comwrote:
I forgot to mention that I am using Phusion Passenger.
What version of Phusion Passenger are you using?
-Conrad
On Mar 30, 4:54 pm, David Beckwith dbitsoluti...@gmail.com wrote:
It took 4 seconds to get
Dear All,
How to export a dataset to PDF file. I wrote the following code for
exporting a dataset to pdf file. I want the column name and column
seperators(leave space for each column),Please find the attatched file,
i want to seperate the values as explaned.How the same will be applied
in
of course there shouldn't be 2 identical pages with different url...
do you have also:
/myaction, :page = 1
in my app i have both lines:
/myaction, :page = 1
/myaction/:page_id
and wiil_paginate have no problem setting the right link for the first
page.
On Mar 30, 1:55 pm, Aldo Italo
Preethi Sivakumar wrote:
Hi,
I'm having a search form which renders a table of search results.
The search box is doing an ajax call.
In my search results, i've JQuery scripts written for sorting and
pagination and some other operations that i do with the table.
The issue is, I'm not
http://guides.rubyonrails.org/ is good, check it out
Regards,
Vimal Das
--~--~-~--~~~---~--~~
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
Dharmdip Rathod wrote:
jQuery.noConflict();
jQuery(document).ready(function($){
});
write this in javascript file from where you are callin function.
Thanks Raghod :)
I've added jQuery.noConflice(); in my application.html.erb
and
the second chunk of code is added in my file where i'm
Good !
--
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
One more point for TextMate. Quite clean and lightweight.
A few colleagues of mine are using MacVIM and they were using TextMate
before that.
See ya
Eric Fer
On Mar 28, 7:30 pm, zensuite zen.su...@gmail.com wrote:
Hi everybody, I'm a web developer interested on moving to rubyonrails
…
Inside the Alt Tag
There is no such thing. Once again: alt is the attribute.
There are elements, tags, and attributes. They mean different things.
Notice the additional attribute--alt. What does the alt attribute or tag
do? Hover your mouse over the image to the left. Do you see the
I'll have a look at it, thank you very much for your response!
On 27 mar, 20:33, Andrew awa...@gmail.com wrote:
I've never used them before, but you can look into using Rails Engines
The engines plugin enhances Rails’ own plugin framework, making it
simple to share controllers, helpers,
It took 4 seconds to get redirected to the show page. Is this a known
Ruby 1.9.1 or Rails 2.3.2 issue?
Processing SitesController#create (for 127.0.0.1 at 2009-03-30
16:48:04) [POST]
Parameters:
{authenticity_token=UHSYgtPzfTEAHAqsqTVYWzFOeM7bSh6mUkgvZFY96CQ=,
site={url=local.test2,
Preethi Sivakumar wrote:
Dharmdip Rathod wrote:
jQuery.noConflict();
jQuery(document).ready(function($){
});
write this in javascript file from where you are callin function.
Thanks Raghod :)
I've added jQuery.noConflice(); in my application.html.erb
and
the second chunk of code is
Hi,
This is Ravindra. I am from Hyderabad. Can any one please suggest me any
institute to learn Ruby Rails or any Tutorials.
Thanking You,
Ravindra.k
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
Colin Law wrote:
Why do you want to put a controller in the lib folder? That is what the
controllers folder is for.
2009/3/27 Alex afolgue...@gmail.com
You could create a plugin that defines controllers, models, etc so that
you can more easily share code amongst various apps. I saw that
When running production mode on Windows 2003 using Apache and a proxy
balancer mod and mod_rewrite to redirect to the mongrel instances, I
sometimes get a Proxy Error thrown from Apache.
Setup is done according to this guide:
Has anyone got any experience with pageview counters and can you tell me
if a factor 10 difference is acceptable? Because to me it seems it is
quite a big and unreliable difference.
Do you filter bots and spiders? Because they visit very often websites.
Maybe google filters them and you
Got Google Analytics running on one of my websites. Google defines a
pageview as the most occuring event. Every refresh, every link clicked
to a different part of the page, even loading from cache is an
additional pageview
http://www.google.com/support/analytics/bin/answer.py?hl=enanswer=57164
On Mon, Mar 30, 2009 at 8:27 AM, Chris Dekker
rails-mailing-l...@andreas-s.net wrote:
Has anyone got any experience with pageview counters and can you tell me
if a factor 10 difference is acceptable? Because to me it seems it is
quite a big and unreliable difference.
I found the same thing.
On Sat, Mar 28, 2009 at 12:55 PM, Fernando Perez
rails-mailing-l...@andreas-s.net wrote:
Someone on a Textmate list would probably know.
I'm surprised that no one in this list didn't already run into this
issue.
Not all Rails users are Textmate users. Most of the Rails developers
I know in
On Sun, Mar 29, 2009 at 10:22 PM, ChandleWEi chandle@gmail.com wrote:
Where can find open source rails forum code?
I found Beast but Beast maybe close or not update for long time.
Where can I find some good forum I can use
http://github.com/courtenay/altered_beast/tree/master
--
Refer the following link :
http://www.artima.com/rubycs/articles/pdf_writer4.html
--
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
Look in Preferences Advanced Folder References.
There is a sexy regular expression for Folder Pattern... which you
can modify to include the directories you want to ignore. I don't
ignore 'spec', because I tend to jump to those files a lot. However, I
do block 'vendor'. This also impacts your
Is it not that GA only reports hits where the user has allowed his browser
to send data to Google? I for example definitely do not want google knowing
what I do so have disabled this. Or am I misunderstanding something?
Colin
2009/3/30 Greg Donald gdon...@gmail.com
On Mon, Mar 30, 2009 at
In my controller i am doing these querys.
Query 1
astock = MyStock.find(:first,:select = Symbol, :conditions
=[user_id = ?, session[:idnum]])
im wanting to find all the rows from my stock with that particular id.
this works fine.
i then do a second query
Query 2
@stocks_load =
2009/3/30 Nick Hoyle rails-mailing-l...@andreas-s.net
In my controller i am doing these querys.
Query 1
astock = MyStock.find(:first,:select = Symbol, :conditions
=[user_id = ?, session[:idnum]])
im wanting to find all the rows from my stock with that particular id.
this works fine.
I
If you mean that it does not work if you do query 2 first, it may be
because
astock has not been found yet. If you mean it does not work if the
query 1
is find(:all,..) then astock will be a collection so astock.Symbol is
not
valid. astock[0].Symbol might be, for example.
thanks
Hi Tam,
On Mon, 2009-03-30 at 06:21 +0200, Tam Kbe wrote:
Hello,
I have a form on my page that is popup-like but actually part of the
page. it works fine as I used in other page. In order to close it after
submission. I do something like
respond_to do|wants|
wants.js
You can use astock.each or other methods to iterate the collection, but I
think maybe I do not understand what you are trying to achieve.
2009/3/30 Nick Hoyle rails-mailing-l...@andreas-s.net
If you mean that it does not work if you do query 2 first, it may be
because
astock has not
Thanks Guillaume, you're terrific !
On Mar 25, 5:27 pm, Guillaume Desrat guillaume.des...@rubyfrance.org
wrote:
Hi,
I think I've found where the problem is.
In the file lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.9.1/lib/
jdbc_adapter/jdbc_oracle.rb, there's this :
module JdbcSpec
Forget about how you have done it so far for the moment. Is it possible to
write out in one sentence what you want you want @stocks_load to contain?
Find all the stocks where .
2009/3/30 Nick Hoyle rails-mailing-l...@andreas-s.net
Colin Law wrote:
You can use astock.each or other
Colin Law wrote:
Forget about how you have done it so far for the moment. Is it possible
to
write out in one sentence what you want you want @stocks_load to
contain?
Find all the stocks where .
2009/3/30 Nick Hoyle rails-mailing-l...@andreas-s.net
find all stocks from stocks table
Is there any relationship between the Stocks table and the MyStocks table?
2009/3/30 Nick Hoyle rails-mailing-l...@andreas-s.net
Colin Law wrote:
Forget about how you have done it so far for the moment. Is it possible
to
write out in one sentence what you want you want @stocks_load to
Colin Law wrote:
You can use astock.each or other methods to iterate the collection, but
I
think maybe I do not understand what you are trying to achieve.
2009/3/30 Nick Hoyle rails-mailing-l...@andreas-s.net
In the first query i am getting all the symbols for stocks where the
user id is
Is it possible to print existing pdf documents (located server side)
directly to a client printer without using a viewer? Scenario: I
have a list of reports on page where the client can check which
reports they would like printed. Ideally, the print command would
send all the selected reports
Hello,
I have the following Problem: On my site I'd like to have different
sections like Community, Shop, etc to be accessed via domain.tld/
Community/Controller/... Its all in the same app and I am using
restful Routes and Controllers. Is there a clean way to handle that
with restful routes?
I
Colin Law wrote:
Is there any relationship between the Stocks table and the MyStocks
table?
2009/3/30 Nick Hoyle rails-mailing-l...@andreas-s.net
yeah user_id in mystocks relates to the id in a table called users
--
Posted via http://www.ruby-forum.com/.
On Wed, Mar 25, 2009 at 10:27 AM, Guillaume Desrat
guillaume.des...@rubyfrance.org wrote:
Hi,
I think I've found where the problem is.
In the file lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.9.1/lib/
jdbc_adapter/jdbc_oracle.rb, there's this :
module JdbcSpec
...
module Column
Sorry, I have lost track of the tables. Is there a Stocks table and a
Mystocks table and a Users table, or just a Stocks table and a Users table?
2009/3/30 Nick Hoyle rails-mailing-l...@andreas-s.net
Colin Law wrote:
Is there any relationship between the Stocks table and the MyStocks
Colin Law wrote:
Sorry, I have lost track of the tables. Is there a Stocks table and a
Mystocks table and a Users table, or just a Stocks table and a Users
table?
2009/3/30 Nick Hoyle rails-mailing-l...@andreas-s.net
My stocks table which stores the stocks a particular user has, stocks
I've been faced the the following symptoms for some time.
I have links coded as :post or :put, so I can make sure that bots
aren't hitting particular links.
But it something is either hitting them as :get through an error I've
made (like link_to not working well in some browsers?), or
Richie wrote:
Had a read through that but couldn't find anything about what's
happening here, thanks for posting appreciated. I'm thinking of just
starting the app again in rails 2.2.2 it would only take 30 mins to
get where I'm at, at least then I could follow the tutorial in the
book and
On Mar 29, 1:59 pm, derm_w dermotw...@eircom.net wrote:
Hi all.
I'm new to rails and am learning my way by putting together a simple
app.
Many thanks Wouter for your reply.
I've now got this:-
def show
@album = Album.find(params[:id])
unless @album
Cool, lighthouse seems down at the moment so I can't check the tickets,
and I cannot update my gems either because gems.github.com is timing out
too.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are
Derm -
On 30-Mar-09, at 12:11 PM, derm_w wrote:
On Mar 29, 1:59 pm, derm_w dermotw...@eircom.net wrote:
Hi all.
I'm new to rails and am learning my way by putting together a simple
app.
Many thanks Wouter for your reply.
I've now got this:-
def show
@album =
I wonder what's amiss?
Dermot.
You don't read our posts... Use find_by_id or begin...rescue to trap the
error. Enough now!
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I know it is not the question you want the answer to but I feel there is
something not right about the database organisation. Warning bells ring when
you say that you have stocks in two tables. If changing the database
organisation is an option then I would suggest considering whether you would
Hi,
When running in development mode, I have some model methods that I
call via cron + script/runner. These were nicely writing information
to the log file as a record of activity.
However, in production mode, when calling model methods from script/
runner or script/console, nothing is added
I've updated rails to 2.3.2, should I update ruby to 1.9?
What are the advantages/disadvantages in doing so?
I'm on os x.
thanks
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi Ed,
On Mon, 2009-03-30 at 08:14 -0700, EdTaupier wrote:
Is it possible to print existing pdf documents (located server side)
directly to a client printer without using a viewer?
In a word, no. At least not to my knowledge. It's a security thing.
Otherwise I could, knowing the address
Thank you Jodi and Fernando.
Kind regards,
Dermot.
--~--~-~--~~~---~--~~
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
yeah, I understand the network restrictions, etc. so I figured there
wasn't any direct, easy way. Could it be possible to tie in the
printing of these reports to the standard browser print function? I
guess the main point of interest for me is to not have to display all
the reports before
Todd Blanchard wrote:
On Mac OS X I use XCode. It is quite good and free. Specifically,
you want to use the XCode Organizer Just launch XCode and rather
than create a project (which you don't need) go to the Window menu and
choose Organizer.
[...]
Thanks; I'll try this! I've really
On Mar 30, 4:09 pm, Jodi Showers j...@homestars.com wrote:
I've been faced the the following symptoms for some time.
I have links coded as :post or :put, so I can make sure that bots
aren't hitting particular links.
But it something is either hitting them as :get through an error I've
I have a rails application that patches ActiveRecord with a hand-coded
validator.
The patch is made by adding the following lines in config/
environment.rb
Rails::Initializer.run do |config|
...
end
class ActiveRecord::Base
include MtLib::DBValidations
end
This works fine in production
On Mar 30, 6:20 pm, sweet61 st...@weet.demon.co.uk wrote:
The error thrown is
ArgumentError (A copy of MtLib::DBValidations has been removed
from
the module tree but is still active!):
My question is what is the process that is followed when cache_class
is set to false. Does
On Mar 30, 5:49 pm, Connor Batman rails-mailing-l...@andreas-s.net
wrote:
I've updated rails to 2.3.2, should I update ruby to 1.9?
What are the advantages/disadvantages in doing so?
Ruby 1.9 is the new kid on the block. It's where the future of ruby is
headed and at a basic level is faster
On Mon, 2009-03-30 at 10:12 -0700, EdTaupier wrote:
yeah, I understand the network restrictions, etc. so I figured there
wasn't any direct, easy way. Could it be possible to tie in the
printing of these reports to the standard browser print function?
body onload=window.print()
I
guess the
Why are you expecting a rails plugin to provide an xhtml navigation
menu? Why not just implement the drop down menu using simply xhtml
(lists) and css?
Try this:
http://www.lwis.net/free-css-drop-down-menu/
Specifically:
http://www.lwis.net/free-css-drop-down-menu/dropdown.ultimate.linear.html
I feared you might say that! lol i think i might to go back to the
drawing!
Thanks again for your time and help!
Much Appreciated
Nick
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Thanks Frederick,
That worked perfectly. I modified environment.rb as follows :-
config.load_paths += %W( #{RAILS_ROOT}/lib/soap_clients/company #
{RAILS_ROOT}/lib/mt_lib)
# Make sure load_once_paths is a subset of load_paths
config.load_once_paths += %W( #{RAILS_ROOT}/lib/mt_lib)
On Mar
Those instructions you linked to aren't platform specific. To install
Rails on Windows, try the steps outlined in the first section of this
article:
http://www.smashingmagazine.com/2009/03/27/ultimate-beginners-guide-to-ruby-on-rails/
--~--~-~--~~~---~--~~
You
Colin Law wrote:
I know it is not the question you want the answer to but I feel there is
something not right about the database organisation. Warning bells ring
when
you say that you have stocks in two tables.
Bells of all sorts...
Users may have multiple lots of the same stock purchased
Hi, I'm puzzled by the next.
I have messages that have attachments.
I have an index action for the attachments where I list all the
attachments that a message has. From the same index page I can also add
new attachments to that message.
For that I've been using the next form
%
This is very frustrating. I am defining a layout for my
AdminsController class index action which is as follows:
class AdminsController ApplicationController
before_filter :signal_child_menu
#current_tab :admin
def index
@child_menu = true
@search_field = name
@crust_types
On Mar 30, 11:43 am, Bharat Ruparel rails-mailing-l...@andreas-s.net
wrote:
What is it that I am missing here?
%= render :file = layouts/application %
That comports with your error, right? Seems too simple of a solution,
but keep in mind that the application layout will be used
automatically
Hilo. I'm trying to build an app with TDD, but my first functional test
is a mess. The example from the book fails, and I haven't found any
information on this issue. When I run my test, it throws:
Eric wrote:
On Mar 30, 11:43�am, Bharat Ruparel rails-mailing-l...@andreas-s.net
wrote:
What is it that I am missing here?
%= render :file = layouts/application %
That comports with your error, right? Seems too simple of a solution,
but keep in mind that the application layout will be
I have a Photo model (below) and as you can see I create some
thumbnails. However I want to create a proportionally thymbnail, which
basically will be a cropped version, so that the thumbnail will be a
perfect square.
I use attachment_fu and ImageScience to handle photo uploads. Can
anyone help
On Mar 30, 7:58 pm, Cameron Carroll rails-mailing-l...@andreas-s.net
wrote:
Hilo. I'm trying to build an app with TDD, but my first functional test
is a mess. The example from the book fails, and I haven't found any
information on this issue. When I run my test, it throws:
In my create.js.erb view I am creating a new model in the view. On
creation I want to have the appended partial in the dom and
selectable
so I can click it's name and run the plugin REST in place with
Jquery.
#create.js.erb
$(#new_show).before('div id=flash_notice%= escape_javascript
Sorry Frederick. This issue is partly resolved but not quite.
The problem I think is that I am patching ActiveRecord during
initialization. I have stopped my validation code from being unloaded,
however when activerecord is reloaded, or particularly my models then
they are no longer patched.
Hi, I don't understand how we can just call 'logger' from any method,
but when using observers we have to have it attached to some kind of
object (usually the model of the object being observed). Why is that?
What is logger exactly?
--
Posted via http://www.ruby-forum.com/.
1 - 100 of 151 matches
Mail list logo